Key results
A single GEEKOM A9 Mega with the AMD Ryzen AI Max+ 395 and 128 GB of memory ran the 96.8 GB DeepSeek-V4-Flash-0731 model (2-bit UD-Q2_K_XL) on its own. In our llama.cpp tests, it generated 14.71 tokens/s with a short 128-token prompt and still held 7.16 tokens/s with a 256K-token prompt.
We measured the same model three ways — on one machine, and as a two-device and three-device cascade — across input lengths from 128 up to 256K tokens.
The trade-off sits in the wait before the first word. At 256K input tokens on a single device, time to first token (TTFT) reached about two hours. A two-device cascade cut that roughly in half. Decode speed stays steady as context grows; prompt processing is where long inputs cost you time.
- 14.71 tokens/s generation at 128 input tokens (single device)
- 7.16 tokens/s generation at 256K input tokens (single device)
- 96.8 GB 2-bit model on one 128 GB mini PC, tested to 256K context
Every number on this page comes from a published test record, with the hardware, software build and model files. You can check the raw records in our GitHub benchmark repository or the dataset on Hugging Face.
Full benchmark results: single device, 128 to 256K
We measured the 2-bit model at six input lengths, from a 128-token prompt up to 256K tokens, on one A9 Mega 395. Decode speed falls from 14.71 to 7.16 tokens/s across that range, while time to first token grows from under a second to roughly two hours.
| Input length (tokens) | Output (tokens) | TTFT (s) | Prefill (tokens/s) | Decode (tokens/s) | End-to-end (s) | VRAM (GB) |
|---|---|---|---|---|---|---|
| 128 | 1,641 | 0.99 | 129.24 | 14.71 | 112.55 | 112.96 |
| 8K | 368 | 58.14 | 140.90 | 14.65 | 83.26 | 112.86 |
| 32K | 242 | 302.15 | 108.45 | 12.87 | 320.95 | 112.99 |
| 64K | 452 | 741.94 | 88.33 | 11.61 | 780.88 | 113.12 |
| 128K | 1,735 | 2,098.83 | 62.45 | 9.71 | 2,277.51 | 113.14 |
| 256K | 472 | 7,237.55 | 36.22 | 7.16 | 7,303.47 | 114.12 |
Source: A9 Mega 395 test records and test-records.csv on GitHub. The 16K input point was not tested for this model. VRAM is the total reported for the single device.
Decode speed falls as the prompt grows, from 14.71 tokens/s at a 128-token prompt to 7.16 tokens/s at 256K.
The points are spaced evenly by the test setting for readability; their horizontal distance is not proportional to token count. The 16K input point was not tested for this model.
How to read these numbers
- TTFT (time to first token): how long you wait after sending a prompt before the first word appears. It grows with prompt length.
- Prefill: how fast the model reads your prompt, in tokens per second.
- Decode: how fast the model writes its answer, in tokens per second. This is the speed you watch while text streams in.
- End-to-end time: TTFT plus generation time for that run. Output length differed between runs (242 to 1,735 tokens), so compare decode speed and TTFT across rows, not end-to-end time.
One, two or three nodes: what scaling actually buys you
We ran the same 2-bit model on a single A9 Mega 395, then as a two-device and three-device cascade. Adding machines does not make the model write faster, but it changes how long you wait on very long prompts.
| Input length | Single decode (tokens/s) | Single TTFT (s) | Dual-node decode (tokens/s) | Dual-node TTFT (s) | Triple-node decode (tokens/s) | Triple-node TTFT (s) |
|---|---|---|---|---|---|---|
| 128 | 14.71 | 0.99 | 14.21 | 0.99 | 13.40 | 1.07 |
| 128K | 9.71 | 2,098.83 | 9.09 | 1,671.41 | 8.97 | 1,786.70 |
| 256K | 7.16 | 7,237.55 | 7.21 | 4,940.52 | 7.06 | 5,433.04 |
Source: A9 Mega 395 test-records.csv on GitHub (single-device, dual-node cascade and triple-node cascade rows).
Three things stand out:
- More nodes do not make generation faster. At 256K tokens, all three setups decode at about 7 tokens/s (7.16, 7.21 and 7.06). Decode speed depends on the model and memory, not the number of machines.
- A second device nearly halves the long-context wait. At 256K, TTFT drops from about 7,238 s on one machine to about 4,941 s on two — roughly two hours down to about 82 minutes — because the prompt is processed across two devices.
- A third device adds no further benefit here. At 256K the three-node TTFT (5,433 s) is actually higher than the two-node figure, and the same holds at 128K. For this model, a two-device cascade is the practical sweet spot for long prompts.
The cascades also spread the model across memory: each node held roughly 60 GB in the two-device run and roughly 48 GB on the first two nodes in the three-device run, against about 113 GB on a single machine. That is what lets smaller-memory machines share a model that will not fit on one.
Long context: “it runs” vs “how long you wait”
Long prompts do not break this setup, but they do make you wait. At 256K input tokens, the model still writes at 7.16 tokens/s. Before it writes anything, though, it has to process the whole prompt, and on a single device, that is where the time goes.
| Input length | Time to first token (single device) | Decode speed |
|---|---|---|
| 128 tokens | under 1 second | 14.71 tokens/s |
| 8K | about 58 seconds | 14.65 tokens/s |
| 32K | about 5 minutes | 12.87 tokens/s |
| 64K | about 12 minutes | 11.61 tokens/s |
| 128K | about 35 minutes | 9.71 tokens/s |
| 256K | about 2 hours | 7.16 tokens/s |
What this means in practice:
- Chat, coding help and short documents (up to a few thousand tokens) feel responsive: the first word arrives in about a second and text streams at roughly 14–15 tokens/s.
- Medium inputs around 32K tokens, such as a long report or a mid-sized codebase excerpt, mean a wait of about five minutes before the answer starts.
- Very long inputs of 128K–256K tokens are batch work. Start the job, do something else, and come back to a full answer. On a single device the 256K wait is about two hours; a two-device cascade brings it down to roughly 82 minutes.
Decode speed falls as context grows on any device, and this run follows that pattern. The number to plan around for long documents is TTFT, not decode speed.
How a 96.8 GB 2-bit model fits in 128 GB
The model runs on one A9 Mega 395 because a 2-bit quantisation keeps the whole thing, plus its working memory, inside the machine.
Memory breakdown
During the single-device tests, total memory use held between 112.96 GB at a 128-token prompt and 114.12 GB at 256K tokens. The model weights account for most of that; the rest is the context (KV) cache, which grows as the prompt gets longer. That is why the 256K run uses more memory than the 128-token run of the same model.
Memory capacity sets both the model size and the context length a single device can serve. On the two-device and three-device cascades, the same model is split across machines, so each one holds far less — roughly 60 GB per node on two devices, and about 48 GB on the first two nodes of a three-device run.
Why 2-bit UD-Q2_K_XL
Quantisation stores model weights with fewer bits, which shrinks memory needs at some cost to fidelity. DeepSeek-V4-Flash is a very large model, and the 2-bit UD-Q2_K_XL build (96.8 GB) is what brings it inside a single 128 GB machine with room for the context cache. Higher-precision builds are more faithful but larger, and move the model off a single device; lower precision saves memory but gives up more quality.
This benchmark measures speed and memory, not answer quality. The repository does not publish a fidelity comparison for DeepSeek-V4-Flash, and it does not provide a head-to-head intelligence benchmark against other models, so we make no accuracy claim here. Treat 2-bit as the trade that fits a large model onto one machine, and test it on your own task before relying on it.
This run used the main model on its own, with no multi-token prediction (MTP) or draft model.
Who this setup is for, and who it isn’t
This configuration suits people who want a very large model running locally on compact hardware, and who can plan long prompts as batch jobs rather than live chats.
Using the 64 GB A9 Mega 388 instead? The 388 cannot hold this 96.8 GB model on its own. In our records, the same model ran as a two-device cascade, holding roughly 60 GB per node, so a pair of machines can share it. See the A9 Mega product page for both configurations.
Reproduce this benchmark
The hardware, software versions and model are public, along with the full test records. The exact per-model launch command and llama.cpp build for DeepSeek-V4-Flash are not published in the repository; use the shared setup and download scripts, and check your own versions before comparing.
| Item | Configuration |
|---|---|
| Device | GEEKOM A9 Mega 395 |
| Processor | AMD Ryzen AI Max+ 395 (16 cores / 32 threads) |
| Graphics | AMD Radeon 8060S |
| Memory | 128 GB, 256 GB/s bandwidth |
| Operating system | Ubuntu 26.04 |
| Graphics driver / ROCm | 31.50.0.0 / ROCm 10.0.0 |
| Inference engine | llama.cpp (exact build not published for this model) |
| Model | DeepSeek-V4-Flash-0731-UD-Q2_K_XL (2-bit), 96.8 GB |
| Draft model | None (no MTP / speculative decoding) |
| Deployments tested | Single device, dual-node cascade, triple-node cascade; input to 256K tokens |
What is published, and what isn’t
The benchmark repository includes the full test records and the shared setup and model-download scripts for Ubuntu 26.04. It does not publish the exact llama.cpp build number or the per-model launch command for DeepSeek-V4-Flash, so we do not quote one here rather than guess. If you want to reproduce the runs, start from the repository scripts, match the hardware and software in the table above, and check your driver and ROCm versions before comparing your figures with ours.
Questions and reproduction reports are welcome as GitHub Issues. Please include the model file, your command and the device you used.
Known limitations
These results describe recorded configurations. Here is what they do not cover.
- Context tested up to 256K. Single-device, dual-node and triple-node results are recorded to 256K input tokens; we make no claim beyond that.
- Some test conditions are not published. BIOS version, NPU driver and power profile are marked “to be confirmed” in the test archive, and power draw is not reported.
- The exact command and build are not published for this model. We publish the records and shared scripts, but not a per-model llama.cpp build number or launch command for DeepSeek-V4-Flash.
- Results depend on configuration. A different llama.cpp build, operating system, model file, context length, power profile or background load can change the numbers. Treat this data as a reference, not a guarantee for every unit.
- Local does not mean offline from day one. Models, software and dependencies must be downloaded and configured before you disconnect the device from the internet.
- Model output can be wrong. Do not rely on generated text alone for medical, legal, financial or safety-critical decisions.
FAQs
Can the A9 Mega 395 run DeepSeek-V4-Flash on a single device?
Yes. The 96.8 GB 2-bit UD-Q2_K_XL version ran on one A9 Mega 395 with 128 GB of memory, with no second device. We recorded results from a 128-token prompt up to 256K input tokens, using llama.cpp with no draft model.
How fast is DeepSeek-V4-Flash on the Ryzen AI Max+ 395?
In our single-device tests, it generated 14.71 tokens/s with a 128-token prompt, 12.87 tokens/s at 32K, 9.71 tokens/s at 128K and 7.16 tokens/s at 256K. These figures come from llama.cpp on Ubuntu 26.04 with ROCm 10.0.0.
Does adding a second or third A9 Mega make it faster?
Not for generation. Decode speed stays about the same across one, two and three devices (around 7 tokens/s at 256K). What a second device does change is the wait on long prompts: at 256K, time to first token drops from about two hours on one machine to about 82 minutes on two. A third device gives no further benefit for this model.
Does it support 256K context?
Yes. Single-device, dual-node and triple-node runs were all measured at 256K input tokens. On a single device, the 256K prompt takes about two hours before the first word; a two-device cascade roughly halves that.
Can I reproduce these results?
Yes, with a caveat. The GitHub repository publishes the test records and the shared setup and download scripts for Ubuntu 26.04, but not a per-model llama.cpp build number or launch command for DeepSeek-V4-Flash. Match the hardware and software in the setup table, and check your driver and ROCm versions before comparing results.




