mudler/LocalAI

Self-hosted OpenAI-compatible server for LLMs, images, audio; CPU OK

What

Self-hosted, OpenAI-compatible API server that runs LLMs, embeddings, image, audio and video models on local hardware, GPU optional.

How to use

bash
docker run -p 8080:8080 --name local-ai -ti localai/localai:latest
# then use http://localhost:8080/v1 as the OpenAI base URL

Reach for it when

you need a drop-in local replacement for the OpenAI API.