Erste SchritteLeaderboardDecode calculatorModelleOrganizationsReportsMatrix runsHardwareBenchmarksMarktplatzVermietungenProAPI-Doku
Sprache
Actual Computer — Every computer, one endpoint

Speed test matrix

Qwen3.5-4B on H200 NVL 141GB

sglang · 0.5.6.post3.dev9269+g834400705 · BF166 contexts (8K–251K) × 8 concurrency levels (1–128) · prefill at 8K, 16K, 32K, 64K, 128K, 251K, 256K
by @keennaylmx dev importMeasured

Hardware

Type
Discrete GPU
GPU
H200 NVL
VRAM
141 GB
OS
linux

Engine

Engine
sglang
Version
0.5.6.post3.dev9269+g834400705
Quantization
BF16
Backend
cuda
Build
cuda-13.2
Commit
834400705f2d

Run

Served model
qwen
Revision
main
Decode test
Fixed duration
Prefill mode
Measured during decode warm-up
Time per measurement
30 s
Max output
4,096 tokens

Launch command

"$HOME/env_h200-z-lab-sglang/bin/sglang" serve --model-path Qwen/Qwen3.5-4B --served-model-name qwen --trust-remote-code --tp 1 --reasoning-parser qwen3 --tool-call-parser qwen3_coder --context-length 262144 --mem-fraction-static 0.856315 --enable-metrics --host 0.0.0.0 --port 8000 --api-key <redacted> --linear-attn-prefill-backend flashinfer --linear-attn-decode-backend flashinfer --mamba-scheduler-strategy extra_buffer --max-running-requests 32 --cuda-graph-max-bs-decode 32 --cuda-graph-backend-prefill tc_piecewise --enable-flashinfer-allreduce-fusion --attention-backend flashinfer --speculative-algorithm DFLASH --speculative-draft-model-path z-lab/Qwen3.5-4B-DFlash --speculative-dflash-block-size 8 --speculative-draft-attention-backend fa4

Prefill

prompt tok/s by context length
8K context37.1K219 ms TTFT
16K context38.2K422 ms TTFT
32K context34.9K919 ms TTFT
64K context27.6K2,325 ms TTFT
128K context19.5K6,579 ms TTFT
251K context12.3K20,439 ms TTFT
256K context12.2K21,030 ms TTFT

Sustained decode

total tok/s · rows are context length, columns are simultaneous requests
Context1248163264128
8K454.286 ms TTFT842.383 ms TTFT1,508.884 ms TTFT2,422.296 ms TTFT3,607.1229 ms TTFT4,657.1Requests queued651 ms TTFTNot runOver capacity
16K451.9104 ms TTFT797.4119 ms TTFT1,481.1108 ms TTFT2,247.9146 ms TTFT3,111.4413 ms TTFT3,997.3Requests queued1,271 ms TTFTNot runOver capacity
32K442.5165 ms TTFT657.4170 ms TTFT1,357.0208 ms TTFT2,103.9218 ms TTFT2,386.91,008 ms TTFT3,284.5Requests queued3,152 ms TTFTOver capacityOver capacity
64K404.2298 ms TTFT551.4455 ms TTFT1,151.4413 ms TTFT1,626.61,422 ms TTFT2,129.93,130 ms TTFTOver capacityOver capacityOver capacity
128K358.5548 ms TTFT258.1807 ms TTFT846.61,776 ms TTFT1,205.62,533 ms TTFTOver capacityOver capacityOver capacityOver capacity
251K292.5998 ms TTFT327.91,542 ms TTFT610.53,449 ms TTFTOver capacityOver capacityOver capacityOver capacityOver capacity

Requests queued: the server could not run all requests at once, so some waited in a queue. Over capacity: not run because this many requests at this context would exceed the server's KV cache. Not run: the benchmark skipped this measurement during the run, or the run stopped early.

TTFT is measured after the benchmark warms the server's prompt cache, so it mostly excludes prefill.

All measurements

Latencies are medians. Total tok/s is output across all simultaneous requests.
PhaseContextRequests at onceStatusTotal tok/sPer request tok/sTTFTTime between tokensAverage active requestsCompleted requestsOutput tokensMeasured for
Prefill8K1Valid37.1K—219 ms——1——
Prefill16K1Valid38.2K—422 ms——1——
Prefill32K1Valid34.9K—919 ms——1——
Prefill64K1Valid27.6K—2,325 ms——1——
Prefill128K1Valid19.5K—6,579 ms——1——
Prefill251K1Valid12.3K—20,439 ms——1——
Prefill256K1Valid12.2K—21,030 ms——1——
Sustained decode8K1Valid454.2455.586 ms2.2 ms1.0313,62530.0 s
Sustained decode8K2Valid842.3412.983 ms2.4 ms2.0625,27030.0 s
Sustained decode8K4Valid1,508.8383.084 ms2.6 ms4.01245,26030.0 s
Sustained decode8K8Valid2,422.2309.496 ms3.2 ms8.61672,66830.0 s
Sustained decode8K16Valid3,607.1222.2229 ms4.5 ms16.816108,19330.0 s
Sustained decode8K32Requests queued4,657.1149.5651 ms6.7 ms31.232139,71730.0 s
Sustained decode8K64Not run————————
Sustained decode8K128Over capacity————————
Sustained decode16K1Valid451.9452.8104 ms2.2 ms1.0313,55630.0 s
Sustained decode16K2Valid797.4407.4119 ms2.5 ms2.4623,92030.0 s
Sustained decode16K4Valid1,481.1377.1108 ms2.7 ms3.91244,43330.0 s
Sustained decode16K8Valid2,247.9295.0146 ms3.4 ms8.91667,43230.0 s
Sustained decode16K16Valid3,111.4199.0413 ms5.0 ms18.21693,33130.0 s
Sustained decode16K32Requests queued3,997.3136.91,271 ms7.3 ms29.765119,90430.0 s
Sustained decode16K64Not run————————
Sustained decode16K128Over capacity————————
Sustained decode32K1Valid442.5449.9165 ms2.2 ms1.0313,27430.0 s
Sustained decode32K2Valid657.4392.7170 ms2.5 ms6.0419,71830.0 s
Sustained decode32K4Valid1,357.0344.7208 ms2.9 ms3.9840,70130.0 s
Sustained decode32K8Valid2,103.9273.7218 ms3.7 ms8.01663,06430.0 s
Sustained decode32K16Valid2,386.9164.91,008 ms6.1 ms19.91671,58430.0 s
Sustained decode32K32Requests queued3,284.5112.63,152 ms8.9 ms29.74398,52430.0 s
Sustained decode32K64Over capacity————————
Sustained decode32K128Over capacity————————
Sustained decode64K1Valid404.2411.7298 ms2.4 ms1.0312,12530.0 s
Sustained decode64K2Valid551.4369.6455 ms2.7 ms7.5416,53830.0 s
Sustained decode64K4Valid1,151.4304.9413 ms3.3 ms4.2834,53930.0 s
Sustained decode64K8Valid1,626.6211.81,422 ms4.7 ms8.5848,79030.0 s
Sustained decode64K16Valid2,129.9163.43,130 ms6.2 ms15.91663,87730.0 s
Sustained decode64K32Over capacity————————
Sustained decode64K64Over capacity————————
Sustained decode64K128Over capacity————————
Sustained decode128K1Valid358.5373.5548 ms2.7 ms0.9210,75330.0 s
Sustained decode128K2Valid258.1225.7807 ms5.5 ms15.427,74130.0 s
Sustained decode128K4Valid846.6223.61,776 ms4.5 ms4.6425,40130.0 s
Sustained decode128K8Valid1,205.6163.22,533 ms6.1 ms7.9836,17130.0 s
Sustained decode128K16Over capacity————————
Sustained decode128K32Over capacity————————
Sustained decode128K64Over capacity————————
Sustained decode128K128Over capacity————————
Sustained decode251K1Valid292.5319.7998 ms3.1 ms0.928,77430.0 s
Sustained decode251K2Valid327.9198.71,542 ms5.3 ms6.329,83430.0 s
Sustained decode251K4Valid610.5168.73,449 ms5.9 ms4.2418,30730.0 s
Sustained decode251K8Over capacity————————
Sustained decode251K16Over capacity————————
Sustained decode251K32Over capacity————————
Sustained decode251K64Over capacity————————
Sustained decode251K128Over capacity————————

Requests queued: the server could not run all requests at once, so some waited in a queue. Over capacity: not run because this many requests at this context would exceed the server's KV cache. Not run: the benchmark skipped this measurement during the run, or the run stopped early.