Skip to main content
Local Inference & ServingLocal-first

LocalAI

mudler / LocalAI

A local OpenAI-compatible API supporting text, image and speech backends.

50.4k stars 4617 forks Go Language MIT License Last push 2026-11-18

Why choose it

  • One API surface across several modalities.
  • Can run without a GPU for small models.
  • Drop-in shape for OpenAI-style clients.

Not for

You need the fastest text-only serving engine.
You want a managed multi-tenant platform.

Minimum setup

  1. Start the server with one text model.
  2. Call the chat endpoint from an OpenAI client.
  3. Add one image or speech backend and check memory.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is MIT; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • Ollama — Start here,Pull and run local models with one command, with a built-in model library and an OpenAI-compatible API.
  • llama.cpp — Local-first,A C/C++ inference engine that runs on CPUs, Apple Silicon and consumer GPUs, with a wide range of quantisation formats.
  • Text Generation WebUI — Local-first,A local LLM web UI supporting llama.cpp, Transformers and ExLlama backends, with model loading, chat and extensions on one page.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.