qmetrics.net

LocalAI

Self-hosted OpenAI-compatible server for running open AI models locally

LocalAI screenshot

LocalAI runs open models for chat, images, speech, video and music on your own hardware, with OpenAI- and Anthropic-compatible APIs. It works on CPU or GPU and adds team chats, files, agents and add-ons.

Overview

LocalAI is an open-source AI engine that runs open models on your own machines. It covers text and vision chat, speech to text, text to speech, image and video generation, music and sound generation, embeddings and reranking. The API follows the OpenAI and Anthropic formats, with ElevenLabs-compatible text to speech and sound generation, so existing clients only need a changed base URL.

Beyond the API, LocalAI includes a web interface with chats, saved agents that use tools, MCP servers, skills and files, and Knowledge collections that search documents by meaning. Projects group chats, files, notes and agents around one piece of work. For teams, it offers users, roles, quotas and shared folders. An admin can install add-ons such as Office (generating Word, Excel, PowerPoint and PDF files), a Sandbox that runs Python with no network by default, Tables, mail and calendar.

It supports more than 80 backends, including llama.cpp, vLLM and transformers, and the team wrote 18 of them as native C, C++ and GGML engines. Each backend is a separate image that downloads only when a model needs it. Models come from a gallery or Hugging Face. Hardware support covers NVIDIA, AMD, Intel, Apple Silicon, Vulkan, NVIDIA Jetson and plain CPU.

You can install it with a script, a Docker container, Kubernetes with a Helm chart, or a desktop app for macOS and Linux. A distributed mode, using PostgreSQL and NATS, spreads models over several machines, and P2P is also supported. Operations features include API key authentication, user quotas and a built-in benchmark command.

Key features

  • OpenAI, Anthropic and ElevenLabs compatible API
  • Text, vision, speech, image, video and music models
  • More than 80 backends
  • Model and backend gallery
  • Agents with tools, MCP and skills
  • Projects, files and Knowledge collections
  • Team users, roles and quotas
  • Distributed mode and P2P

Use cases

  • Replacing a hosted OpenAI-style API with local models
  • Running a private team AI workspace
  • Local speech transcription and text to speech
  • Generating images, video and music on own hardware
  • Serving models across several machines

Does the same job as

LocalAI doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare LocalAI

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

  • Python and C++ model APIs
  • Keras high-level modeling interface
  • GPU and CPU pip distributions
C++Linux, macOS, Windows, AndroidDetails →
★ 201.7k⟳ todayApache-2.0

Ollama

Run open AI models locally or in the cloud

Ollama runs open language models such as Gemma, Qwen, DeepSeek and gpt-oss on macOS, Windows and Linux, locally or in the cloud. It offers a CLI, a REST API, and Python and JavaScript libraries.

  • Run open models locally or in the cloud
  • Command-line model chat and management
  • REST API for running and managing models
GoLinux, macOS, Windows, DockerDetails →
★ 189.1k⟳ todayMIT
Open Source Alternative to:Anthropic APILM Studio+1

llama.cpp

LLM inference engine in C/C++ for local and cloud hardware

llama.cpp runs large language models and multimodal models locally or in the cloud with minimal setup. It includes a CLI, an OpenAI-compatible server with a built-in chat app, and a C library API.

  • Local and cloud LLM inference on many hardware types
  • Command-line chat tool with vision model support
  • Built-in server with REST API and browser chat app
C++macOS, Windows, Android, DockerDetails →
★ 137.2k⟳ todayMIT
Open Source Alternative to:Anthropic APIChatGPT+5

vLLM

High-throughput, memory-efficient inference and serving engine for LLMs

vLLM is a library and server for running and serving large language models. It uses PagedAttention and continuous batching for throughput, offers an OpenAI-compatible API, and runs on many GPU, CPU and accelerator types.

  • PagedAttention memory management
  • Continuous batching and chunked prefill
  • Prefix caching
PythonDockerDetails →
★ 98.2k⟳ todayApache-2.0
Open Source Alternative to:Anthropic APIOpenAI API

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

  • Desktop app for local inference
  • Fine-tuning with LoRA
  • OpenAI-compatible model server
PythonLinux, macOS, Windows, DockerDetails →
★ 80.8k⟳ todayApache-2.0

LlamaFactory

Unified efficient fine-tuning for many language and vision models

LlamaFactory bundles CLI and web workflows to fine-tune numerous LLMs and multimodal models with methods from pre-training and SFT through RLHF-style preference optimization and quantized adapters.

  • 100+ LLM and VLM model support
  • SFT, DPO, PPO, and related trainers
  • LoRA and multi-bit QLoRA tuning
PythonCLI, Web, DockerDetails →
★ 76.4k⟳ 3 days agoApache-2.0