Engineering note
KDA, Gated DeltaNet, Mamba and sliding-window attention break the classic KV-cache formula. The exact per-layer state math, worked examples for Kimi K3 / Qwen3-Next / Gemma 3 / gpt-oss, and how vLLM, llama.cpp and SGLang actually bill the memory.
Engineering note
Parameter heuristics and benchmark tables both fail in instructive ways. The Speed-of-Light model behind this site: prefill vs decode rooflines, the corrections that matter (frameworks, quantization, MoE, hybrid attention, TP sublinearity), and the three-way calibration that keeps it honest — including where it is wrong.
Engineering note
A model page counts stored elements, not weights, and not what runs per token. Packed 4-bit experts, latent MoE, draft blocks and 196B-parameter lookup tables put public estimates 2–30× off. The checks, worked on Kimi K3.1 Pro, MiniMax M3.1 Flash, DeepSeek V4.1 Flash, GLM-5.3 Flash and Inkling 2 Small.
Engineering note
An hourly GPU price and a per-token API price only compare at a stated load. The blended price for a prompt and answer length, the utilisation that decides the GPU side, and the break-even concurrency — worked on list prices of open models, with what the comparison leaves out.
Engineering note
Time to first token on an idle server is prompt length over prefill rate. Under load three more terms appear: waiting for prefill, the engine's fixed cost, and the decode steps of the streams already running. The formula, its calibration and what it changes in sizing.