ZSE: Open-source LLM inference engine with 3.9-second cold starts

What ZSE does
ZSE (Z Server Engine) is an open-source LLM inference engine focused on memory efficiency and fast cold starts. It addresses the problem where running a 32B model normally requires ~64GB VRAM, and cold starts with bitsandbytes NF4 take 2+ minutes on first load.
Key performance improvements
ZSE fits 32B models in 19.3GB VRAM (70% reduction vs FP16) and runs on a single A100-40GB. For 7B models, it uses 5.2GB VRAM (63% reduction) and runs on consumer GPUs.
The cold start improvements are significant: 3.9s for 7B models and 21.4s for 32B models with the .zse format, compared to 45s and 120s with bitsandbytes. These benchmarks were verified on Modal A100-80GB in February 2026.
Technical approach
The cold start improvement comes from the .zse format storing pre-quantized weights as memory-mapped safetensors. This eliminates quantization at load time and weight conversion, using just mmap + GPU transfer. On NVMe SSDs, this gets under 4 seconds for 7B models.
Installation and usage
Install with: pip install zllm-zse
Basic server start: zse serve Qwen/Qwen2.5-7B-Instruct
For fast cold starts (one-time conversion):
zse convert Qwen/Qwen2.5-Coder-7B-Instruct -o qwen-7b.zse zse serve qwen-7b.zse # 3.9s every time
Features
- OpenAI-compatible API server (drop-in replacement)
- Interactive CLI (zse serve, zse chat, zse convert, zse hardware)
- Web dashboard with real-time GPU monitoring
- Continuous batching (3.45× throughput)
- GGUF support via llama.cpp CPU fallback — works without a GPU
- Rate limiting, audit logging, API key auth
Architecture components
- zAttention: Custom CUDA kernels for paged, flash, and sparse attention
- zQuantize: Per-tensor INT2-8 mixed precision quantization
- zKV: Quantized KV cache with sliding precision (4x memory savings)
- zStream: Layer streaming with async prefetch (run 70B on 24GB GPU)
- zOrchestrator: Smart recommendations based on FREE memory
Efficiency modes
- speed: Maximum throughput (production with ample GPU memory)
- balanced: Good throughput, moderate memory (standard deployment, default)
- memory: Low memory, reduced throughput (consumer GPUs)
- ultra: Extreme memory savings (4GB GPUs, laptops)
Supported models
Any HuggingFace transformers model, safetensors, GGUF, or .zse format. Popular choices include Qwen, Llama, Mistral, Phi, Gemma, DeepSeek, and Yi.
📖 Read the full source: HN LLM Tools
👀 See Also

StartClaw: A headless browser automation tool built on ZeroClaw with Claude integration
StartClaw is a browser automation tool built on ZeroClaw's Rust base with Composio v3 for integrations, designed to run headless in the cloud without requiring local hardware. It uses Claude exclusively for reliability and includes built-in context compaction that reduces token usage by ~5x.

civStation: Open-Source VLM Harness for Natural Language Control of Civilization VI
civStation is an open-source computer-use stack that enables voice and natural language control of Civilization VI, translating high-level strategy commands into UI actions through a VLM-based observation and execution loop.

Mouse: Coordinate-Based Editing Staged Changes and Atomic Rollback for AI Coding Agents
Mouse replaces string-replacement editing with six coordinate-based operations (INSERT, DELETE, ADJUST) plus staged changes with atomic rollback for AI agents.

KV Cache Reuse for Long Conversations on Apple Silicon Delivers 200x Speedup
A developer implemented session-based KV cache reuse for local LLM inference using Apple's MLX framework, achieving a 200x improvement in time-to-first-token at 100K context length. The approach keeps the KV cache in memory across conversation turns, processing only new tokens.