LocalAI
Make AI run on every machine
LocalAI is an open source, MIT-licensed AI runtime that runs text, voice, vision, image, video, 3D and agent workloads locally on hardware you own, keeping data on your own machines. It exposes an OpenAI-compatible API as a drop-in replacement for upstream services, and also speaks the Anthropic, Ollama and ElevenLabs APIs, so existing clients typically need only a URL change. It supports CPU-only operation alongside GPU acceleration across x86_64, ARM64, CUDA, ROCm, SYCL, Metal and Vulkan.
The runtime uses swappable inference backends including llama.cpp, vLLM, SGLang and MLX, selected per model through configuration. Capabilities include reasoning and tool calling, realtime voice over WebRTC with transcription, diarization and speech synthesis, vision and detection, image, video and music generation, and agents with MCP, skills and RAG. A model gallery offers one-click local installation, and distributed mode adds smart routing, VRAM-aware placement, autoscaling and failover across multiple machines. APEX quantization builds reduce model size for consumer hardware.
LocalAI is aimed at developers and teams wanting to run AI on their own infrastructure, from laptops to multi-machine GPU setups. It is packaged as open source software under the MIT license, with a core binary that pulls backends in as needed.
12 alternatives to LocalAI
Ranked by how well each tool replaces LocalAI: shared features, audience, price and popularity.
Cloud platform for running open-source machine learning models via API
Covers 4 of 15 key features and has a free plan.
Free planOpen source65 out of 100 matchUsage-basedBuilding AGI with our mission: Intelligence with Everyone. Global leader in multi-modal AI
Covers 8 of 15 key features.
Open source65 out of 100 match$5/moThe open source AI gateway
Covers 4 of 15 key features and has a free plan.
Free planOpen source64 out of 100 match$20/moAn API for open models, usable locally or in the cloud
Covers 1 of 15 key features and has a free plan.
Free planOpen source64 out of 100 match$100/mo- 63 out of 100 matchFree
- 63 out of 100 matchUsage-based
The AI community building the future
Covers 0 of 15 key features and has a free plan.
Free plan63 out of 100 match$9/moOpenAI's API provides access to GPT models for natural language, coding, image generation,
Covers 4 of 15 key features.
62 out of 100 match—Open, transparent AI for real world impact. Built for developers, creators, and teams.
Covers 4 of 15 key features.
Open source62 out of 100 match—AI Systems Built for the Enterprise
Covers 1 of 15 key features and has a free plan.
Free plan62 out of 100 matchUsage-basedExplore Our Latest Research in Science and AI.
Covers 4 of 15 key features and has a free plan.
Free plan62 out of 100 matchFree