[GH-ISSUE #5005] [Benchmark] RTX 4090 48 GB + Qwen3.8-Flash-Next IQ3_S: 4.1k tok/s prefill, 160 tok/s decode on a 933K-token deep-review workload #2309

Closed
opened 2026-11-04 01:58:20 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @wangminle on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5005

Strata benchmark: Qwen3.8-Flash-Next IQ3_S on a deep code-review workload

Date: 2026-11-02. Same machine, model file and tuned launch as #4813 and #4768.

What this is

A basic speed record from a real workload, not the standard benchmark protocol. One local server reviewed a
private Python/TypeScript repository in 46 sequential requests with thinking on, and every engine timing was kept.
Only the prefill and decode numbers are reported; the review's output is not part of this record.

Totals: 46 requests, 933,797 prompt tokens (917,483 cold), 331,169 generated tokens, 2,264.4 s summed request
time (37.7 min)
.

Hardware and software

  • GPU: NVIDIA GeForce RTX 4090, 49,140 MiB VRAM, driver 595.91.07, power limit 450 W
  • RAM: 282.8 GiB; Linux 7.0.0-42-generic; CUDA 13.2 (driver)
  • Strata Terminal 0.2.7 (build 0.1.53), engine 0.1.52, Linux CUDA build
  • Model: Qwen3.8-Flash-Next, ISTA-DASLab GSQ-RCO IQ3_S, MTP draft layer
  • Context 131,072 tokens, KV int8, kv-resident 32768, temperature 0 throughout
  • Expert cache 20,810 slots / 39.65 GiB; the prompt path borrows 6,909 slots / 13.27 GiB. No image was sent.

Command

The tuned launch from #4768 / #4813 (text only):

strata launch --family qwen --model iq3_s --context 128k \
  --vision off --parallel 1 \
  --set spec=6 --set spec-min-p=0.70 --set pcie-frac=0.35 \
  --set vram-reserve-mib=1024 --set prefill=auto:32768 \
  --set STRATA_HC_Q8=1 \
  --yes --no-tui

The engine reported parallel_slots=1, spec=6 / mtp_max=6, spec_min_p=0.70, pcie_frac=0.35,
prefill_cap=32768.

Workload and method

  • 46 sequential /v1/chat/completions requests, streaming, thinking on (reasoning_effort=max),
    temperature=0, max_tokens=8000:
    • initial pass: 31 requests covering 255 review units (whole files, or 1,100-line windows with 80-line
      overlap; batches of at most 60,000 characters);
    • supplemental pass: 15 requests re-asking the batches that hit the 8-findings-per-request output cap,
      with the already-reported findings attached and only new findings requested.
  • Prompt size 16,314–25,200 tokens (20,300 on average); generated 6,532–7,503 tokens (7,199 on average);
    the model wrote 1,147,637 reasoning characters in total.
  • Speeds are the engine's own timings (prompt_per_second, predicted_per_second); draft acceptance is
    accepted/offered from timings; TTFT is client-measured and includes queueing, prefill and first-token overhead.
  • Cold prefill only: one request reused 16,309 prompt tokens from a pre-run smoke request. The engine's
    prompt_per_second counts only uncached tokens, so that request is excluded from the prefill column (its TTFT
    is still in the TTFT median). The other 45 requests were cold.
  • Weighted decode = total generated tokens / sum of per-request decode time.
  • One run per pass, no repeats.

Results

Pass Requests Prompt tokens Generated tokens Prefill, cold, weighted Prefill, median per request (p10–p90) Decode, weighted Decode, median (p10–p90) TTFT, median (p10–p90) MTP acceptance, median Summed request time
initial, thinking 31 620,184 (603,870 cold) 223,519 4,057.8 tok/s 4,594.6 (3,345.3–4,699.6) 162.5 tok/s 159.8 (153.4–164.9) 4.37 s (3.89–4.90) 78.40 % 25.4 min
supplemental, thinking 15 313,613 107,650 4,419.9 tok/s 4,657.6 (3,929.1–4,727.8) 160.1 tok/s 160.4 (153.9–166.1) 4.37 s (4.05–4.96) 78.57 % 12.4 min
both 46 933,797 (917,483 cold) 331,169 — — — — — — 37.7 min

Notes:

  • Weighted prefill is below the per-request median because several 19K–24K-token batches ran at 3.0–3.6K tok/s;
    the slowest was 3,038.8 tok/s. The weighted figure is given as measured, outliers included.
  • Decode p10–p90 is 153.4–164.9 tok/s in the initial pass and 153.9–166.1 tok/s in the supplemental pass; one
    request reached 228.3 tok/s.
  • All 46 requests ended with finish_reason=stop; there were no request errors, timeouts or JSON parse failures.
  • The initial pass's one cached request explains why its prompt total (620,184) is larger than its cold total
    (603,870).

Compared with #4813

Same machine and launch; #4813's deep pass is the closest earlier record.

#4813 deep pass this initial pass
Requests 32 31
Prompt tokens 587,435 620,184
Generated tokens 95,566 223,519
Prefill, cold, weighted 4,485.1 tok/s 4,057.8 tok/s
Prefill, median 4,665.5 tok/s 4,594.6 tok/s
Decode, weighted / median 161.6 / 161.8 tok/s 162.5 / 159.8 tok/s
TTFT, median 4.07 s 4.37 s
MTP acceptance, median 80.3 % 78.40 %
max_tokens 3,200 8,000
Summed request time 12.0 min 25.4 min

Decode and acceptance are essentially unchanged. Weighted prefill is about 9.5% lower, but the average prompt here
is 9% longer (20,006 vs 18,357 tokens) and the two workloads are different, so this is not a controlled A/B.
The much longer outputs here (7,210 vs 2,986 generated tokens per request, 2.4×) are the main reason the initial
pass took about twice as long.

What I take from it

  1. Long thinking outputs sustain about 160 tok/s decode. With 7.2K generated tokens per request on average,
    decode stayed at 159.8–160.4 tok/s median across both passes.
  2. Cold prefill was 4.1–4.4K tok/s weighted, 4.6K tok/s median. The per-request spread is wider than in
    #4813 because the longest prompts in this set were slower.
  3. A request cap of 8,000 tokens was sufficient: no request was truncated, and the 46-request run completed
    without failures.

Not tested / limits

  • Not the standard benchmark protocol: no fixed prompts, no repeats, no fresh-engine control, sequential
    requests only (no concurrency or batch throughput).
  • One machine, one model file, one day. Background load was not recorded; GPU clocks and power were not captured.
  • Release build 0.1.52 with no source commit; not compared against another engine version.
  • The prompt mix is code and test files, not chat; the numbers should not be read as chat throughput.
  • The repository is private; only timing aggregates are reported, not its code or the review's findings.
  • Prompt sizes vary per request; weighted figures are dominated by token count, medians treat each request alike.
  • Raw per-request records exist (46 rows: prompt/cached/generated tokens, TTFT, engine prefill and decode tok/s,
    draft acceptance). I can paste or attach them if useful.
Originally created by @wangminle on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5005 # Strata benchmark: Qwen3.8-Flash-Next IQ3_S on a deep code-review workload Date: 2026-11-02. Same machine, model file and tuned launch as #4813 and #4768. ## What this is A basic speed record from a real workload, not the standard benchmark protocol. One local server reviewed a private Python/TypeScript repository in 46 sequential requests with thinking on, and every engine timing was kept. Only the prefill and decode numbers are reported; the review's output is not part of this record. Totals: **46 requests, 933,797 prompt tokens (917,483 cold), 331,169 generated tokens, 2,264.4 s summed request time (37.7 min)**. ## Hardware and software - GPU: NVIDIA GeForce RTX 4090, 49,140 MiB VRAM, driver 595.91.07, power limit 450 W - RAM: 282.8 GiB; Linux 7.0.0-42-generic; CUDA 13.2 (driver) - Strata Terminal 0.2.7 (build 0.1.53), engine 0.1.52, Linux CUDA build - Model: Qwen3.8-Flash-Next, ISTA-DASLab GSQ-RCO IQ3_S, MTP draft layer - Context 131,072 tokens, KV int8, `kv-resident 32768`, temperature 0 throughout - Expert cache 20,810 slots / 39.65 GiB; the prompt path borrows 6,909 slots / 13.27 GiB. No image was sent. ## Command The tuned launch from #4768 / #4813 (text only): ```sh strata launch --family qwen --model iq3_s --context 128k \ --vision off --parallel 1 \ --set spec=6 --set spec-min-p=0.70 --set pcie-frac=0.35 \ --set vram-reserve-mib=1024 --set prefill=auto:32768 \ --set STRATA_HC_Q8=1 \ --yes --no-tui ``` The engine reported `parallel_slots=1`, `spec=6` / `mtp_max=6`, `spec_min_p=0.70`, `pcie_frac=0.35`, `prefill_cap=32768`. ## Workload and method - 46 sequential `/v1/chat/completions` requests, streaming, thinking on (`reasoning_effort=max`), `temperature=0`, `max_tokens=8000`: - initial pass: 31 requests covering 255 review units (whole files, or 1,100-line windows with 80-line overlap; batches of at most 60,000 characters); - supplemental pass: 15 requests re-asking the batches that hit the 8-findings-per-request output cap, with the already-reported findings attached and only new findings requested. - Prompt size 16,314–25,200 tokens (20,300 on average); generated 6,532–7,503 tokens (7,199 on average); the model wrote 1,147,637 reasoning characters in total. - Speeds are the engine's own timings (`prompt_per_second`, `predicted_per_second`); draft acceptance is accepted/offered from `timings`; TTFT is client-measured and includes queueing, prefill and first-token overhead. - **Cold prefill only**: one request reused 16,309 prompt tokens from a pre-run smoke request. The engine's `prompt_per_second` counts only uncached tokens, so that request is excluded from the prefill column (its TTFT is still in the TTFT median). The other 45 requests were cold. - Weighted decode = total generated tokens / sum of per-request decode time. - One run per pass, no repeats. ## Results | Pass | Requests | Prompt tokens | Generated tokens | Prefill, cold, weighted | Prefill, median per request (p10–p90) | Decode, weighted | Decode, median (p10–p90) | TTFT, median (p10–p90) | MTP acceptance, median | Summed request time | | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | | initial, thinking | 31 | 620,184 (603,870 cold) | 223,519 | **4,057.8 tok/s** | 4,594.6 (3,345.3–4,699.6) | **162.5 tok/s** | 159.8 (153.4–164.9) | 4.37 s (3.89–4.90) | 78.40 % | 25.4 min | | supplemental, thinking | 15 | 313,613 | 107,650 | **4,419.9 tok/s** | 4,657.6 (3,929.1–4,727.8) | **160.1 tok/s** | 160.4 (153.9–166.1) | 4.37 s (4.05–4.96) | 78.57 % | 12.4 min | | **both** | **46** | **933,797 (917,483 cold)** | **331,169** | — | — | — | — | — | — | **37.7 min** | Notes: - Weighted prefill is below the per-request median because several 19K–24K-token batches ran at 3.0–3.6K tok/s; the slowest was 3,038.8 tok/s. The weighted figure is given as measured, outliers included. - Decode p10–p90 is 153.4–164.9 tok/s in the initial pass and 153.9–166.1 tok/s in the supplemental pass; one request reached 228.3 tok/s. - All 46 requests ended with `finish_reason=stop`; there were no request errors, timeouts or JSON parse failures. - The initial pass's one cached request explains why its prompt total (620,184) is larger than its cold total (603,870). ## Compared with #4813 Same machine and launch; #4813's deep pass is the closest earlier record. | | #4813 deep pass | this initial pass | | --- | ---: | ---: | | Requests | 32 | 31 | | Prompt tokens | 587,435 | 620,184 | | Generated tokens | 95,566 | 223,519 | | Prefill, cold, weighted | 4,485.1 tok/s | 4,057.8 tok/s | | Prefill, median | 4,665.5 tok/s | 4,594.6 tok/s | | Decode, weighted / median | 161.6 / 161.8 tok/s | 162.5 / 159.8 tok/s | | TTFT, median | 4.07 s | 4.37 s | | MTP acceptance, median | 80.3 % | 78.40 % | | `max_tokens` | 3,200 | 8,000 | | Summed request time | 12.0 min | 25.4 min | Decode and acceptance are essentially unchanged. Weighted prefill is about 9.5% lower, but the average prompt here is 9% longer (20,006 vs 18,357 tokens) and the two workloads are different, so this is not a controlled A/B. The much longer outputs here (7,210 vs 2,986 generated tokens per request, 2.4×) are the main reason the initial pass took about twice as long. ## What I take from it 1. **Long thinking outputs sustain about 160 tok/s decode.** With 7.2K generated tokens per request on average, decode stayed at 159.8–160.4 tok/s median across both passes. 2. **Cold prefill was 4.1–4.4K tok/s weighted, 4.6K tok/s median.** The per-request spread is wider than in #4813 because the longest prompts in this set were slower. 3. **A request cap of 8,000 tokens was sufficient**: no request was truncated, and the 46-request run completed without failures. ## Not tested / limits - **Not the standard benchmark protocol**: no fixed prompts, no repeats, no fresh-engine control, sequential requests only (no concurrency or batch throughput). - One machine, one model file, one day. Background load was not recorded; GPU clocks and power were not captured. - Release build 0.1.52 with no source commit; not compared against another engine version. - The prompt mix is code and test files, not chat; the numbers should not be read as chat throughput. - The repository is private; only timing aggregates are reported, not its code or the review's findings. - Prompt sizes vary per request; weighted figures are dominated by token count, medians treat each request alike. - Raw per-request records exist (46 rows: prompt/cached/generated tokens, TTFT, engine prefill and decode tok/s, draft acceptance). I can paste or attach them if useful.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report.

The Strata project

<!-- gh-comment-id:6658895115 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report. The Strata project
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2309
No description provided.