whereismyai
KVHarbor
KVHarbor is a C++20 server process that handles GPU text generation and CPU speech synthesis.
KVHarbor is a C++20 server process that combines GPU text generation and CPU speech tasks into a single application. It supports running text models via llama.cpp or TensorRT Edge-LLM on a GPU, and handles transcription or synthesis using sherpa-onnx on the CPU. The architecture handles client disconnects by signaling cancellation and managing output buffer slots. Users interact with the service through HTTP endpoints including chat completions, audio transcriptions, and speech synthesis. It provides health checks, task occupancy tracking, Prometheus metrics, and model status endpoints. The software is available under the PolyForm Noncommercial 1.0.0 license.
KVHarbor at a glance
- Best for: Software engineer
- Runs on: Linux, API, self-hosted, open source
- Pricing: Free
- Released: November 2026
- Category: AI coding tool
- Website: github.com/vitolearns/kvharbor
Key features
- Serves GPU text generation and CPU speech in one process
- Supports llama.cpp and TensorRT Edge-LLM engines
- Runs sherpa-onnx on CPU for speech tasks
- Provides HTTP endpoints for chat and completions
- Handles audio transcriptions and speech synthesis
- Exposes Prometheus metrics and health check endpoints
- Signals cancellation on client disconnects
Use it for
- Serve text generation and speech tasks from one process
- Transcribe audio using CPU-based speech recognition
- Synthesize speech from text inputs
- Monitor runtime health and Prometheus metrics
Alternatives to KVHarbor
- transcribe.cpp — Runs 16 model families and 60+ variants with GPU and CPU acceleration.
- Soup — Fine-tune and align models like Llama-3.1-8B on a 4 GB laptop GPU.
- LLamaSharp — Runs large language models efficiently on local hardware using C#.
- AirLLM — Runs massive 70B+ parameter models on small 4GB consumer GPUs.
- Strata — Runs large AI models locally on consumer gaming PCs without server reliance.
- Garak — It checks large language models for hallucinations, data leakage, and prompt injections.
- GPUWorks — Manages NVIDIA, AMD, Ascend, PPU, Hygon, and Apple Silicon in one cluster.
- Hyperkernel — Runs megakernels compiled for NVIDIA B300s to execute various AI models.
- KServe — Unifies generative and predictive AI inference on Kubernetes.
- Narwhal — It automatically hot-swaps prefill and decode roles without reloading model weights.
- Shard — Pools multiple local machine hardware resources to run large open-weight language models.
- Jakub Ćwirlej — Runs fast on ordinary CPUs, generating up to 364 tokens per second.
All KVHarbor alternatives