For the measured Qwen3-8B/32B configurations with 1,024–8,192 output tokens, one verification replay took 0.85%–8.42% of generation time. This is not a universal ratio: with 8,192 input tokens and 16 output tokens, the 8B Worker/Verifier time ratio was 0.81, meaning verification was slower.
These are compute-time ratios, not user bills or total production service costs.
Why replay can be faster
Worker generation uses sequential decoding. Its time is approximately the output length multiplied by the time per decoded token. Measurements were approximately 17.5 ms/token for 8B on a 4090 and 22.7 ms/token for 32B on an H100 NVL. At a fixed 1,024-token output, increasing input from 128 to 8,192 tokens increased Worker time by approximately 10%–12%.
Verifier replay uses parallel prefill over the input and output, with measured throughput of approximately 4,000–6,800 tokens/second plus fixed overhead. Longer outputs favor replay; longer inputs add prefill work and narrow the advantage.
Configuration
| Item | Configuration |
|---|---|
| Models and hardware | Qwen3-8B on one RTX 4090; Qwen3-32B on one H100 NVL |
| Engine | vLLM 0.29.0, offline LLM class, V1 EngineCore |
| Precision | BF16, tensor parallel = 1 |
| Measurement | top-k logprobs = 20; 2 warm-ups; 5 repetitions; batch = 1 |
| Worker | prefill(input) + decode(output_len), fixed output using ignore_eos + min_tokens |
| Verifier | One prefill of input_ids + output_ids, max_tokens=1, prompt_logprobs=20 |
Both paths use the same vLLM instance, model and GPU state.
Representative Worker/Verifier time ratios
| Input / output tokens | 8B (4090) | 32B (H100 NVL) |
|---|---|---|
| 512 / 1,024 | 81.5× | 85.7× |
| 128 / 2,048 | 113.6× | 73.6×; identified as a noisy Verifier measurement |
| 1,024 / 4,096 | 104.6× | 96.0× |
| 128 / 4,096 | 84.4× | 117.1× |
Across the 1,024–8,192-output-token region, replay takes 0.85%–8.42% of generation time, corresponding to Worker/Verifier ratios of about 117× at the favorable end and 11.9× for input 8,192 / output 1,024 at the other end.
Matrix excerpt: Qwen3-8B on RTX 4090
| Input / output | 1 | 16 | 64 | 256 | 1,024 | 2,048 | 4,096 | 8,192 |
|---|---|---|---|---|---|---|---|---|
| 128 | 0.82 | 8.36 | 26.27 | 70.10 | 103.78 | 113.56 | 84.45 | 97.99 |
| 1,024 | 0.64 | 2.47 | 7.33 | 25.02 | 62.45 | 84.70 | 104.62 | 92.44 |
| 4,096 | 0.78 | 1.20 | 1.90 | 8.33 | 19.58 | 46.38 | 51.76 | 62.43 |
| 8,192 | 0.62 | 0.81 | 1.40 | 3.88 | 12.19 | 21.16 | 36.65 | 50.13 |
The report contains the full 6×8 matrix. All one-token-output ratios are below 1: computing top-k logprobs at every position outweighs the small saving in decoding. Long inputs with short outputs can also fall below 1. When output greatly exceeds input, ratios approach approximately 90–110× in these measurements.
Separate experiment: three Qwen2.5-7B replays
This earlier input-length sweep measures three complete prefill passes divided by the time for one generation: 3 × tf_full / gen.
| Input tokens | Three prefills / one generation |
|---|---|
| 50 | 1.9% |
| 200 | 2.1% |
| 1,000 | 3.3% |
| 4,000 | 8.2% |
| 8,000 | 14.8% |
Configuration: Qwen2.5-7B base, FP16, one RTX PRO 6000 Blackwell 96 GB, vLLM 0.20.1, batch 1 and a fixed 1,000-token output. The retained summary does not give repetition counts or absolute timings; complete logs are not in the current website files.
The two experiments are not interchangeable. The 1.9%–14.8% range is not the Qwen3 result multiplied by three. The GitHub organization table labels this row “same benchmark,” which conflicts with the whitepaper and experiment page; use the latter sources for the measurement definition.
What production cost still includes
These are single-request, batch-1 timings. Continuous batching can change Worker cost per token, and Verifiers can batch replays. Concurrency, scheduling and hardware utilization affect the ratio, so the experiment does not establish a continuous-batching service cost ratio.
Unmeasured end-to-end items include networking, queuing, evidence generation/storage, Builder coordination, chain submission/gas, all three Verifiers, retries, challenges and settlement. Time to first token (TTFT) is not separately measured because vLLM V1 does not expose the old first_token_time field.
Reproduction
The Qwen3 script is tools/vllm_worker_verify_pipeline/benchmark_worker_verifier_latency.py. The repository includes commands, latency_summary.csv, per-run latency_raw.jsonl and environment metadata.
