[GH-ISSUE #274] Speed Report: RTX 4090 24GB, AMD Ryzen 7 9700x, 64GB RAM #103

Closed
opened 2026-10-29 21:20:53 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @MagikEh on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/274

I grabbed the S24/M/L models and ran a suite of tests against each with Vision: On/Off and Context: 32k/128k to understand the different pros and cons of how the LLM ran on a "high-end gaming system".
To augment the results, I also tried to determine how smart each model was by creating a local trustmebro benchmark suite.
To understand the full context of migrating to GLM5.3, I also ran a "smartness" benchmark suite against my current llama.cpp served LLMs:

  • unsloth/Qwen3.8-27B-UD-Q4_K_XL.gguf
  • unsloth/Gemma-4-31B-it-qat-UD-Q4_K_XL.gguf
  • nvidia/Nemotron-3-Nano-4B-Q4_K_M.gguf

Speed Results

Config (model / ctx / vision) Mean decode (tok/s) Prefill @2048 / @8192 (tok/s) Best engine decode (tok/s) VRAM pool slots VRAM hit % (range) Disk reads/tok (range)
L / 32k / vision 4.2 108 / 419 5.34 1,224 35–47 47–71
L / 32k / no_vision 4.4 110 / 427 5.46 1,260 35–47 46–69
L / 132k / vision 4.1 107 / 414 5.25 1,241 34–47 48–74
L / 132k / no_vision 4.2 108 / 419 5.38 1,242 34–47 47–72
M / 32k / vision 9.3 203 / 766 10.31 1,722 43–50 25–31
M / 32k / no_vision 9.2 204 / 773 10.09 1,724 43–52 26–31
M / 132k / vision 8.8 200 / 749 9.99 1,710 42–52 27–34
M / 132k / no_vision 8.6 194 / 753 9.95 1,703 42–52 27–34
S24 / 32k / vision 16.2 365 / 1328 17.75 2,349 49–55 11–15
S24 / 32k / no_vision 16.6 365 / 1320 18.86 2,362 54–68 11–15
S24 / 132k / vision 15.9 345 / 1256 18.33 2,332 54–68 12–17
S24 / 132k / no_vision 15.6 345 / 1271 17.30 2,342 49–56 12–16

What these results show:

  • Speed scales inversely with expert size: L ≈ 4.2 → M ≈ 9 → S24 ≈ 16 tok/s mean decode, and prefill scales the same way (420 → 760 → 1,300 tok/s @8k).
  • The expert cache is the bottleneck: decode time is dominated by disk/RAM fetch waits, so the tier with the highest VRAM hit rate and fewest disk reads (S24) wins. L spends 125–193 ms/tok waiting on disk; S24 only 20–30 ms/tok.
  • Context length is a secondary factor: 128k costs 5–8 % decode and ~1–3 % prefill vs 32k, uniformly across tiers.
  • Vision is essentially free at inference: the MMPROJ only adds a few hundred MB of VRAM and no measurable decode/prefill penalty, since all timed phases (text prefill + text decode) bypass it. (MOE offloading FTW!)
Click here for all `report` and `bench` logs.
LLM GGUF Context Vision bench.txt report.txt
L 32k 👀 ✅ maya-bench-L-32768.txt maya-report-L-32768.txt
L 32k 👀 ❌ maya-bench-L-32768-no_vision.txt maya-report-L-32768-no_vision.txt
L 128k 👀 ✅ maya-bench-L-131072.txt maya-report-L-131072.txt
L 128k 👀 ❌ maya-bench-L-131072-no_vision.txt maya-report-L-131072-no_vision.txt
M 32k 👀 ✅ maya-bench-M-32768.txt maya-report-M-32768.txt
M 32k 👀 ❌ maya-bench-M-32768-no_vision.txt maya-report-M-32768-no_vision.txt
M 128k 👀 ✅ maya-bench-M-131072.txt maya-report-M-131072.txt
M 128k 👀 ❌ maya-bench-M-131072-no_vision.txt maya-report-M-131072-no_vision.txt
S24 32k 👀 ✅ maya-bench-S24-32768.txt maya-report-S24-32768.txt
S24 32k 👀 ❌ maya-bench-S24-32768-no_vision.txt maya-report-S24-32768-no_vision.txt
S24 128k 👀 ✅ maya-bench-S24-131072.txt maya-report-S24-131072.txt
S24 128k 👀 ❌ maya-bench-S24-131072-no_vision.txt maya-report-S24-131072-no_vision.txt

Smartness Results

model ctx smartness% MATH GSM8K MMLU decode tok/s mmlu - gsm8k - math Bench Runtime
DeepSeek-V4.1-Flash (Maya-S) - 68.7 70.0 56.0 80.0 0.2-3.8-9.2 3594s
Maya-M 32k 65.3 62.0 58.0 76.0 0.3 - 4.47 - 5.34 2321s
codegemma 64k 64.7 66.0 50.0 78.0 5.89 - 101.89 - 106.18 257s
Maya-L 32k 62.7 56.0 52.0 80.0 0.2 - 2.32 - 2.8 4428s
Maya-S24 32k 60.7 62.0 48.0 72.0 0.48 - 7.94 - 9.5 1465s
bigqwen 128k 53.3 44.0 54.0 62.0 9.46 - 92.64 - 97.73 377s
chatnemo 32k 46.7 52.0 36.0 52.0 15.64 - 205.47 - 234.58 78s

The small-fixed-subset, one-composite-number approach follows the tinyBenchmarks paper (arXiv:2402.14992); all subsets were baked offline into hard_data.json (seed 1234, no network at runtime), every answer greedy with thinking off, where smartness = unweighted mean of the three accuracies.

  • Math-500 = MATH-500 (levels 4-5, 512 tok)
  • GSM8K = GSM8K-hard (most-arithmetic 50, 384 tok)
  • MMLU = MMLU-hard (10 hardest STEM/logic subjects, 50 q)

Key takeaways

GLM5.3 served via Maya is slower (~15tok/s) by a long shot than the ~70tok/s I get from Qwen3.8. However, GLM5.3 uses under half the tokens of Qwen3.8, so the effective time to complete a task is only double. The GLM5.3 LLM definitely "feels" more capable, as when watching its thinking while processing a prompt, it is much more deliberate and less prone to second-guessing itself (this also, of course, leads to a much more adversarial partner while working through some issue or problem)

TLDR: GLM5.3 is slower but feels more deliberate.

Originally created by @MagikEh on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/274 I grabbed the S24/M/L models and ran a suite of tests against each with Vision: `On`/`Off` and Context: `32k`/`128k` to understand the different pros and cons of how the LLM ran on a "high-end gaming system". To augment the results, I also tried to determine how smart each model was by creating a local trustmebro benchmark suite. To understand the full context of migrating to GLM5.3, I also ran a "smartness" benchmark suite against my current `llama.cpp` served LLMs: - `unsloth`/`Qwen3.8-27B`-`UD-Q4_K_XL.gguf` - `unsloth`/`Gemma-4-31B-it`-`qat-UD-Q4_K_XL.gguf` - `nvidia`/`Nemotron-3-Nano-4B`-`Q4_K_M.gguf` ## Speed Results Config (model / ctx / vision) | Mean decode (tok/s) | Prefill @2048 / @8192 (tok/s) | Best engine decode (tok/s) | VRAM pool slots | VRAM hit % (range) | Disk reads/tok (range) | ----------------------------- | ------------------- | ----------------------------- | -------------------------- | --------------- | ------------------ | ---------------------- | `L / 32k / vision ` | 4.2 | 108 / 419 | 5.34 | 1,224 | 35–47 | 47–71 | `L / 32k / no_vision ` | 4.4 | 110 / 427 | 5.46 | 1,260 | 35–47 | 46–69 | `L / 132k / vision ` | 4.1 | 107 / 414 | 5.25 | 1,241 | 34–47 | 48–74 | `L / 132k / no_vision ` | 4.2 | 108 / 419 | 5.38 | 1,242 | 34–47 | 47–72 | `M / 32k / vision ` | 9.3 | 203 / 766 | 10.31 | 1,722 | 43–50 | 25–31 | `M / 32k / no_vision ` | 9.2 | 204 / 773 | 10.09 | 1,724 | 43–52 | 26–31 | `M / 132k / vision ` | 8.8 | 200 / 749 | 9.99 | 1,710 | 42–52 | 27–34 | `M / 132k / no_vision ` | 8.6 | 194 / 753 | 9.95 | 1,703 | 42–52 | 27–34 | `S24 / 32k / vision ` | 16.2 | 365 / 1328 | 17.75 | 2,349 | 49–55 | 11–15 | `S24 / 32k / no_vision ` | 16.6 | 365 / 1320 | 18.86 | 2,362 | 54–68 | 11–15 | `S24 / 132k / vision ` | 15.9 | 345 / 1256 | 18.33 | 2,332 | 54–68 | 12–17 | `S24 / 132k / no_vision ` | 15.6 | 345 / 1271 | 17.30 | 2,342 | 49–56 | 12–16 | What these results show: - Speed scales inversely with expert size: L ≈ 4.2 → M ≈ 9 → S24 ≈ 16 tok/s mean decode, and prefill scales the same way (420 → 760 → 1,300 tok/s @8k). - The expert cache is the bottleneck: decode time is dominated by disk/RAM fetch waits, so the tier with the highest VRAM hit rate and fewest disk reads (S24) wins. L spends 125–193 ms/tok waiting on disk; S24 only 20–30 ms/tok. - Context length is a secondary factor: 128k costs 5–8 % decode and ~1–3 % prefill vs 32k, uniformly across tiers. - Vision is essentially free at inference: the MMPROJ only adds a few hundred MB of VRAM and no measurable decode/prefill penalty, since all timed phases (text prefill + text decode) bypass it. (MOE offloading FTW!) <details><summary>Click here for all `report` and `bench` logs.</summary> LLM GGUF | Context | Vision | bench.txt | report.txt -------- | ------- | ------ | --------- | ---------- L | 32k | 👀 ✅ | [maya-bench-L-32768.txt](https://github.com/user-attachments/files/33668188/maya-bench-L-32768.txt) | [maya-report-L-32768.txt](https://github.com/user-attachments/files/33668184/maya-report-L-32768.txt) L | 32k | 👀 ❌ | [maya-bench-L-32768-no_vision.txt](https://github.com/user-attachments/files/33668190/maya-bench-L-32768-no_vision.txt) | [maya-report-L-32768-no_vision.txt](https://github.com/user-attachments/files/33668194/maya-report-L-32768-no_vision.txt) L | 128k | 👀 ✅ | [maya-bench-L-131072.txt](https://github.com/user-attachments/files/33668193/maya-bench-L-131072.txt) | [maya-report-L-131072.txt](https://github.com/user-attachments/files/33668182/maya-report-L-131072.txt) L | 128k | 👀 ❌ | [maya-bench-L-131072-no_vision.txt](https://github.com/user-attachments/files/33668180/maya-bench-L-131072-no_vision.txt) | [maya-report-L-131072-no_vision.txt](https://github.com/user-attachments/files/33668196/maya-report-L-131072-no_vision.txt) M | 32k | 👀 ✅ | [maya-bench-M-32768.txt](https://github.com/user-attachments/files/33668192/maya-bench-M-32768.txt) | [maya-report-M-32768.txt](https://github.com/user-attachments/files/33668179/maya-report-M-32768.txt) M | 32k | 👀 ❌ | [maya-bench-M-32768-no_vision.txt](https://github.com/user-attachments/files/33668176/maya-bench-M-32768-no_vision.txt) | [maya-report-M-32768-no_vision.txt](https://github.com/user-attachments/files/33668183/maya-report-M-32768-no_vision.txt) M | 128k | 👀 ✅ | [maya-bench-M-131072.txt](https://github.com/user-attachments/files/33668185/maya-bench-M-131072.txt) | [maya-report-M-131072.txt](https://github.com/user-attachments/files/33668178/maya-report-M-131072.txt) M | 128k | 👀 ❌ | [maya-bench-M-131072-no_vision.txt](https://github.com/user-attachments/files/33668175/maya-bench-M-131072-no_vision.txt) | [maya-report-M-131072-no_vision.txt](https://github.com/user-attachments/files/33668187/maya-report-M-131072-no_vision.txt) S24 | 32k | 👀 ✅ | [maya-bench-S24-32768.txt](https://github.com/user-attachments/files/33668186/maya-bench-S24-32768.txt) | [maya-report-S24-32768.txt](https://github.com/user-attachments/files/33668195/maya-report-S24-32768.txt) S24 | 32k | 👀 ❌ | [maya-bench-S24-32768-no_vision.txt](https://github.com/user-attachments/files/33668174/maya-bench-S24-32768-no_vision.txt) | [maya-report-S24-32768-no_vision.txt](https://github.com/user-attachments/files/33668177/maya-report-S24-32768-no_vision.txt) S24 | 128k | 👀 ✅ | [maya-bench-S24-131072.txt](https://github.com/user-attachments/files/33668181/maya-bench-S24-131072.txt) | [maya-report-S24-131072.txt](https://github.com/user-attachments/files/33668189/maya-report-S24-131072.txt) S24 | 128k | 👀 ❌ | [maya-bench-S24-131072-no_vision.txt](https://github.com/user-attachments/files/33668191/maya-bench-S24-131072-no_vision.txt) | [maya-report-S24-131072-no_vision.txt](https://github.com/user-attachments/files/33668197/maya-report-S24-131072-no_vision.txt) </details> ## Smartness Results | model | ctx | smartness% | MATH | GSM8K | MMLU | decode tok/s `mmlu - gsm8k - math ` | Bench Runtime | | --------- | ---- | ---------- | ---- | ----- | ---- | ---------------------- | ----- | | DeepSeek-V4.1-Flash (Maya-S) | - | 68.7 | 70.0 | 56.0 | 80.0 | 0.2-3.8-9.2 | 3594s | | Maya-M | 32k | 65.3 | 62.0 | 58.0 | 76.0 | `0.3 - 4.47 - 5.34 ` | 2321s | | codegemma | 64k | 64.7 | 66.0 | 50.0 | 78.0 | `5.89 - 101.89 - 106.18` | 257s | | Maya-L | 32k | 62.7 | 56.0 | 52.0 | 80.0 | `0.2 - 2.32 - 2.8 ` | 4428s | | Maya-S24 | 32k | 60.7 | 62.0 | 48.0 | 72.0 | `0.48 - 7.94 - 9.5 ` | 1465s | | bigqwen | 128k | 53.3 | 44.0 | 54.0 | 62.0 | `9.46 - 92.64 - 97.73 ` | 377s | | chatnemo | 32k | 46.7 | 52.0 | 36.0 | 52.0 | `15.64 - 205.47 - 234.58` | 78s | The small-fixed-subset, one-composite-number approach follows the tinyBenchmarks paper (arXiv:2402.14992); all subsets were baked offline into hard_data.json (seed 1234, no network at runtime), every answer greedy with thinking off, where smartness = unweighted mean of the three accuracies. - [Math-500](https://huggingface.co/datasets/HuggingFaceH4/MATH-500 ) = MATH-500 (levels 4-5, 512 tok) - [GSM8K](https://huggingface.co/datasets/openai/gsm8k) = GSM8K-hard (most-arithmetic 50, 384 tok) - [MMLU](https://huggingface.co/datasets/cais/mmlu) = MMLU-hard (10 hardest STEM/logic subjects, 50 q) ## Key takeaways GLM5.3 served via Maya is slower (~15tok/s) by a long shot than the ~70tok/s I get from Qwen3.8. However, GLM5.3 uses under half the tokens of Qwen3.8, so the effective time to complete a task is only double. The GLM5.3 LLM definitely "feels" more capable, as when watching its thinking while processing a prompt, it is much more deliberate and less prone to second-guessing itself (this also, of course, leads to a much more adversarial partner while working through some issue or problem) TLDR: GLM5.3 is slower but feels more deliberate.
Author
Owner

@mw00 commented on GitHub (Oct 20, 2026):

Thank you, @MagikEh - the Maya-S24 run on your RTX 4090 is now in the README's speed table. On a 24 GB card with 64 GB of RAM, Maya-M and Maya-L read many experts from the SSD each token, which is why Maya-S24 is the fastest choice there.

<!-- gh-comment-id:6295602278 --> @mw00 commented on GitHub (Oct 20, 2026): Thank you, @MagikEh - the Maya-S24 run on your RTX 4090 is now in [the README's speed table](https://github.com/mw00/project-maya#how-fast-is-it). On a 24 GB card with 64 GB of RAM, Maya-M and Maya-L read many experts from the SSD each token, which is why Maya-S24 is the fastest choice there.
Author
Owner

@MagikEh commented on GitHub (Oct 21, 2026):

I think the most amazing takeaway here is that the Deepseek 735B (distilled) parameter LLM is faster than the GLM5.3 320B parameter on such a space-constrained system!

<!-- gh-comment-id:6316608904 --> @MagikEh commented on GitHub (Oct 21, 2026): I think the most amazing takeaway here is that the Deepseek 735B (distilled) parameter LLM is faster than the GLM5.3 320B parameter on such a space-constrained system!
Sign in to join this conversation.
No labels
pull-request
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
mw00/project-maya#103
No description provided.