KoboldCpp
Quick Reference
Category: InferenceEngine |
OS: Windows, Linux, macOS |
Privileges: user |
Free: Yes
KoboldCpp is a single-file executable wrapping llama.cpp with a web UI and API server, popular in communities focused on creative writing and uncensored model use. It ships as a self-contained binary (no installer) for Windows and Linux, exposes a web interface on port 5001, and implements the KoboldAI API alongside a partial OpenAI-compatible API. Its single-binary nature and lack of standard install path make traditional file-based detection unreliable. The port 5001 listener and GGUF model files are the most reliable indicators.
Details
| Field | Value |
|---|---|
| Website | https://github.com/LostRuins/koboldcpp |
| License | AGPL-3.0 |
Capabilities: LocalInference, APIServer, GPUAcceleration
Disk Artifacts
| Path | OS | Type | Phase | Trust | Description |
|---|---|---|---|---|---|
koboldcpp |
Linux | Binary | Install | — | KoboldCpp Linux binary (no standard path — runs from any directory) |
koboldcpp.exe |
Windows | Binary | Install | — | KoboldCpp Windows binary (no standard install path) |
koboldcpp_nocuda.exe |
Windows | Binary | Install | — | KoboldCpp Windows CPU-only variant |
Model Storage
*.gguf (Any) — GGUF model files loaded at runtime via --model argument (user-specified path) (Install)
| Format | Magic Bytes (hex) | Offset |
|---|---|---|
| GGUF | 47 47 55 46 |
0 |
Process Artifacts
koboldcpp (Use)
Main KoboldCpp inference and web server process
Expected parent: bash
| CLI Pattern | Phase | Trust | Description |
|---|---|---|---|
koboldcpp.*--model\s+\S+\.gguf |
Use | — | Loading a GGUF model |
koboldcpp.*--host\s+0\.0\.0\.0 |
Abuse | — | API exposed beyond localhost |
koboldcpp.*--port\s+\d+ |
Use | — | Running on non-default port |
Network Artifacts
| Description | Protocol | Ports | Bind Address | Domains | Phase | Trust |
|---|---|---|---|---|---|---|
| KoboldCpp web UI and API (KoboldAI + partial OpenAI-compatible) | TCP | 5001 | 127.0.0.1 |
— | Use | — |
Persistence Mechanisms
| OS | Type | Path | Phase | Trust | Description |
|---|---|---|---|---|---|
| Linux | Service | /etc/systemd/system/koboldcpp.service |
Activation | — | User-created systemd unit for persistent background operation |
Windows Event Log
| Event ID | Provider | Log File | Phase | Trust | Description |
|---|---|---|---|---|---|
| 4688 | Microsoft-Security-Auditing | Security.evtx | Use | — | Process creation for koboldcpp.exe |
References
- https://github.com/LostRuins/koboldcpp