KoboldCpp
One-file local AI runner geared toward storytelling and roleplay.
Overview
KoboldCpp is a single-executable local inference server built on llama.cpp with a bundled KoboldAI Lite interface. It is popular for story writing and pairs well with frontends like SillyTavern.
- Single executable
- Story and adventure modes
- Image generation support
- OpenAI and Kobold APIs
Our verdict
What we like
- Easy local setup
- Great for creative writing
Watch out for
- Interface aimed at hobbyists
Works with these providers
Keys from these providers work in this app. Usage is billed by the provider at its list price.
BYOK Key Safety Score
Key handling in KoboldCpp
Grade A
Your key is stored on your device and requests go directly to the provider.
- Key storage40/40
Key stays on your device; requests go direct to the provider.
- Auditable code25/25
Open source: anyone can verify how keys are handled.
- Self-hosting8/15
Runs as a local app, but not as a self-hosted service.
- Offline option10/10
Supports local models, so no key is needed at all for private work.
- Provider choice2/10
1 provider option, which lets you pick the provider whose data terms you trust.
Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.
KoboldCpp FAQ
- Does KoboldCpp support bring your own key?
- Yes. KoboldCpp accepts your own API key from OpenAI-compatible. Usage is billed by the provider at its API rates.
- Where does KoboldCpp store my API key?
- On your device. Requests go directly from KoboldCpp to the provider. Its BYOK Tools Key Safety Score is 85/100.
- Is KoboldCpp free?
- Open source: Free & open source. API usage is billed separately by your model provider.
- Is KoboldCpp open source?
- Yes. The source code is at https://github.com/LostRuins/koboldcpp.
- Can KoboldCpp run local models?
- Yes. It can connect to local runtimes such as Ollama or LM Studio, so no API key is needed for private or offline use.
- Which platforms does KoboldCpp support?
- macOS, Windows, Linux.
Community reviews
No reviews yet.
Alternatives to KoboldCpp
All local ai →llama.cpp
Local AI
C and C++ LLM inference engine with a built-in server and web UI.
Jan
Local AI
Open-source ChatGPT alternative that runs 100% offline.
Ollama
Local AI
The simplest way to run open LLMs locally with one command.
LocalAI
Local AI
Self-hosted, drop-in OpenAI API replacement for local models.
LM Studio
Local AI
Desktop app to discover, download and run local LLMs.
GPT4All
Local AI
Private local chatbot from Nomic that runs on everyday hardware.