Repolode
mudler

mudler/LocalAI

A self-hosted, OpenAI-compatible AI engine that runs LLMs, vision, voice, image and video models on any hardware, including CPU-only machines.

Open source альтернатива:OpenAI API

Звёзды
49,633
Форки
4,507
Открытые issues
202
Последний коммит
1 час назад

Что это?

LocalAI is an open-source engine for serving AI models on your own infrastructure. It exposes OpenAI, Anthropic and ElevenLabs compatible APIs, so existing client code can point at a local server instead of a hosted service. It covers text generation, vision, speech-to-text and text-to-speech, image and video generation, embeddings, reranking and object detection behind one API.

The core stays small. Each backend wraps an engine such as llama.cpp, vLLM, whisper.cpp, stable-diffusion or MLX and is installed as its own image only when a model needs it. Hardware support includes NVIDIA CUDA, AMD ROCm, Intel oneAPI, Apple Silicon Metal, Vulkan and CPU-only operation.

Beyond inference, LocalAI includes API key authentication, per-user quotas, built-in agents with tool use and RAG, MCP support, and a distributed mode that uses PostgreSQL and NATS for horizontal scaling.

Ключевые возможности

  • 01OpenAI, Anthropic and ElevenLabs compatible API endpoints across backends
  • 02Runs LLMs, vision, speech, image and video models behind one API
  • 03Backends install on demand, so only the engines a model needs are pulled
  • 04Supports NVIDIA, AMD, Intel, Apple Silicon, Vulkan and CPU-only hardware
  • 05Built-in agents with tool use, RAG and MCP support
  • 06API key auth, per-user quotas and role-based access for multi-user setups

Сценарии использования

  • Running a private, self-hosted replacement for hosted OpenAI-style APIs
  • Serving open models on a workstation or server without a dedicated GPU
  • Building voice assistants that combine speech-to-text, an LLM and text-to-speech locally
  • Operating a shared model service for a team with per-user quotas and API keys

Темы

Частые вопросы

Что такое LocalAI?
A self-hosted, OpenAI-compatible AI engine that runs LLMs, vision, voice, image and video models on any hardware, including CPU-only machines. LocalAI is an open-source engine for serving AI models on your own infrastructure. It exposes OpenAI, Anthropic and ElevenLabs compatible APIs, so existing client code can point at a local server instead of a hosted service. It covers text generation, vision, speech-to-text and text-to-speech, image and video generation, embeddings, reranking and object detection behind one API.
LocalAI можно использовать бесплатно? Какая у него лицензия?
LocalAI распространяется с открытым исходным кодом под лицензией MIT. Перед использованием в коммерческих продуктах проверьте условия лицензии.
LocalAI всё ещё поддерживается?
Активно поддерживается. Последний коммит в LocalAI — 19 окт. 2026 г..
Для чего можно использовать LocalAI?
Running a private, self-hosted replacement for hosted OpenAI-style APIs Serving open models on a workstation or server without a dedicated GPU Building voice assistants that combine speech-to-text, an LLM and text-to-speech locally Operating a shared model service for a team with per-user quotas and API keys
Где скачать LocalAI?
Исходный код и инструкции по установке — на GitHub: https://github.com/mudler/LocalAI

Описание создано ИИ на основе README проекта. Статистика GitHub обновляется ежедневно.

Похожие проекты