Newshot

Ryzen AI Max+ Pro 495 192GB: Qwen Q6,249K Context Benchmark,ROCm and Mem Results

Original text(via HN AI)

AMD Halo 192 GB: Gufo 0.34.0 + Qwen3.8-Flash-Next Q4_K_XL + MTP — installation, shell benchmarks and four consecutive real Open WebUI tests

Test date: November 12, 2026 | Hardware: AMD Ryzen AI Max+ PRO 495 / Radeon 8065S (gfx1151) / 192 GB unified RAM

Thanks to everyone who suggested Gufo for AMD Halo! As promised in my earlier post, here are my actual results, in the order the experiments were performed: Gufo installation → first shell inference → synthetic long-context shell benchmarks → native Open WebUI integration → three substantial coding responses and one advanced mathematics task in the same chat.

Key results at a glance

ExperimentPrompt / depthGeneratedReported decode rateNotes
Earlier llama.cpp Q6 baselineShort promptShort output19.9 tok/sDifferent quantization and workload
Gufo Q4 + MTP, shell real-text96 input tokens512 tokens41.8 tok/s32K configured context
Gufo synthetic near-256K depthDepth 258,048 + 512 prompt256 tokens112.19 tok/sArtificially repetitive; not representative of coding
Gufo Open WebUI short response2,039 input tokens144 tokens42.4 tok/sReal browser chat
Coding test 1: Free Pascal + SQLite2,121 input tokens93,182 tokens55.0 tok/sReal long output
Coding test 2: PascalDB-X, same chat50,792 input tokens31,980 tokens54.3 tok/sLarger real input; same conversation
Coding test 3: Integration and code audit83,116 input tokens61,668 tokens47.9 tok/sReal Open WebUI, same chat
Test 4: Advanced mathematics137,021 last-call input tokens40,660 last-call output tokens54.1 tok/sMultiple internal calls; same chat
Fair-comparison warning: The llama.cpp baseline used Q6_K_XL, while Gufo used Q4_K_XL with MTP. The prompts, output lengths and execution configurations differed. These are observations from my system, not a controlled engine-only speed comparison. Values reported by the custom Open WebUI performance overlay are distinguished from Gufo's shell benchmark results below.

1. Hardware and original setup

ComponentConfiguration
Mini PCGMKtec EVO-X5 Pro
APUAMD Ryzen AI Max+ PRO 495
GPUAMD Radeon 8065S, gfx1151
Physical RAM192 GB shared/unified
Linux-visible RAMAbout 180 GiB
OSUbuntu Server 26.04.1 LTS , kernel 7.0.0-43
Existing stackROCm/HIP 7.1.1 , llama.cpp ROCm build
Test engineGufo 0.34.0 , installed through Nix
UIOpen WebUI 0.13.2 , native Python/systemd, no Docker
SSD4 TB NVMe

The original production model was Qwen3.8-Flash-Next UD-Q6_K_XL (~159 GB of GGUF files) using llama.cpp, a configured 262,144-token context, Q8_0 K/V cache, and a single parallel slot. I previously measured around 19.9 tok/s decode and 30.3 tok/s prefill on a short-input workload. The Q6 configuration used most of the available system RAM.

My aim was to keep the possibility of a large context while improving practical throughput and avoiding swap.

2. Installing Gufo and checking AMD compatibility

I installed Gufo using Nix, keeping Gufo's runtime dependencies separate from my existing Ubuntu ROCm setup:


        nix profile add --accept-flake-config 'github:gufo-org/gufo#release'
gufo --version
gufo diagnose
      

The installed version was 0.34.0. The diagnostic result was PASS, gfx1151 was detected, and the flash-next-q4 provider was available. My existing llama.cpp installation remained in place.

I downloaded the Unsloth GGUF model unsloth/Qwen3.8-Flash-Next-GGUF, specifically:

  • Main model: Qwen3.8-Flash-Next-UD-Q4_K_XL, four GGUF shards
  • Draft model: mtp-Qwen3.8-Flash-Next-shared-Q8_0.gguf, about 2.6 GiB

For clarity, the paths in the examples below are abbreviated. All four GGUF shards must be present alongside the first shard.

3. First real-text shell test (32K context)


        gufo serve llm \
  --model /path/to/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf \
  --speculative mtp \
  --mtp-model /path/to/mtp-Qwen3.8-Flash-Next-shared-Q8_0.gguf \
  --context 32768 \
  --sessions 1 \
  --cache-ram-bytes off \
  --host 127.0.0.1 \
  --port 8091 \
  --served-model-name Qwen3.8-Gufo-Q4 \
  --log-progress
      

The initial model load took approximately 29.2 s. Gufo reported about 85,257 MiB GPU device memory used. Linux still showed roughly 92 GiB available RAM, with 0 B swap used.

The first genuine short German-language text request returned:

MeasurementResult
Input tokens96
Output tokens512
TTFT~377 ms
Prefill throughput~258.8 tok/s
Decode throughput41.8 tok/s
Draft accepted / proposed258 / 436
MTP acceptance rate59.2%

This reached my initial performance target (approximately 40–45 tok/s) before any Open WebUI integration.

4. Shell benchmarks: increasing synthetic context depth

Next I used Gufo's CLI benchmark at multiple artificial prefix depths, with 512 prompt tokens, 256 output tokens, one concurrent request, MTP enabled.

Example at maximum tested depth:


        gufo bench \
  --model /path/to/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf \
  --speculative mtp \
  --mtp-model /path/to/mtp-Qwen3.8-Flash-Next-shared-Q8_0.gguf \
  --n-prompt 512 \
  --n-gen 256 \
  --n-depth 258048 \
  --concurrency 1 \
  --repetitions 1 \
  --verbose
      
Synthetic depth ( --n-depth )Prefill tok/sGeneration tok/s
0929.3961.66
8,192912.4539.85
32,768923.23114.22
65,536912.98114.43
131,072874.39116.88
258,048800.63112.57
258,048 (repeat)794.60112.19

These high-depth decode rates are not real coding performance. The benchmark generated repetitive material and achieved unusually high speculative/lookup acceptance. The >100 tok/s measurements are an artifact of this test workload, not a general expectation for free-form answers.

In the repeated 258,048-depth run, I sampled /proc/meminfo approximately once per second:

RAM / swap checkObserved
Minimum available RAM86.46 GiB
Maximum swap allocated0.00 GiB
BenchmarkCompleted

The synthetic benchmark tested execution near 256K, but it did not prove real-world accuracy or speed with 256K meaningful input tokens.

5. Starting Gufo with a 262,144-token context

After the shell tests, I started the server for Open WebUI:


        gufo serve llm \
  --model /path/to/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf \
  --speculative mtp \
  --mtp-model /path/to/mtp-Qwen3.8-Flash-Next-shared-Q8_0.gguf \
  --context 262144 \
  --sessions 1 \
  --cache-ram-bytes off \
  --host 127.0.0.1 \
  --port 8091 \
  --served-model-name Qwen3.8-Gufo-Q4-256K \
  --log-progress
      

Readiness API: {"status":"ready","model":"Qwen3.8-Gufo-Q4-256K"}. The /v1/models endpoint advertised context_length: 262144 with text input modality.

Immediately after loading:


        total    used    free    available
Mem:           180Gi    93Gi    85Gi       86Gi
Swap:          8.0Gi      0B
      

Configured context capacity is not the same as a verified 256K populated input.

6. Production Open WebUI integration and short browser-chat test

My Open WebUI 0.13.2 runs natively on the same Linux host. I added Gufo as a third OpenAI-compatible model endpoint, while preserving the two existing connections. The server endpoint is loopback-only:


        http://127.0.0.1:8091/v1
      

The model appeared in the selector as Qwen3.8-Gufo-Q4-256K. My custom Open WebUI timing/context overlay reports input/output tokens, TTFT, prefill, decode, response time and context usage.

The first short browser-chat request reported:

MeasurementResult
Input / output tokens2,039 / 144
TTFT1.98 s
Prefill1.79 s / 1,139.8 tok/s
Decode3.40 s / 42.4 tok/s
Total displayed context2,183 / 262,144

7. First substantial Open WebUI coding test — Free Pascal + SQLite

I asked Gufo to produce an extensive Free Pascal/SQLite console application capable of managing about 100,000 records, including CRUD operations, SQL indexing and transactions, CSV import/export, error handling, tests and build instructions.

The model generated a very long response. The final performance overlay showed:

MeasurementFirst coding test
Input tokens2,121
Output tokens93,182
Input + output token count95,303 / 262,144
TTFT1.92 s
Prefill duration / throughput1.81 s / 1,169.9 tok/s
Decode duration / throughput28 min 13.21 s / 55.0 tok/s
Overall model-response time28 min 15.25 s
StatusFinished

Figure 1 — first completed coding run (browser address bar excluded):

Bild 1
Bild 1

During generation, Gufo's progress log showed a representative MTP acceptance measurement:


        draft_accepted=14856
draft_proposed=21412
acceptance_percentage=69.4
      

Figure 2 — Gufo live terminal progress:

Bild 2
Bild 2

My observed chunk speeds varied across the shown segment; the 55.0 tok/s figure is the overlay's reported average for the completed response. The source code has not been independently compiled or tested, so this is an inference benchmark, not a verified working application.

Crucial distinction: The 95,303 tokens comprised 2,121 input and 93,182 generated output. It was a long-generation test, not a 95K-input prefill test.

8. Second harder coding test — the same Open WebUI chat

Instead of opening a new conversation, I continued the exact same chat with a much harder assignment: design PascalDB-X, an independent embedded database engine in Free Pascal without SQLite.

The specification covered a page-oriented file format, a persistent B+Tree (splits, merges, rebalancing), WAL and crash recovery, transactions, buffer-pool replacement, a simple SQL parser/executor, secondary indexes, CSV import/export, automated testing and performance analysis. I also asked the model to report incomplete features honestly.

Figure 3 — second coding run in the same conversation:

Bild 3
Bild 3

Side-by-side measured results

MeasurementTest 1: Free Pascal + SQLiteTest 2: PascalDB-X
Input tokens2,12150,792
Generated tokens93,18231,980
Input + output95,30382,772
Configured context capacity262,144262,144
TTFT1.92 s41.36 s
Prefill1.81 s41.28 s
Prefill throughput1,169.9 tok/s1,230.3 tok/s
Decode duration28 min 13.21 s9 min 48.91 s
Decode throughput55.0 tok/s54.3 tok/s
Model-response time28 min 15.25 s10 min 30.32 s
CompletionFinishedFinished

The second prompt was approximately 24× larger (50,792 versus 2,121 input tokens) while the reported decode rate remained close to 54–55 tok/s.

However, we did NOT achieve a verified 190K–200K context here. The first answer had generated 93,182 tokens, but the second request reported only 50,792 input tokens. Therefore, the previous conversation was apparently not forwarded unchanged in full, or some other context-handling process applied. The cause could include trimming or compaction, but is not yet confirmed. The second test's 82,772 number is input-plus-output for that request, not cumulative proof of resident context over both requests.

The second answer also acknowledged unfinished routines. Neither application has been independently compilation-validated.

9. Third real Open WebUI benchmark — Enterprise code audit and integration

Same conversation, not a shell test. The third task was an extensive code audit and integration project, building on the two previous Free Pascal database-development responses. The prompt asked for an evidence-based inventory of the code actually present in the conversation, a systematic error audit, B+Tree correctness, WAL/transaction design, SQL query planning, concurrency, numerical complexity, and a consistent modular integration architecture. It explicitly prohibited inventing missing previous code or claiming to have compiled it.

MetricResult reported by the Open WebUI overlay
Input tokens (last request)83,116
Output tokens (last request)61,668
Input plus output144,784 / 262,144 (55.2%)
TTFT68.38 s
Prefill duration68.30 s
Prefill speed1,217.0 tok/s
Decode duration21 min 26.51 s
Decode speed47.9 tok/s
Total response time22 min 34.99 s
StatusFinished

Figure 4 — test 3 screenshot, with the real Open WebUI monitor:

Bild 4
Bild 4

10. Fourth real Open WebUI benchmark — advanced mathematics

Again the same Open WebUI conversation, not a shell benchmark. The fourth task combined mixed-integer linear optimization, Lucas–Lehmer primality testing for a Mersenne number, Hilbert-matrix numerical conditioning, the Lorenz dynamical system, exact and heuristic TSP algorithms, Monte Carlo integration, proof checking, and implementations in Python and Free Pascal.

The fourth task involved multiple internal/model processing calls, so it is essential to distinguish last-call metrics from answer-wide cumulative metrics.

MetricScreenshot reading
Last model request — input tokens137,021
Last model request — output tokens40,660
Last model request — input plus output177,681 / 262,144 (67.8%)
Last response — cumulative input tokens674,304
Last response — cumulative output tokens41,402
Last response — elapsed time22 min 16.76 s
TTFT (reported)1 min 51.89 s
Prefill duration / speed1 min 56.14 s / 1,179.8 tok/s
Decode duration / speed12 min 31.31 s / 54.1 tok/s
CompletionFinished

Interpretation: The 674,304 cumulative input tokens are summed across multiple processing/model calls. They do not demonstrate a single 674K context window; Gufo was configured for 262,144 tokens. The largest last-call prompt observed in this screenshot is 137,021 tokens. The last-call context estimate was 177,681 tokens after generation. The difference between answer-wide and last-call output figures is preserved rather than hidden. The reported overall response time also does not equal prefill plus decode alone; tool/waiting phases may contribute. The precise call structure should be checked against backend logs.

The mathematical output itself is not yet independently verified. Some passages explicitly acknowledge incomplete or imperfect proofs. These tests measure inference performance, not proven mathematical correctness.

Figure 5 — test 4 screenshot, actual Open WebUI math workload:

Bild 5
Bild 5

11. Plots of all four production Open WebUI tests

Figure 6 — decode speed. Unlike the earlier synthetic gufo bench experiments, the four values below were reported by the production Open WebUI monitoring overlay during genuine user-requested work.

Bild 6
Bild 6

Figure 7 — prefill speed. Prompt sizes differ substantially; the comparison is descriptive, not a tightly controlled microbenchmark.

Bild 7
Bild 7

Figure 8 — growth in reported last-model-request input tokens.

Bild 8
Bild 8
Real Open WebUI testLast-request inputLast-request outputPrefill tok/sDecode tok/s
Test 1: Pascal/SQLite2,12193,1821,169.955.0
Test 2: PascalDB-X50,79231,9801,230.354.3
Test 3: code audit/integration83,11661,6681,217.047.9
Test 4: mathematics137,02140,6601,179.854.1

These were four tasks in one continuous Open WebUI chat. The backend is Gufo Q4 + MTP. No claim is made that earlier chat history was carried over without truncation or compaction; only observed per-request counts are reported.

12. RAM, swap, and scope of the test

After loading Gufo with the configured 256K window, the host reported approximately 93 GiB used and 86 GiB available, with 0 GiB of swap. After the first long coding generation, it reported essentially the same values, with pswpin 0, pswpout 0. An independently monitored synthetic 258,048-depth benchmark showed a minimum 86.46 GiB MemAvailable and no allocated swap.

During the fourth mathematics request, a separate shell check reported 94 GiB used, 85 GiB available and 0 GiB swap, while Gufo was actively decoding at approximately 54.8 tok/s at the inspected moment. This is a snapshot, not a continuous peak-memory trace. It is not evidence that the entire response required only this amount at all times.

13. Original task descriptions and reproducibility

Important distinction: The actual user prompts were issued in German, from the Open WebUI chat itself. This report preserves the observed technical requirements and includes faithful task outlines, not falsely presented verbatim transcripts. The full original German prompts should be exported from Open WebUI before calling them exact verbatim transcripts. The full-length prompts contain much more detail than these descriptions.

Prompt 1 — Free Pascal with SQLite (original task excerpt)

Entwickle eine vollständige, modular aufgebaute Konsolenanwendung in Free Pascal zur Verwaltung von 100.000 Datensätzen in SQLite. Implementiere Anlegen, Bearbeiten, Löschen, Suchen, Transaktionen, Indizes, Fehlerbehandlung und CSV-Import/Export. Gib vollständigen kompilierbaren Quellcode aus und erkläre wichtige Architekturentscheidungen.

Prompt 2 — PascalDB-X (faithful condensed description)

Entwickle eine vollständig eigenständige, dateibasierte Embedded-Datenbank-Engine namens PascalDB-X ausschließlich in Free Pascal 3.2.x, ohne SQLite oder andere externe Datenbankbibliotheken. Implementiere persistentes Dateiformat, B+Tree, WAL, Transaktionen, Buffer-Pool, SQL-Parser, Sekundärindizes, Import/Export, CLI, Tests, mathematische Analyse und Build-Anleitungen. Gib vollständig konsistenten Quellcode aus, kennzeichne unvollständige Teile und behaupte keine nicht ausgeführten Tests. Nutze den verfügbaren Kontext aus derselben Unterhaltung.

Prompt 3 — extreme software audit/integration (faithful condensed description)

Analysiere die in der bisherigen Unterhaltung tatsächlich verfügbaren Free-Pascal-Projekte, prüfe Syntax, Schnittstellen, Speicherverwaltung, B+Tree, WAL, Nebenläufigkeit, SQL und Fehlerbehandlung. Entwickle daraus PascalDB-X Enterprise mit nachprüfbarer Architektur, korrigiertem Kerncode, Transaktionssicherheit, Recovery, Query Optimizer, Tests und Komplexitätsanalyse. Erfinde keine fehlenden Dateien und behaupte keine nicht ausgeführten Compilerläufe. Beginne mit einer Kontextinventur.

Prompt 4 — advanced mathematics (faithful condensed description)

Löse und verifiziere anspruchsvolle Aufgaben aus ganzzahliger Optimierung (12 Produkte, vier Standorte), Zahlentheorie (Mersenne-Zahl 2^127-1 und Lucas–Lehmer), numerischer Linearer Algebra (Hilbert-Matrizen), dynamischen Systemen (Lorenz-Gleichungen), Graphentheorie (20-Knoten-TSP), Monte-Carlo-Integration und mathematischer Verifikation. Entwickle nachvollziehbare Beweise, Algorithmen, Python- und Free-Pascal-Code; unterscheide verifizierte Resultate von Vermutungen und nicht ausgeführten Berechnungen. Fortsetzung im selben Chat.

For strict reproducibility, the next step is to export the literal full prompts and, ideally, the final server-side request logs. Until then, the condensed text above must not be mistaken for byte-exact original prompts.

14. Conclusion

On AMD Ryzen AI Max+ PRO 495 (gfx1151, 192 GB physical unified RAM), Gufo 0.34.0 running Qwen3.8-Flash-Next Q4_K_XL + MTP completed four real Open WebUI coding/mathematics tasks in the same chat. Its reported decoding rates were 55.0, 54.3, 47.9 and 54.1 tok/s. The fourth test reached 137,021 tokens in its last model-request input and 177,681 input-plus-output tokens, not yet a fully verified 256K meaningful input test. The earlier synthetic shell experiments are documented separately and are not misrepresented as real coding throughput.

The next controlled experiment should use 128K–256K meaningful, externally countable input, model-side prompt statistics and a moderate output size, with continuous RAM/swap logging and separate evaluation of generated code or mathematical correctness.

Thanks to Gufo contributors, the Unsloth GGUF contributors, and everyone in the community who helped with this experiment.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗