steve hou· research
← ResearchLeaf Labs · AI Research

The Llama 8B Inference Pareto Benchmark

Full 1× NVIDIA B300 baselines across the three main inference levers — concurrency, perplexity, and context length

December 2026 · Frontiers, checker, exporter & submissions on GitHub (MIT) →

Single-number inference leaderboards collapse orthogonal hardware tradeoffs into one metric and reward whoever quietly relaxes the unmeasured axis. A batch-1 speculative engine hitting 2,621 tok/s, a 512-user speculative batch pushing 61,212 tok/s aggregate, and a 64K long-context stream holding 1,338 tok/s solve completely different bottlenecks; a 4-bit relaxed drafter and an unmodified BF16 pass are not even sampling the exact same token distribution.1

We are setting full measured baselines across all three main levers for meta-llama/Llama-3.1-8B-Instruct on one NVIDIA B300 (267.7 GB HBM3e, 148 SMs) inside Steve8323/fastest-gpu-inference. Rather than requiring one fixed operating point, any submission that passes quality gates (rep4 ≤ 0.13, plus nuc90 ≥ 0.95 on perplexity tracks) and strictly pushes beyond the piecewise-linear interpolation of any curve — linear in x for concurrency and perplexity, linear in log2(x) for context length — claims a new state-of-the-art entry on the frontier. Following Modded-NanoGPT's cadence, a PR with inspectable source code, raw 1× B300 JSONL logs, and a passing scripts/check_pareto.py check is placed onto the frontier immediately as UNVERIFIED SOTA and promotes to VERIFIED SOTA once independently reproduced on 1× B300. Every dominated run, failed quality gate, and GPU OOM wall stays logged alongside the frontier so the entire feasible and infeasible boundary is exportable.

1. Concurrency: 1 User to 2,048+ Live Streams

Batch-1 decode exhausts HBM weight bandwidth while leaving Blackwell tensor cores idle. Stacking U independent users onto the same static CUDA-graph replay amortizes every weight sweep across U streams. Scaling our NVFP4-GPTQ + ftl1 EAGLE-3 engine with FP8 KV caches and Blackwell native trtllm-gen hybrid tree verification maps the full concurrency envelope on one B300: 2,621 tok/s at U = 1 (8.4 GB VRAM), 9,036 agg at U = 4 (2,259/u), 20,898 agg at U = 16 (1,306/u), 28,908 agg at U = 32 (903/u), 38,413 agg at U = 64 (600/u, 14.5 GB), 47,245 agg at U = 128 (369/u, 20.6 GB), 55,892 agg at U = 256 (218/u, 32.5 GB), peaking at 61,212 tok/s aggregate at U = 512 (119.6 tok/s/user, 57.4 GB VRAM, rep4 = 0.047).2

Beyond 512 speculative users, shrinking to a 2-node draft tree at U = 1,024 reaches 49,621 agg (48.5/u, 106.1 GB), while plain batched NVFP4 decode scales cleanly to U = 1,536 (27,697 agg, 142.5 GB) and 2,048 concurrent live users (28,077 agg, 13.7/u, 187.2 GB) before hitting the physical 267.7 GB HBM OOM wall at U = 2,560 (220.2 GiB contiguous FP8 KV requested). Any system that pushes above the shaded interpolation envelope — whether raising U = 1 past 2,621, breaking 61,212 tok/s at U = 512–1,024, or compressing KV below FP8 to fit 2,560+ users — takes the frontier.

Lever 1 · Concurrency Frontier (U = 1 → 2,048 Users, 1K Context)Beat interpolation ↗ → new SOTA
05001,0001,5002,0002,5003,000015k30k45k60kShaded zone beats interpolation → new SOTA1u BF162u64u plain1,024u2,048u (28.1k)2,560u OOM1u · 2,6214u · 9.0k8u · 12.9k16u · 20.9k32u · 28.9k64u · 38.4k128u · 47.2k256u · 55.9k512u · 61.2kPer-User Decode Speed (tok/s/user)Aggregate Throughput (tok/s)
U=512 · spec M=4 (FP8 + hyb): U = 512 · 119.6 tok/s/u · 61,212 agg · peak 1× B300 aggregate in 57.4 GB VRAM (Verified SOTA)
Measured 1× NVIDIA B300 concurrency baseline from U = 1 (2,621 tok/s) to U = 512 (61,212 tok/s aggregate, 57.4 GB VRAM) and 2,048 live plain streams (187.2 GB VRAM), hitting HBM OOM at 2,560 users (red ×). Solid green dots form the verified interpolation frontier; hollow dots are reached but dominated runs.

2. Per-Token Perplexity vs. Decode Speed

Deviating from bitwise BF16 arithmetic is the second major lever, and every baseline is teacher-scored directly by unmodified BF16 Llama-3.1-8B-Instruct rather than relying on hand-waved lossless claims. On four 1K-token prompts (all rep4 ≤ 0.057, nuc90 ≥ 0.960), the curve traces eight monotonic operating points: unmodified BF16 at 285.0 tok/s (BF16 PPL 1.226, 99.37% self top-1), plain NVFP4-GPTQ at 523.0 tok/s (PPL 1.275, 92.06% top-1), zero-margin strict speculative decode at 1,879.4 tok/s (PPL 1.310, 91.50% top-1, nuc90 = 0.999), logit margins 0.5 and 1.0 at 2,138.3 and 2,178.8 tok/s (PPL 1.334 and 1.356), the cumulative path rule at 2,414.0 tok/s (PPL 1.508, nuc90 = 0.993), margin 2.0 at 2,559.3 tok/s (PPL 1.551), and aggressive margin 3.5 at 2,794.9 tok/s (PPL 1.757, 80.27% top-1).3

On high-entropy unseen formal verse (12 strict poems), the same tradeoff shifts right because token entropy climbs to ~0.94–1.09 nats/tok: BF16 anchors 298.9 tok/s at PPL 1.67, PARD-2 and DFlash strict hit 1,231.8 and 1,337.8 tok/s at PPL 2.00–2.02 (dominating plain NVFP4 at 610.9 tok/s), DFlash Min-p climbs to 1,805.8 tok/s at PPL 2.32, and Cascade M = 64 caps clean speed at 1,815.7 tok/s (PPL 2.63) before M = 128 falls off Blackwell's 64-row MMA wave cliff to 1,370.5 tok/s. Any better quantizer, LM-head shortlist, or target-aligned drafter that lifts speed above the interpolated PPL curve claims a new SOTA spot.

Lever 2 · Perplexity vs. Decode Speed (1× B300, rep4 ≤ 0.13)
1.21.31.41.51.61.71.805001,0001,5002,0002,5003,000↖ Push up & left (beat interpolation → new SOTA)BF16 (1.23)NVFP4 plainStrict exactMargin 0.5Margin 1.0Path (2.0, 1.5)Margin 2.0Margin 3.5Unmodified BF16 Teacher Perplexity (lower = closer to bitwise BF16, rep4 ≤ 0.13)Decode Speed (tok/s)
Speculative Strict Exact (M=60): 1,879.4 tok/s · BF16 PPL 1.310 · 91.50% BF16 top-1 · nuc90 0.999 · zero-margin exact
Exact unmodified BF16 teacher-forced perplexity vs. single-user decode speed. Left tab: 8-point monotonic 1K/1K sweep (285 → 2,795 tok/s, all rep4 ≤ 0.06, nuc90 ≥ 0.96). Right tab: 12 unseen formal poems showing both the clean frontier and the disqualified loop-inflated greedy run (red ×, rep4 = 0.44).

3. Context Length: 1K to 128K Tokens

Once committed context grows past a few thousand tokens, streaming KV caches off HBM overtakes the ~4 GB weight read, and short-trained draft heads collapse (full-attention draft top-1 drops from 0.58 at 1K–2K down to 0.05 past 8K). Pairing a 2,048-token sliding draft window fine-tuned on long contexts (ftl1), FP8 (e4m3) committed KV caches, and hybrid Blackwell native-decode attention holds speed high across two orders of magnitude of context length.

For 1 user, verified decode holds 2,469 tok/s at 1K, 1,922 at 4K, 1,455 at 8K, 1,375 at 32K, and 1,338 tok/s at 64K (4.84 ms/round, 13.7 GB VRAM); our first 128K single-user pass ran 959 tok/s in 18.0 GB VRAM but tripped rep4 = 0.164 > 0.13, leaving clean 1u @ 128K (and clean 1u @ 16K) open. Across 16 concurrent users, every length from 1K through 128K passes cleanly (rep4 ≤ 0.070): 1,329 tok/s/u at 1K, 1,029/u at 8K, 657/u at 16K, 555/u at 32K, 327/u at 64K, and 190 tok/s/u at 128K (3,033 agg across 2.05M active KV tokens in 147.8 GB VRAM). At 64 concurrent users, decode tracks 600/u at 1K, 438/u at 4K, 220/u at 16K, and 129/u at 32K (149.0 GB) before hitting the exact B300 HBM OOM boundary at 64u × 64K (257.5 GiB FP8 KV requested). Sub-byte KV compression or lossless eviction that pushes past 64u @ 64K or beats the log2-interpolated curves takes new frontier ground.

Lever 3 · Context Length Frontier (1K → 128K across 1, 16, 64 Users)Beat log₂ interpolation ↗
1K2K4K8K16K32K64K128K05001,0001,5002,0002,5001 user (ftl1 + FP8 KV)16 users (per user)64 users (per user · × OOM)1K · 2,4692K · 2,0204K · 1,9228K · 1,45532K · 1,37564K · 1,338128K rep4>0.131K · 1,329/u8K · 1,029/u16K · 657/u32K · 555/u64K · 327/u128K · 190/u64u · 600/u4K · 438/u16K · 220/u32K · 129/u64u @ 64K OOMCommitted Context Length (log₂ scale, tokens)Per-User Speed (tok/s)
64K context · 1 user: 1 user · 64K ctx · 1,338 tok/s (4.84 ms/r, 6.48 tok/r, 13.7 GB VRAM)
Sustained per-user speed from 1K to 128K tokens across U = 1, 16, and 64 concurrent users. Red × markers show exact failure boundaries: 1u @ 128K failed the anti-loop gate (rep4 = 0.164 > 0.13) and 64u @ 64K hit the 267.7 GB HBM OOM wall.

4. Inspect & Export All Three Dimensions

Every measured run — verified SOTA frontier entries, reached-but-beaten dominated configurations, disqualified loop-gate runs, and exact OOM walls — is structured identically so researchers can filter, plot, and export the entire 3-lever operating surface. On GitHub, python3 scripts/export_pareto.py --format all regenerates the full 83-record CSV, JSONL, JSON, Markdown audit report, and adaptive Light/Dark 3D + 2D figures; the interactive matrix below filters and exports the three primary levers directly from the browser.

StatusLeverRunUCtxPPLtok/s/uAggVRAM
DOMConcurrencyU=1 · BF16 baseline11K—28528516.4G
DOMConcurrencyU=2 · spec M=3221K—2,204.54,4098.6G
DOMConcurrencyU=64 · plain NVFP4641K—255.116,32519.8G
DOMConcurrencyU=1,024 · spec M=2 (FP8)1,0241K—48.549,621106.1G
DOMConcurrencyU=2,048 · plain FP8 KV2,0481K—13.728,077187.2G
FAIL/OOMConcurrencyU=2,560 · FP8 KV OOM2,5601K————
SOTAConcurrencyU=1 · quality-matched (M=60)11K—2,6212,6218.4G
SOTAConcurrencyU=4 · ft2 head (M=16)41K—2,2599,0369.0G
SOTAConcurrencyU=8 · br3 tier (M=16)81K—1,61012,8809.7G
SOTAConcurrencyU=16 · burst serving (M=8)161K—1,30620,89811.1G
SOTAConcurrencyU=32 · spec M=8321K—903.428,90814.0G
SOTAConcurrencyU=64 · spec M=4 (FP8 + hyb)641K—600.238,41314.4G
SOTAConcurrencyU=128 · spec M=4 (FP8 + hyb)1281K—369.147,24520.6G
SOTAConcurrencyU=256 · spec M=4 (FP8 + hyb)2561K—218.355,89232.5G
SOTAConcurrencyU=512 · spec M=4 (FP8 + hyb)5121K—119.661,21257.4G
SOTAPerplexityBF16 Exact Reference (1K)11K1.2328528516.4G
SOTAPerplexityNVFP4-GPTQ Plain (1K)11K1.275235239.8G
SOTAPerplexitySpeculative Strict Exact (M=60)11K1.311,879.41,8799.3G
SOTAPerplexitySpeculative Margin 0.511K1.332,138.32,1388.8G
SOTAPerplexitySpeculative Margin 1.011K1.362,178.82,1798.8G
SOTAPerplexityPath-Level Rule (2.0, 1.5)11K1.512,4142,4148.8G
SOTAPerplexitySpeculative Margin 2.011K1.552,559.32,5598.8G
SOTAPerplexitySpeculative Margin 3.511K1.762,794.92,7958.8G
SOTAPerplexityPoetry · BF16 Plain (ng5)11K1.67298.9299—
DOMPerplexityPoetry · NVFP4-GPTQ Plain (ng5)11K2.00610.9611—
SOTAPerplexityPoetry · PARD-2 Strict (ng5)11K2.001,231.81,232—
SOTAPerplexityPoetry · DFlash Strict (ng5)11K2.021,337.81,338—
SOTAPerplexityPoetry · DFlash Min-p 0.08 (rp=1.12)11K2.321,805.81,806—
SOTAPerplexityPoetry · DFlash Cascade 0.45 (M=64, ng5)11K2.631,815.71,816—
DOMPerplexityPoetry · DFlash Cascade (M=128)11K2.671,370.51,371—
FAIL/OOMPerplexityPoetry · Raw Greedy Loop-Inflated11K1.802,4462,446—
SOTAContext1K context · 1 user11K—2,468.72,46910.7G
SOTAContext2K context · 1 user12K—2,0202,020—
SOTAContext4K context · 1 user14K—1,9221,9229.7G
SOTAContext8K context · 1 user18K—1,4551,455—
SOTAContext32K context · 1 user132K—1,3751,37511.6G
SOTAContext64K context · 1 user164K—1,337.91,33813.7G
FAIL/OOMContext128K context · 1 user (rep4 fail)1128K—959.195918.0G
SOTAContext1K context · 16 users161K—1,32921,26411.1G
SOTAContext8K context · 16 users168K—1,028.616,45818.4G
SOTAContext16K context · 16 users1616K—657.410,51827.0G
SOTAContext32K context · 16 users1632K—554.98,87844.3G
SOTAContext64K context · 16 users1664K—327.45,23878.8G
SOTAContext128K context · 16 users16128K—189.53,032147.8G
SOTAContext1K context · 64 users641K—600.238,41314.4G
SOTAContext4K context · 64 users644K—438.428,05828.2G
SOTAContext16K context · 64 users6416K—220.414,10680.0G
SOTAContext32K context · 64 users6432K—128.68,230149.0G
FAIL/OOMContext64K context · 64 users (OOM)6464K————

5. Submitting to the Frontier on GitHub

The canonical ledger (benchmarks/frontiers.json), reproducible 1× B300 Modal sweep (benchmarks/sweep_b300.py), piecewise-linear and log2 interpolation checker (scripts/check_pareto.py), multi-format exporter (scripts/export_pareto.py), strict rules (RULES.md), raw JSONL logs, and PR template live in Steve8323/fastest-gpu-inference. Fork the repository, run on 1× NVIDIA B300 against unmodified Llama-3.1-8B-Instruct, confirm your coordinates strictly beat the interpolated curve via check_pareto.py, add your entry under unverified, and open a pull request. Qualifying PRs go live immediately as UNVERIFIED SOTA and promote to VERIFIED SOTA upon independent B300 reproduction. For the low-level kernel and quantization breakdown behind our initial points, read Fastest GPU Inference in the World.

Llama 8B Inference Pareto Benchmark on GitHub: 3D + 2D adaptive charts, frontiers.json, check_pareto.py, export_pareto.py, CSV/JSON exports, and SOTA submissions.→