LocalAI logo

LocalAI

Website

OpenAI-compatible local AI inference server and API

48.7k stars 4.4k forks last commit first released MIT

Actively maintained

Last commit 26 Aug 2026.

LocalAI screenshot

LocalAI is a self-hostable AI inference server that provides a drop-in, OpenAI-compatible REST API for running models locally or on-premises. It supports multiple model families and backends, enabling text, image, and audio workloads on consumer hardware, with optional GPU acceleration.

Key Features

  • OpenAI-compatible REST API for integrating with existing apps and SDKs
  • Multi-backend local inference, including GGUF via llama.cpp and Transformers-based models
  • Image generation support (Diffusers/Stable Diffusion-class workflows)
  • Audio capabilities such as speech generation (TTS) and voice-related features
  • Web UI for basic testing and model management
  • Model management via gallery and configuration files, with automatic backend selection
  • Optional distributed and peer-to-peer inference capabilities

Use Cases

  • Replace cloud LLM APIs for private chat and internal tooling
  • Run local multimodal prototypes (text, image, audio) behind a unified API
  • Provide an on-prem inference endpoint for products needing OpenAI API compatibility

Limitations and Considerations

  • Capabilities and quality depend heavily on the selected model and backend
  • Some advanced features may require GPU-specific images or platform-specific setup

LocalAI is a practical foundation for building a local-first AI stack, especially when OpenAI API compatibility is a requirement. It offers flexible deployment options and broad model support to cover common generative AI workloads.

Categories:

Tags:

Tech Stack:

Share:

Similar to LocalAI

Ollama logo

Ollama

Run and manage large language models locally with an API

179.5k
17.6k
Last commit

Ollama is a local LLM runtime that lets you pull, run, and customize models, offering a CLI and REST API for chat, generation, and embeddings.

MITActively maintained
Alternative to:
OpenAI API logo
OpenAI API
+15
Speaches logo

Speaches

OpenAI API-compatible server for speech-to-text and text-to-speech

3.6k
444
Last commit

Self-hosted, OpenAI API-compatible server for streaming transcription, translation, and speech generation using faster-whisper and TTS engines like Piper and Kokoro.

MITActively maintained
Alternative to:
OpenAI API logo
OpenAI API
+9

Scriberr

Offline AI audio and video transcription with transcript chat

3k
249
Last commit

Scriberr is a self-hosted, privacy-focused AI transcription app for audio and video, with speaker diarization, word-level timestamps, summaries, and transcript chat.

MITSlowing down
Alternative to:
Otter.ai logo
Otter.ai
+6
AnythingLLM logo

AnythingLLM

All-in-one AI chat app with RAG, agents, and multi-model support

65.3k
7.2k
Last commit

AnythingLLM is an all-in-one desktop and Docker app for chatting with documents using RAG, running AI agents, and connecting to local or hosted LLMs and vector databases.

MITActively maintained
Alternative to:
AnythingLLM Cloud logo
AnythingLLM Cloud
+19
Jina logo

Jina

Cloud-native Python framework for serving multimodal AI services

21.9k
2.2k
Last commit

Open-source Python framework to build, scale, and deploy multimodal AI services and pipelines with gRPC/HTTP/WebSocket support and Kubernetes/Docker integration.

Apache-2.0Slowing down
Alternative to:
Baseten logo
Baseten
+12

Willow

Open-source, privacy-focused voice assistant platform

3.1k
128
Last commit

Self-hosted voice assistant platform for ESP32 devices with on-device wake-word and command recognition, Home Assistant integration, and an optional inference server for STT/TTS/LLM.

Apache-2.0Actively maintained
Alternative to:
Amazon Alexa logo
Amazon Alexa
+9