Try describing what you need:

KoboldCpp logo

KoboldCpp

★ 12.2k

A self-hosted alternative to Chatgpt

GNU Affero General Public License v3.0Open Source — No PaywallSingle Container — single container — minimal hosting footprintDocker · Binary · SourceNo external DB110+ active committers (12mo)

About

KoboldCpp is a self-contained local AI inference application built around llama.cpp for running GGML and GGUF models. It is aimed at users who want an easy way to launch text-generation and...

Community Ratings

No ratings yet

Features

  • single-file executable
  • CPU or GPU inference
  • LLM text generation
  • image generation and editing
  • video generation
  • speech-to-text
  • text-to-speech
  • music generation
  • image recognition
  • MCP server support and tool calling

Details

Last Updated
Nov 5, 2026
Created
Mar 16, 2023
Install Methods
dockerbinarysource
Requirements
GGUF modelsNvidia GPU (for CUDA support)AMD GPUX11 (for the Linux GUI script)curlbzip2conda
Default Port
5001web UI and API
API
REST
Backup & Export
native-exportfile-backup
Privacy & Independence
Cloud: OptionalOffline Capable
Theming
Custom themes
Deployment

Deployment: Docker Compose ✓Single Container — minimal hosting footprintsingle container

Run KoboldCpp yourself

Pick how much you want to manage.

1 more way to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host.

Is this your project? Sponsor a listing

Run KoboldCpp with Docker Compose

Compose file from the KoboldCpp project repository.

1 service

no resource limits declared

needs persistent storage (1 volume)

examples/docker-reference/docker-compose.yml · @ bf9b9bd · scanned Nov 3, 2026

version: "3.2"
services:
  koboldcpp:
    container_name: koboldcpp
    image: koboldai/koboldcpp:latest
    security_opt:
      - apparmor:unconfined # AppArmor breaks sockets, don't worry everything is securely confined within docker
    volumes:
      - ./kcpp-data:/workspace/:rw
    # devices: # Uncomment this section to add support for AMD/Intel GPU's
    # - /dev/dri:/dev/dri
    deploy: # You can remove this section if you do not wish to use an Nvidia GPU
      resources:
        reservations:
          devices:
          - driver: nvidia
            device_ids: ['0']
            capabilities: [gpu]
    environment:
      - KCPP_DONT_UPDATE=false
      - KCPP_DONT_TUNNEL=true
      - KCPP_ARGS=--model https://huggingface.co/unsloth/gemma-3-4b-it-GGUF/resolve/main/gemma-3-4b-it-Q4_K_S.gguf?download=true --gpulayers 99 --multiuser 20 --admin --admindir . --adminpassword ChangeMe # For split models in the 00001-of format specify the first file as the --model, remove --gpulayers 99 --multiuser 20 if you do not have a GPU
      # Don't forget to change the model for production, the default model was chosen to fit on many systems rather than for its quality.
    ports:
      - "5001:5001"
    restart: unless-stopped

This file may be out of date. Check the KoboldCpp documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Aug 7, 2026

Alternatives to KoboldCpp

Text Generation Inference logo

Text Generation Inference

10.9k
A Rust, Python, and gRPC server for deploying and serving large language models with high-performance text generation.
Inference ServingArtificial IntelligenceLocal LLMs+1
2 Containers
Details
LocalAI logo

LocalAI

50.2k
LocalAI is an open-source AI engine that runs LLMs and other multimodal models locally on a wide range of hardware, with OpenAI-compatible APIs and on-demand backends.
Generative AIPermissive LicenseArtificial Intelligence+4
Single Container
Details
text-generation-webui logo

text-generation-webui

47.7k
A desktop app for running local LLMs with chat, vision, tool-calling, training, image generation, and an API.
Artificial IntelligenceSelf Hosting SolutionsAI Interfaces+2
Single Container
Details
Ollama logo

Ollama

185.9k
Ollama is a tool for running open models locally and exposing them through a REST API for apps, agents, and integrations.
Artificial IntelligenceLocal LLMsGenerative AI+3
Details
GPT4All logo

GPT4All

77.3k
GPT4All runs large language models privately on everyday desktops and laptops, and provides a Python client around llama.cpp implementations.
Artificial IntelligenceLocal LLMsAI Interfaces+2
Details
llamafile logo

llamafile

26.6k
llamafile lets users distribute and run LLMs as a single-file executable with no installation. It also includes whisperfile for local speech-to-text transcription and translation.
Artificial IntelligenceLocal LLMsAI Tooling+2
Details
vLLM logo

vLLM

96.3k
A fast, easy-to-use library for LLM inference and serving.
Inference ServingLocal LLMsAI Tooling
2 Containers
Details

Related Software

SillyTavern logo

SillyTavern

35.3k
SillyTavern is a locally installed interface for interacting with text generation LLMs, image generation engines, and TTS voice models.
Artificial IntelligenceAI InterfacesCopyleft License+3
Single Container
Details
LLM Harbor logo

LLM Harbor

3.3k
Harbor is a CLI and companion app for spinning up and managing a local LLM stack with pre-wired services like Open WebUI, Ollama, llama.cpp, SearXNG, Speaches, and ComfyUI.
Artificial IntelligenceLocal LLMsAI Tooling+5
Details
LibreChat logo

LibreChat

46.8k
LibreChat is a self-hosted AI chat platform that unifies major AI providers in a ChatGPT-like interface.
Artificial IntelligenceAI InterfacesPermissive License+4
5 Containers
Details
LibreChat logo

LibreChat

46.8k
LibreChat is a self-hosted AI chat platform that unifies major AI providers in a ChatGPT-like interface.
Artificial IntelligenceAI InterfacesLocal LLMs+2
6 Containers
Details
Open-WebUI logo

Open-WebUI

157.8k
Open WebUI is a self-hosted AI platform for chatting with LLMs, managing RAG, and building custom model workflows, designed to run entirely offline.
Artificial IntelligenceAI InterfacesLocal LLMs+7
2 ContainersOpen CoreFOSS with Issues
Details
AnythingLLM logo

AnythingLLM

68.0k
An all-in-one AI application for chatting with documents, building AI agents, and running local or cloud LLM workflows.
Artificial IntelligenceAutomation ToolsSelf Hosting Solutions+7
Single Container
Details
NextChatAI logo

NextChatAI

88.9k
NextChat is a light, fast AI assistant web app and desktop client with support for multiple AI models and local browser storage.
Artificial IntelligenceAI InterfacesPermissive License+1
2 ContainersOpen Core
Details
Chatbox logo

Chatbox

42.3k
Chatbox is a desktop AI copilot and chat client for ChatGPT, Claude, and other LLM providers on Windows, macOS, and Linux.
Artificial IntelligenceAI InterfacesLocal LLMs
Details
ComfyUI logo

ComfyUI

145.1k
ComfyUI is a modular node-based AI engine for creating images, video, 3D, audio, and other content with fine-grained control over models and parameters.
Artificial IntelligenceAI Media GenerationCopyleft License+2
Freemium
Details
HuggingFace Chat UI logo

HuggingFace Chat UI

11.0k
A SvelteKit chat interface for OpenAI-compatible LLM APIs, powering HuggingChat.
Artificial IntelligenceAI InterfacesSelf Hosting Solutions+1
Details
Aider logo

Aider

50.0k
AI pair programming tool for working with large language models directly in the terminal.
Artificial IntelligenceAI Coding AssistantPermissive License+1
Details
private-gpt logo

private-gpt

57.6k
PrivateGPT is an open-source API layer that turns local models into production AI applications.
Artificial IntelligenceAI RAG SystemsPermissive License+2
Details