We present BasinKV, a bounded-VRAM sparse KV-cache runtime for 256-dimensional partial-RoPE hybrids and dense LLMs across SGLang, llama.cpp, and vLLM V1, built on the OasisKV architecture [Xiao et al. 2026] while keeping unmodified FlashInfer and FlashAttention decode kernels inside CUDA graphs. On a single A100-80GB, BasinKV in SGLang serves 16 concurrent 64K prompts of BF16 Qwen3.8-27B (about one million active tokens) at 581.4 aggregate decode tokens/s with native multi-token prediction (MTP), 16/16 passkeys, and 18.13 GB of VRAM free, a load that stock serving with MTP cannot admit. On an H100 with FP8 weights at the same load, BasinKV reaches 470.4 aggregate decode tokens/s against 358.0 for stock FP8 KV (2.03x shorter batch wall time) and 33.9 for stock BF16 KV. In llama.cpp, Qwen3.6-35B-A3B decodes at 141.12 tokens/s at 256K depth on an A100 PCIe (1.49x stock, -8.91 GiB process memory) and runs live at 256K on a real 24 GB NVIDIA L4 at 67.12 tokens/s in 21,163 MiB idle / 21,885 MiB peak VRAM with exact 64K and 203K passkey retrieval, where stock F16 KV hits CUDA OOM starting at 64K.
BasinKV: Bounded-VRAM Long-Context Serving in SGLang, llama.cpp, and vLLM
BasinKV, a bounded-VRAM sparse KV-cache runtime built on the OasisKV architecture, serves 16 concurrent 64K prompts of BF16 Qwen3.8-27B (about one million active tokens) on a single A100-80GB at 581.4 aggregate decode tokens/s with native multi-token prediction, 16/16 passkeys and 18.13 GB of VRAM free — a load stock serving with MTP cannot admit. On an H100 with FP8 weights at the same load, BasinKV reaches 470.4 aggregate decode tokens/s versus 358.0 for stock FP8 KV and 33.9 for stock BF16 KV, and in llama.cpp Qwen3.6-35B-A3B decodes at 141.12 tokens/s at 256K depth on an A100 PCIe (1.49x stock, -8.91 GiB process memory) while running live at 256K on a 24 GB NVIDIA L4 at 67.12 tokens/s in 21,163 MiB idle / 21,885 MiB peak VRAM, where stock F16 KV hits CUDA OOM starting at 64K. The runtime spans SGLang, llama.cpp and vLLM V1 and keeps unmodified FlashInfer and FlashAttention decode kernels inside CUDA graphs.
Adopt a bounded-VRAM sparse KV cache like BasinKV when serving long-context batches that stock KV cannot admit; it ran 16 concurrent 64K prompts on one A100-80GB and cut H100 FP8 batch wall time 2.03x.
more in playbook: Inference and self-hostingRun your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.