Skip to content

Blog ·

One coder, about 1,000 tokens a second: Qwen4-35B-A3B on one RTX 5090

One RTX 5090 running Qwen4-35B-A3B on Basalt, one request at a time, over the 164 HumanEval problems: about 1,000 output tokens a second, and 153 of 164 problems passed.

Two runs were made. Answers from run 2 were scored.

Results

Speeds are in output tokens a second.

Results
MeasureRun 1Run 2 (scored)
Output tokens, 164 answers38,98838,498
Answers that reached the 512-token cap118
Generation speed, all tokens1,0241,013
Generation speed, median answer1,1421,143
Generation speed, 10th to 90th percentile answer869 to 1,213864 to 1,209
Generation speed, slowest and fastest answer504 and 1,241445 and 1,262
Speed at the client, including time to first token735732
Time to first token, median0.1 s0.1 s
Drafted tokens kept91%91%
Tokens per draft step, median6.86.8
Problems passed (pass@1)not scored153 of 164 (93.3%)

Generation speed is the engine's timing from first to last output token of each answer. Speed at the client is output tokens divided by the client's wall time per request.

Per-answer observations (run 2)

From the engine's per-request log, split by whether the answer held text outside its code block.

Per-answer observations (run 2)
AnswersCountMedian generation speed (tokens/s)
Code only1341,158
Code plus written explanation30864

Correlation between an answer's generation speed and its share of drafted tokens kept: 0.92.

In a separate standard load test with one user, output was 353 tokens a second with the model's 20 GB n-gram table read from SSD and 405 with it held in RAM.

Setup

Same card, engine and model as our 64-request post. The power limit was 400 W for these runs and 600 W for that post.

Setup
ItemValue
GPUNVIDIA RTX 5090, 32 GB, power limit 400 W
EngineBasalt, built from its main branch (commit 7668b3fe13a3)
ModelQwen4-35B-A3B (35B total, about 3B active per token), NVFP4 experts built from Qwen's BF16 checkpoint
PlacementEvery expert resident on the card; the 20 GB n-gram table locked in system RAM
DraftingDFlash 2 block drafter, window 8
SamplingThe model's defaults: temperature 1.0, top-p 0.95
LoadOne request at a time, reasoning off, prompts of about 165 tokens

How it was measured

  • Prompt: each problem's function signature and docstring, asking for the complete function in a Python code block.
  • One answer per problem, at the model's default sampling (temperature 1.0, top-p 0.95).
  • Each answer was run against HumanEval's own tests in a sandbox with no network and a 10 s limit.
  • At the 512-token cap, 150 of 164 passed. The 8 capped answers were generated again with up to 2,048 tokens; with those, 153 of 164 passed.
  • The 11 failures: 9 wrong results, 1 index error, 1 syntax error.