LocalAI
Self-hosted, OpenAI-compatible AI server — run LLMs, image, audio and video models on your own hardware, GPU optional
LocalAI is a self-hosted drop-in replacement for the OpenAI API that runs on your own hardware, with no GPU required (GPUs are used when available). One server covers text generation, embeddings, image and video generation, speech-to-text, text-to-speech and vision, all behind OpenAI-compatible endpoints; it also speaks the Anthropic and ElevenLabs API formats and the Responses API, and can run agents that use MCP tools. Deploy it with a single Docker command or a binary. MIT licensed. Ideal for teams that want to keep their whole AI stack and data in-house. Works well with: MCP (agent tools) · Dify (as a model provider) · Docker/Kubernetes
When to use
- You need a drop-in replacement for the OpenAI API on your own infrastructure
- You want one server for several model types (text, image, audio, video)
When not to use
- You only need to run one model simply — Ollama is simpler
- You need maximum serving throughput — vLLM fits better
At a glance
- Pricing
- Free
- Deployment
- Self-hosted
- Difficulty
- Intermediate
- License
- MIT
- Languages
- go
- Use cases
- openai compatible local, multi modal inference, privacy first ai
- Last verified
- 2026-10-22 (official documentation)
Works well with
Alternatives in this category
See all 4 tools in AI Infrastructure — Model Serving & Deployment →