Saylek

GB200 Long-Context Inference Calculator

Rough estimate only

Qwen3.8-27B Q4 · 2 GB200 superchips · 4 GPUs · 740 GiB HBM3e · up to 1M context

Rough estimate only. This is not a benchmark, a measurement or a performance guarantee. Every number on this page is a theoretical roofline estimate. Results come from bandwidth and compute ceilings scaled by the utilization factors you set. The model architecture values are assumptions, listed under “Assumptions” below. Context lengths beyond what the model is verified to support (for example 1M tokens) show hypothetical capacity only.

KV cache quantization
Multi-token prediction

Decode performance Estimate

System aggregate decode
tok/s
Decode per user
tok/s
Aggregate per GPU
tok/s
Aggregate per superchip
tok/s
Without MTP
aggregate tok/s
MTP acceleration
Primary bottleneck

Prefill performance Estimate

Aggregate prefill
tok/s
Prefill per GPU
tok/s
Cold TTFT per request
Prefill all active sessions

Memory and concurrency Estimate

Active concurrent users
Maximum resident users
KV + state per session
GB
Total resident context capacity
tokens

HBM allocation per GPU

Batching efficiency Estimate

Weight reads per batch step
KV reads per batch step
Total reads per batch step
Effective reads per output token
Bandwidth savings from batching

Context length scaling Estimate

Maximum resident users at KV

System decode at maximum residency, tok/s

Table view
ContextMax resident usersUsers per GPUSystem decode, tok/sPer user, tok/s
Assumptions (editable)
  • Each GPU holds a full copy of the weights and serves its own users, so the four GPUs act as four independent replicas.
  • KV bytes per token = attention layers × KV heads × head dim × 2 (K and V) × bytes per element (FP16 2, FP8 1, Q4 0.5). Quantization scales are not counted.
  • Session size = KV for the full context + the recurrent state of the linear-attention layers (layers × heads × dk × dv × 4 bytes).
  • Maximum resident users per GPU = ⌊(HBM × allocation − weights) ÷ session size⌋.
  • Decode reads per step = weights + users × KV × (1 + k × (1 − reuse)) for MTP-k. Recurrent-state traffic is not counted.
  • Step time = max(reads ÷ (bandwidth × utilization), FLOPs ÷ (peak × utilization)), multiplied by (1 + overhead) when MTP is on.
  • Tokens per step with MTP-k = 1 + p + p² + … + pk, where p is the acceptance probability.
  • FLOPs per token = 2 × parameters + 4 × attention layers × query heads × head dim × attended tokens. Decode attends the whole context. Prefill attends half of it on average, because attention is causal.
  • Cold TTFT = context ÷ the prefill rate of one GPU. “Prefill all active sessions” = every active user’s context ÷ aggregate prefill.