Core AI Systems Tools
Zero-install, deterministic calculators for inference hardware sizing, coding-agent token economics, and KV-cache routing. Everything runs 100% locally in your browser with explicit equations.
1. KV-Cache, Consumer-GPU VRAM-Fit & Offload Ceiling Calculator
Compute exact weight footprint, GQA/MLA KV-cache bytes per token, total VRAM residency, and theoretical memory-bandwidth decode ceiling—including the host-RAM offload cliff when a model spills past 16 GB VRAM.
Backed by live RTX 5080 offload benchmarks in Lab Notes · p2InferRoute ↗
2. Coding-Agent Token-Budget & Compaction Simulator
Model how multi-turn coding sessions burn context tokens across file re-reads, oversized tool dumps, <think> history replay, and MCP schemas—and estimate exact token and dollar savings before running compaction.
Run on your own real Claude Code / Codex / Cline logs with ctx-profiler ↗ (`uvx ctx-profiler analyze ...`)
3. Prefix-Affinity vs. Round-Robin KV Routing Estimator
Quantify why routing multi-turn agent requests by prefix hash beats round-robin across R inference replicas: each replica only caches W / R distinct prefixes instead of thrashing across all W.
Implemented & benchmarked in p2InferRoute (`kvroute-bench`) ↗