Skip to content
Is there an AI for this?

Alternatives

Self-hosted alternatives to LocalAI

Projects in the registry that can run on your own hardware and serve at least one of the same use cases as LocalAI.

Source
Registry relations over fetched repository records — the evidence sits on each repository page
Verified
Evidence not verified
Confidence
High

01How this list was built

Compared against
LocalAI
Delivery
Model servers
Shared use cases
Local LLM, Private LLM, OCR, Meeting transcription
Selection rule
open source, or self-hostable, and shares a use case
Candidates found
16

02Alternatives

16
  • AnythingLLM

    Hybrid — hosted or self-hosted

    Desktop and server application that turns a document set into a chat workspace, with per-workspace embeddings, multiple model back ends and a built-in vector store.

    Stars
    65,673
    Licence
    MIT
    In stacks
    0

    Shares: Local llm

  • Continue

    Hybrid — hosted or self-hosted

    Open-source IDE extension for VS Code and JetBrains that connects completion and chat to any model back end, including a local server, under a checked-in configuration file.

    Stars
    35,622
    Licence
    Apache-2.0
    In stacks
    1

    Shares: Local llm

  • Docling

    Libraries

    Document conversion toolkit that parses PDF, Office and image files into structured Markdown or JSON, preserving reading order, tables and figures for downstream retrieval.

    Stars
    65,519
    Licence
    MIT
    In stacks
    5

    Shares: Ocr

  • Reimplementation of Whisper on CTranslate2 with substantially lower memory use and faster inference, including int8 execution on CPU. The usual engine behind self-hosted transcription.

    Stars
    25,259
    Licence
    MIT
    In stacks
    2

    Shares: Meeting transcription

  • Jan

    Hybrid — hosted or self-hosted

    Open-source desktop assistant that runs open-weight models locally and can also call remote endpoints. The open alternative to LM Studio for a single-machine deployment.

    Repository
    janhq/jan
    Stars
    44,559
    Licence
    Other
    In stacks
    0

    Shares: Local llm · Private llm

  • LibreChat

    Self-hosted projects

    Self-hosted multi-model chat application with authentication, per-conversation model switching, plugins, file upload and an admin configuration file. Familiar interface for staff moving off consumer tools.

    Stars
    42,850
    Licence
    MIT
    In stacks
    0

    Shares: Private llm

  • LiteLLM

    Cloud platforms

    Gateway that presents one OpenAI-compatible API in front of many providers and local servers, with per-team keys, budgets, rate limits, fallbacks and request logging.

    Repository
    BerriAI/litellm
    Stars
    57,216
    Licence
    Other
    In stacks
    3

    Shares: Private llm · Local llm

  • llama.cpp

    Libraries

    C++ inference engine for quantised models on CPU, Apple Silicon and GPUs, with a bundled HTTP server. The engine underneath many desktop runtimes and the GGUF quantisation format.

    Stars
    128,796
    Licence
    MIT
    In stacks
    0

    Shares: Local llm · Private llm

  • LMDeploy

    Model servers

    Serving toolkit from the InternLM team with its own inference engine and quantisation tooling, and strong coverage of Chinese open-weight model families.

    Stars
    8,082
    Licence
    Apache-2.0
    In stacks
    0

    Shares: Local llm · Private llm

  • LM Studio

    Hybrid — hosted or self-hosted

    Desktop application for downloading and running open-weight models locally, with a chat interface and a local OpenAI-compatible server. Windows, macOS and Linux.

    Repository
    none linked
    Stars
    —
    Licence
    unknown
    In stacks
    1

    Shares: Local llm · Private llm

  • Marker

    Libraries

    PDF-to-Markdown converter aimed at long documents, with optional model-assisted correction. Published under a licence with a revenue condition — read it before commercial use.

    Stars
    39,841
    Licence
    Apache-2.0
    In stacks
    0

    Shares: Ocr

  • MinerU

    Libraries

    Converts PDFs to structured Markdown or JSON, keeping reading order, tables and formulae. Handles Chinese layouts, which most Western-trained parsers do poorly.

    Stars
    80,242
    Licence
    Other
    In stacks
    0

    Shares: Ocr

  • NVIDIA NIM

    Model servers

    Prebuilt inference containers with an OpenAI-compatible API, deployable into your own cluster including air-gapped sites. Licensed through NVIDIA AI Enterprise rather than open source.

    Repository
    none linked
    Stars
    —
    Licence
    unknown
    In stacks
    0

    Shares: Local llm · Private llm

  • Compiles models into optimised engines for NVIDIA GPUs. The build step is the trade: peak throughput on a fixed configuration, in exchange for recompiling when it changes.

    Stars
    14,663
    Licence
    Other
    In stacks
    0

    Shares: Local llm · Private llm

  • Ollama

    Model servers

    Local model runtime with a one-command install, a model library and an OpenAI-compatible API. The usual starting point for running open-weight models on a workstation or small server.

    Repository
    ollama/ollama
    Stars
    179,403
    Licence
    MIT
    In stacks
    4

    Shares: Local llm · Private llm

  • olmOCR

    Libraries

    Vision-language OCR pipeline from AI2 for turning page images into linearised text at scale, with the model weights published alongside the toolkit.

    Repository
    allenai/olmocr
    Stars
    19,631
    Licence
    Apache-2.0
    In stacks
    0

    Shares: Ocr


03Repository facts

RepositoryStarsHealth
Mintplex-Labs/anything-llmStop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience66kMaintenance 60%, Releases 60%, Contributors 50%, Issues 95%, Community 96%71
continuedev/continueopen-source coding agent36kMaintenance 60%, Releases 40%, Contributors 50%, Issues 74%, Community 91%64
docling-project/doclingGet your documents ready for gen AI66kMaintenance 60%, Releases 60%, Contributors 50%, Issues 85%, Community 96%70
SYSTRAN/faster-whisperFaster Whisper transcription with CTranslate225kMaintenance 20%, Releases 20%, Contributors 50%, Issues 87%, Community 88%48
janhq/janJan is an open source alternative to ChatGPT that runs 100% offline on your computer.45kMaintenance 80%, Releases 60%, Contributors 50%, Issues 88%, Community 93%76
danny-avila/LibreChatEnhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active43kMaintenance 60%, Releases 30%, Contributors 50%, Issues 83%, Community 93%63
BerriAI/litellmThe fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]57kMaintenance 60%, Releases 60%, Contributors 50%, Issues 14%, Community 95%63
ggml-org/llama.cppLLM inference in C/C++129kMaintenance 80%, Releases 60%, Contributors 50%, Issues 81%, Community 100%77
InternLM/lmdeployLMDeploy is a toolkit for compressing, deploying, and serving LLMs.8.1kMaintenance 80%, Releases 60%, Contributors 50%, Issues 26%, Community 78%66
datalab-to/markerConvert PDF to markdown + JSON quickly with high accuracy40kMaintenance 60%, Releases 60%, Contributors 50%, Issues 88%, Community 92%69
opendatalab/MinerUTransforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.80kMaintenance 80%, Releases 80%, Contributors 50%, Issues 99%, Community 98%82
nvidia/tensorrt-llmTensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT LLM also contains components to create Python and C++ runtimes that orchestrate the inference execution in a performant way.15kMaintenance 80%, Releases 40%, Contributors 50%, Issues 0%, Community 83%60
ollama/ollamaGet up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.179kMaintenance 60%, Releases 60%, Contributors 50%, Issues 79%, Community 100%70
allenai/olmocrToolkit for linearizing PDFs for LLM datasets/training20kMaintenance 20%, Releases 20%, Contributors 50%, Issues 95%, Community 86%49

04Ask about your own case

Which alternative is right depends on how many people will use it, what the data is and what you can operate. Ask and the answer is researched for your organisation.

  1. 01What is a self-hosted alternative to LocalAI that we can run ourselves?