Run This Ai
EN DE

LocalAI

Open-source AI engine — run any model (LLM, vision, voice, image, video) on any hardware, no GPU required

★ 24,000 GitHub MIT llminferenceapiopenai-compatibleself-hosted LLM & Chat

Overview

LocalAI is an open-source AI engine that lets you run any model — LLMs, vision, voice, image, and video — on any hardware without requiring a GPU. It uses a small, composable core where each backend wraps a best-in-class engine in its own OCI image. It provides drop-in API compatibility with OpenAI, Anthropic, and ElevenLabs, supports multi-user auth/quotas, and includes built-in AI agents with tool use, RAG, and MCP.

Requirements

Min vCPU
1
Min RAM
2048 MB
Min Disk
10 GB
Rec vCPU
2
Rec RAM
4096 MB
Rec Disk
20 GB

Recommended VPS

Hetzner · CX22

2 vCPU · 4096 MB · 40 GB

$3.79
View plan

Hetzner · CX22

2 vCPU · 4096 MB · 40 GB

$3.79
View plan

Hetzner · CX22

2 vCPU · 4096 MB · 40 GB

$3.79
View plan

Affiliate disclosure

Docker Compose

# Generated by Run This Ai — docker-compose.yml
services:
  localai:
    image: localai/localai:latest
    restart: unless-stopped
    ports:
      - 8080:8080
    volumes:
      - ./data/localai:/data

Best VPS for LocalAI →

LocalAI — Faq

LocalAI

LocalAI

LocalAI is an open-source AI engine that lets you run any model — LLMs, vision, voice, image, and video — on any hardware without requiring a GPU. It uses a small, composable core where each backend wraps a best-in-class engine in its own OCI image. It provides drop-in API compatibility with OpenAI, Anthropic, and ElevenLabs, supports multi-user auth/quotas, and includes built-in AI agents with tool use, RAG, and MCP.

Is LocalAI free to self-host?

Yes — it is open source and runs on your own hardware.

Does LocalAI need a lot of resources?

A server with 1–2GB RAM is enough for most workloads.

How do I deploy LocalAI?

Easiest via Docker — see the installation guide for commands.

Where does my data go?

Nowhere — everything is processed locally on your server.

LocalAI — Alt

LocalAI

LocalAI

LocalAI is an open-source AI engine that lets you run any model — LLMs, vision, voice, image, and video — on any hardware without requiring a GPU. It uses a small, composable core where each backend wraps a best-in-class engine in its own OCI image. It provides drop-in API compatibility with OpenAI, Anthropic, and ElevenLabs, supports multi-user auth/quotas, and includes built-in AI agents with tool use, RAG, and MCP.

Alternatives to LocalAI

If LocalAI isn't quite right, these are common self-hosted alternatives in the same category:

Tool Strengths
Browse the directory for more options

LocalAI — Review

LocalAI

LocalAI

LocalAI is an open-source AI engine that lets you run any model — LLMs, vision, voice, image, and video — on any hardware without requiring a GPU. It uses a small, composable core where each backend wraps a best-in-class engine in its own OCI image. It provides drop-in API compatibility with OpenAI, Anthropic, and ElevenLabs, supports multi-user auth/quotas, and includes built-in AI agents with tool use, RAG, and MCP.

Strengths

  • Full self-hosted control over your data
  • Straightforward Docker-based deployment
  • Open-source license

Weaknesses

  • Initial setup requires Docker familiarity
  • You are responsible for maintenance and updates
  • Resource needs can grow under heavy load

Verdict

LocalAI is a solid self-hosted choice — its strengths outweigh the usual maintenance overhead.

LocalAI — Install

LocalAI

LocalAI

LocalAI is an open-source AI engine that lets you run any model — LLMs, vision, voice, image, and video — on any hardware without requiring a GPU. It uses a small, composable core where each backend wraps a best-in-class engine in its own OCI image. It provides drop-in API compatibility with OpenAI, Anthropic, and ElevenLabs, supports multi-user auth/quotas, and includes built-in AI agents with tool use, RAG, and MCP.

Prerequisites

  • Docker installed (version 24.0+)
  • Docker Compose (version 2.20+)
  • At least 1GB RAM (2GB recommended)

Quick start with Docker

# Pull the image
docker pull localai/localai:latest

# Run the container
docker run -d --name localai -p 8080:8080 localai/localai:latest

Key features

LocalAI — Overview

LocalAI

LocalAI

LocalAI is an open-source AI engine that lets you run any model — LLMs, vision, voice, image, and video — on any hardware without requiring a GPU. It uses a small, composable core where each backend wraps a best-in-class engine in its own OCI image. It provides drop-in API compatibility with OpenAI, Anthropic, and ElevenLabs, supports multi-user auth/quotas, and includes built-in AI agents with tool use, RAG, and MCP.

Key features

What it's good for

LocalAI runs entirely on your own infrastructure — your data never leaves your server.

Related tools