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.
| Measure | Run 1 | Run 2 (scored) |
|---|---|---|
| Output tokens, 164 answers | 38,988 | 38,498 |
| Answers that reached the 512-token cap | 11 | 8 |
| Generation speed, all tokens | 1,024 | 1,013 |
| Generation speed, median answer | 1,142 | 1,143 |
| Generation speed, 10th to 90th percentile answer | 869 to 1,213 | 864 to 1,209 |
| Generation speed, slowest and fastest answer | 504 and 1,241 | 445 and 1,262 |
| Speed at the client, including time to first token | 735 | 732 |
| Time to first token, median | 0.1 s | 0.1 s |
| Drafted tokens kept | 91% | 91% |
| Tokens per draft step, median | 6.8 | 6.8 |
| Problems passed (pass@1) | not scored | 153 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.
| Answers | Count | Median generation speed (tokens/s) |
|---|---|---|
| Code only | 134 | 1,158 |
| Code plus written explanation | 30 | 864 |
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.
| Item | Value |
|---|---|
| GPU | NVIDIA RTX 5090, 32 GB, power limit 400 W |
| Engine | Basalt, built from its main branch (commit 7668b3fe13a3) |
| Model | Qwen4-35B-A3B (35B total, about 3B active per token), NVFP4 experts built from Qwen's BF16 checkpoint |
| Placement | Every expert resident on the card; the 20 GB n-gram table locked in system RAM |
| Drafting | DFlash 2 block drafter, window 8 |
| Sampling | The model's defaults: temperature 1.0, top-p 0.95 |
| Load | One 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.