All open source
Open SourceLocal34k

LocalAI

Drop-in OpenAI-compatible API that runs models on your own hardware.

LocalAI is an open-source, self-hosted inference server that provides a drop-in OpenAI-compatible API for running models locally. It supports multiple backends (including llama.cpp, Whisper, and diffusion models) so a single endpoint can serve text generation, embeddings, audio transcription, and image generation without external cloud services. It runs on consumer hardware and is distributed as a single binary or container.

Repository

mudler/LocalAI

Language

Go

What you'd build with it

  • Replacing OpenAI API calls with a self-hosted, OpenAI-compatible endpoint for privacy or cost control
  • Running multiple modalities (chat, embeddings, speech-to-text, image generation) behind one local API
  • Deploying local inference in air-gapped or on-premises environments via Docker

Tags

self-hostedopenai-compatiblelocal