RTX 4090 LLM inference benchmarks
Real model serving and controlled development measurements, with exact workload context and explicit limitations.
Read full A/B reportQwen3.8-27B IQ3_S real-world serving
RTX 4090 24 GB, CUDA 13.4, DFlash2 K=5; real requests logged October 30–31, 2026.
| Metric | Observed result |
|---|---|
| Completed requests | 1,831 |
| Median decode | 146.6 tok/s |
| P90 decode | 215.5 tok/s |
| Median long prefill (316 requests) | 2,345 tok/s |
Per-request rates, not aggregate throughput or a controlled fork-versus-upstream speedup. MTP and vision were not benchmarked in this campaign.
Original serving-log methodology →Swift 1.5 single-request measurements
Zero baseline, scale 0–250 tok/s. Individual observations, 2,048 output tokens per test.
October 19, 2026; client-observed decode of 2,048 output tokens on RTX 4090.
| Input context | Decode tok/s | TTFT |
|---|---|---|
| ~1K | 217.98 | 0.35 s |
| ~32K | 229.04 | 10.06 s |
| ~100K | 207.78 | 36.23 s |
| ~160K | 191.78 | 66.82 s |
Single observed runs, not averages or proof of isolated DFlash2 gains. No server acceptance log was available.
Full Swift 1.5 report →Controlled long-context A/B
November 25, 2026, development candidate 859d76b7 defaults vs stable v0.1.3. Five-arm test, same model and repeated corpus, 512 decode tokens, two repetitions per arm.
| Context | Stable tok/s | Candidate tok/s | Delta |
|---|---|---|---|
| 32K | 262.78 | 260.46 | −0.88% |
| 64K | 245.67 | 250.22 | +1.85% |
| 128K | 214.29 | 220.86 | +3.07% |
Earlier shorter-decode tests regressed; later candidate results at 176,128 and 196,608 context were +1.89% and +3.07% respectively. These limited tests do not qualify the exact v0.1.4 binary or establish a universal speedup. Experimental settings remain opt-in.
Reproduce and contribute
Use the same hardware, model, quantization, CUDA, prompts, KV format and GPU conditions. Record warmup, repetitions, throughput, peak VRAM and output correctness. No matched comparison with llama.cpp, Ollama or vLLM has been established by these measurements.
New Bonsai 2.5 measurements on v0.1.4
RTX 4090, exact published benchmark binary, MTP K=3 with default n-gram copy, rk4v4, 32K capacity, 2,048 input and 128 decode tokens, two measured repetitions and one warmup.
| Artifact | Prefill tok/s | Decode tok/s | File GiB |
|---|---|---|---|
| PTQ1_0 | 4,635.36 | 291.69 | 6.17 |
| PQ2_0 | 6,295.90 | 323.88 | 7.37 |
Short engine measurement, not an HTTP serving rate, model-quality comparison or universal speedup.
v0.1.4 draft-width measurements
Huihui IQ3_S, 2,048 prompt and 128 timed decode tokens, two repetitions, 32K context, rk4v4, n-gram copy disabled.
| Backend | Prefill tok/s | Decode tok/s | Acceptance | Weights + runtime (GiB) |
|---|---|---|---|---|
| none | 3,874.13 | 70.38 | — | 11.88 |
| DFlash2 3 | 3,805.45 | 201.93 | 93.07% | 14.78 |
| DFlash2 5 | 3,766.16 | 257.13 | 85.83% | 14.78 |
| DFlash2 7 | 3,729.58 | 326.41 | 88.00% | 14.79 |
| DFlash2 9 | 3,819.98 | 269.33 | 74.50% | 14.79 |
| MTP 3 | 3,799.12 | 200.31 | 89.42% | 12.67 |
| MTP 5 | 3,766.82 | 242.59 | 85.83% | 12.68 |
These short synthetic Engine tests favor this specific draft acceptance. K=7 was fastest here, K=9 slower. No universal speedup or quality comparison.
Monitor your local inference
GPU utilization, VRAM, temperature, power, decode/prefill, DFlash2 acceptance and KV occupancy in your browser. Bundled with ninfer-serve; no separate service required.