# mudler/LocalAI

LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.

Repository: https://github.com/mudler/LocalAI
Canonical: https://ross.abutalabs.com/products/localai
Homepage: https://localai.io
Language: Go
License: MIT
License Family: permissive
Topics: llama, ai, llm, stable-diffusion, api, tts, musicgen, mamba, audio-generation, image-generation, text-generation, rerank, distributed, libp2p, decentralized, object-detection, mcp, agents
Last push: 2026-08-26T22:18:18+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 90
- inputs: {"age_days": 1264, "days_push": 7, "days_rel": 13, "gap_med": 2.0, "n_releases_24m": 77}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 48696, forks 4393 (observed 2026-08-28T04:12:11.506828+00:00)

## What it is
LocalAI is an open-source, self-hosted AI inference runtime that runs LLMs, vision, speech, image, and video models behind OpenAI/Anthropic/ElevenLabs-compatible APIs on any hardware, including CPU-only machines. It uses a small core with swappable backends (llama.cpp, vLLM, whisper.cpp, stable-diffusion, MLX) pulled on demand, plus built-in agents, RAG, and MCP support.

## Use cases
- run llm locally without gpu
- self-hosted openai api replacement
- serve whisper transcription on my own server
- generate images with stable diffusion locally
- local text to speech with voice cloning
- run ai agents with tools and rag on-premise
- drop-in openai compatible endpoint for existing apps
- private ai inference that keeps data on my infrastructure

## When to choose
- you need OpenAI-compatible APIs but want models running on your own hardware
- you have no GPU or mixed hardware (CPU, Apple Silicon, AMD, Intel, NVIDIA)
- you want one runtime serving text, vision, speech, and image models
- privacy requires that data never leaves your infrastructure
- you want built-in agents, RAG, and MCP without extra services

## When to avoid
- you need maximum single-model throughput from a dedicated vLLM/TensorRT deployment
- you only use one cloud-hosted model and don't need self-hosting
- you need managed scaling and zero ops responsibility
- your stack depends on provider-specific features not covered by the compatible APIs

## Facets
- artifact type: service
- maturity: active
- function: llm-inference, http-server, api-framework, tts, speech-recognition, image-processing, computer-vision, rag, agent-framework, mcp, chatbot, sdk
- domain: artificial-intelligence, large-language-models, machine-learning, self-hosted, speech-processing, computer-vision
- platform: self-hosted, windows, go, cli
- tags: openai-compatible-api, local-inference, cpu-inference, stable-diffusion, whisper, llama-cpp, vllm, voice-cloning, realtime-api, privacy-first, model-gallery, drop-in-replacement, ai-agents, retrieval-augmented-generation, docker, linux, macos, web-server, gpu

## Member repositories
- mudler/LocalAI (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:11.506828+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:20:36.816810+00:00, confidence not recorded.
  - readme: https://github.com/mudler/LocalAI (fetched 2026-08-28T04:12:11.506828+00:00, sha 7c64ca43fd69)
  - homepage: https://localai.io (fetched 2026-08-29T07:42:05.045862+00:00, sha 8596957cb3d7)
  - site_page: https://localai.io/docs (fetched 2026-08-29T07:42:05.057102+00:00, sha 2a59ea0bceaf)
  - site_page: https://localai.io/docs/features/text-generation (fetched 2026-08-29T07:42:05.060377+00:00, sha 1d8f7ea81829)
  - site_page: https://localai.io/docs/features/openai-realtime (fetched 2026-08-29T07:42:05.064302+00:00, sha f8cdea63fdd6)
  - site_page: https://localai.io/docs/features/text-to-audio (fetched 2026-08-29T07:42:05.067921+00:00, sha 6f4dce08649e)
  - site_page: https://localai.io/docs/features/object-detection (fetched 2026-08-29T07:42:05.070964+00:00, sha 0d6576c7e65f)
  - site_page: https://localai.io/docs/features/image-generation (fetched 2026-08-29T07:42:05.074179+00:00, sha 32f79c1e87e2)
  - site_page: https://localai.io/docs/features/agents (fetched 2026-08-29T07:42:05.076748+00:00, sha 1ecca05f75f6)
  - site_page: https://localai.io/docs/getting-started/models (fetched 2026-08-29T07:42:05.079413+00:00, sha ab6b801746fc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
