Matrix A - minicpm5_2b - run 40287220329 (partial: 16 of 24 cells)

bf16 KV vs tkv KV, per engine

Each bar is one engine at one concurrency. The solid base is the engine's throughput with a bf16 KV cache; the blue add-on is what tkv adds on the same engine and workload, so the whole bar is the tkv number. Inside the base: bf16 tok/s. Above the bar: tkv tok/s and its gain over bf16. The four panels of a row share one y-axis from 0, so bars compare across the row.

Workload: every request's prompt and output length is drawn from a seeded log-normal (σ = 0.65, seed 20261006), clipped to [mean/8, mean×8] and rescaled to the cell's exact mean; c1 is one fixed sequence. Outputs run with ignore_eos at each request's exact max_tokens. All N requests of a cell are in flight together (one wave).

bf16 (vLLM)bf16 (SGLang)tkv add-on
Decode tok/s per stream
c1 · 129K ctx
1 request, fixed lengthsprompt 129,024output 2,048
050100150vLLM c1: bf16 85.2, tkv 134 tok/s (+57%)vLLM c1: bf16 85.2, tkv 134 tok/s (+57%)85.2134 (+57%)vLLMSGLang c1: bf16 84.5, tkv 132 tok/s (+56%)SGLang c1: bf16 84.5, tkv 132 tok/s (+56%)84.5132 (+56%)SGLang
c8 · 16K ctx
8 requests, log-normal lengthsprompt mean 16.4K · p50 13.9K · 4.0K–35.6Koutput mean 2,048 · p50 1,213 · 311–7,981
050100150vLLM c8: bf16 70.7, tkv 92.2 tok/s (+30%)vLLM c8: bf16 70.7, tkv 92.2 tok/s (+30%)70.792.2 (+30%)vLLMSGLang c8: bf16 72.2, tkv 96.5 tok/s (+34%)SGLang c8: bf16 72.2, tkv 96.5 tok/s (+34%)72.296.5 (+34%)SGLang
c64 · 2K ctx
64 requests, log-normal lengthsprompt mean 2.0K · p50 1.7K · 259–7.3Koutput mean 2,048 · p50 1,682 · 399–7,680
050100150vLLM c64: bf16 67.8, tkv 96.4 tok/s (+42%)vLLM c64: bf16 67.8, tkv 96.4 tok/s (+42%)67.896.4 (+42%)vLLMSGLang c64: bf16 66.8, tkv 93.5 tok/s (+40%)SGLang c64: bf16 66.8, tkv 93.5 tok/s (+40%)66.893.5 (+40%)SGLang
c256 · 1K ctx
256 requests, log-normal lengthsprompt mean 1.0K · p50 828 · 139–6.3Koutput mean 256 · p50 206 · 35–1,736
050100150vLLM c256: bf16 26.7, tkv 32.2 tok/s (+20%)vLLM c256: bf16 26.7, tkv 32.2 tok/s (+20%)26.732.2 (+20%)vLLMSGLang c256: bf16 23.1, tkv 28.8 tok/s (+25%)SGLang c256: bf16 23.1, tkv 28.8 tok/s (+25%)23.128.8 (+25%)SGLang
Prefill tok/s
c1 · 129K ctx
1 request, fixed lengthsprompt 129,024output 2,048
02.5k5k7.5k10kvLLM c1: bf16 5,787, tkv 9,436 tok/s (+63%)vLLM c1: bf16 5,787, tkv 9,436 tok/s (+63%)5,7879,436 (+63%)vLLMSGLang c1: bf16 5,825, tkv 9,606 tok/s (+65%)SGLang c1: bf16 5,825, tkv 9,606 tok/s (+65%)5,8259,606 (+65%)SGLang
c8 · 16K ctx
8 requests, log-normal lengthsprompt mean 16.4K · p50 13.9K · 4.0K–35.6Koutput mean 2,048 · p50 1,213 · 311–7,981
02.5k5k7.5k10kvLLM c8: bf16 4,280, tkv 4,980 tok/s (+16%)vLLM c8: bf16 4,280, tkv 4,980 tok/s (+16%)4,2804,980 (+16%)vLLMSGLang c8: bf16 6,040, tkv 7,823 tok/s (+30%)SGLang c8: bf16 6,040, tkv 7,823 tok/s (+30%)6,0407,823 (+30%)SGLang
c64 · 2K ctx
64 requests, log-normal lengthsprompt mean 2.0K · p50 1.7K · 259–7.3Koutput mean 2,048 · p50 1,682 · 399–7,680
02.5k5k7.5k10kvLLM c64: bf16 817, tkv 822 tok/s (+0.7%)vLLM c64: bf16 817, tkv 822 tok/s (+0.7%)817822 (+0.7%)vLLMSGLang c64: bf16 979, tkv 1,046 tok/s (+7%)SGLang c64: bf16 979, tkv 1,046 tok/s (+7%)9791,046 (+7%)SGLang
c256 · 1K ctx
256 requests, log-normal lengthsprompt mean 1.0K · p50 828 · 139–6.3Koutput mean 256 · p50 206 · 35–1,736
02.5k5k7.5k10kvLLM c256: bf16 207, tkv 209 tok/s (+1%)vLLM c256: bf16 207, tkv 209 tok/s (+1%)209 (+1%)bf16 207vLLMSGLang c256: bf16 240, tkv 248 tok/s (+3%)SGLang c256: bf16 240, tkv 248 tok/s (+3%)248 (+3%)bf16 240SGLang
Total decode tok/s (all streams)
c1 · 129K ctx
1 request, fixed lengthsprompt 129,024output 2,048
02.5k5k7.5k10kvLLM c1: bf16 85.2, tkv 134 tok/s (+57%)vLLM c1: bf16 85.2, tkv 134 tok/s (+57%)134 (+57%)bf16 85.2vLLMSGLang c1: bf16 84.5, tkv 132 tok/s (+56%)SGLang c1: bf16 84.5, tkv 132 tok/s (+56%)132 (+56%)bf16 84.5SGLang
c8 · 16K ctx
8 requests, log-normal lengthsprompt mean 16.4K · p50 13.9K · 4.0K–35.6Koutput mean 2,048 · p50 1,213 · 311–7,981
02.5k5k7.5k10kvLLM c8: bf16 721, tkv 887 tok/s (+23%)vLLM c8: bf16 721, tkv 887 tok/s (+23%)887 (+23%)bf16 721vLLMSGLang c8: bf16 685, tkv 856 tok/s (+25%)SGLang c8: bf16 685, tkv 856 tok/s (+25%)856 (+25%)bf16 685SGLang
c64 · 2K ctx
64 requests, log-normal lengthsprompt mean 2.0K · p50 1.7K · 259–7.3Koutput mean 2,048 · p50 1,682 · 399–7,680
02.5k5k7.5k10kvLLM c64: bf16 4,703, tkv 6,346 tok/s (+35%)vLLM c64: bf16 4,703, tkv 6,346 tok/s (+35%)4,7036,346 (+35%)vLLMSGLang c64: bf16 4,609, tkv 6,198 tok/s (+34%)SGLang c64: bf16 4,609, tkv 6,198 tok/s (+34%)4,6096,198 (+34%)SGLang
c256 · 1K ctx
256 requests, log-normal lengthsprompt mean 1.0K · p50 828 · 139–6.3Koutput mean 256 · p50 206 · 35–1,736
02.5k5k7.5k10kvLLM c256: bf16 7,930, tkv 9,243 tok/s (+17%)vLLM c256: bf16 7,930, tkv 9,243 tok/s (+17%)7,9309,243 (+17%)vLLMSGLang c256: bf16 6,749, tkv 8,350 tok/s (+24%)SGLang c256: bf16 6,749, tkv 8,350 tok/s (+24%)6,7498,350 (+24%)SGLang

Canonical table

Matrix A - minicpm5_2b - run 40287220329 (partial: 16 of 24 cells)
       │                                     c1@126k                                      │                                      c8@14k                                      │                                     c64@1.6k                                     │                                    c256@0.8k                                     
engine │ prefill tok/s decode/stream  decode total          TTFT          TPOT agg@900 tok/s │ prefill tok/s decode/stream  decode total          TTFT          TPOT agg@900 tok/s │ prefill tok/s decode/stream  decode total          TTFT          TPOT agg@900 tok/s │ prefill tok/s decode/stream  decode total          TTFT          TPOT agg@900 tok/s 
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
vllm   │     9436/5787      134/85.2        134/85   13673/22296      7.5/11.7         44/27 │     4980/4280     92.2/70.7       887/721     3338/3843     10.8/14.2       502/402 │       822/817     96.4/67.8     6346/4703     2933/2887     10.4/14.7     4602/3580 │       209/207     32.2/26.7     9243/7930     4831/4855     31.1/37.4     6189/5536 
sglang │     9606/5825      132/84.5        132/84   13431/22152      7.6/11.8         44/27 │     7823/6040     96.5/72.2       856/685     1606/2063     10.4/13.9       563/419 │      1046/979     93.5/66.8     6198/4609     1852/1826     10.7/15.0     4777/3627 │       248/240     28.8/23.1     8350/6749     4083/4210     34.7/43.2     5500/4626 
cells: tkv/bf16 · TTFT,TPOT=ms median · prefill=prompt tok / TTFT · decode/stream=1000/TPOT · decode total=all streams over their decode spans · agg=all streams @ 900 tok, prefill INCLUDED · best / worst>20% / worst-close / plain mid