Qwen3.6-35B-A3B · llama.cpp · 128K–262K

Long context on Radeon

Context length is how many tokens of prompt plus chat the model can keep. That memory is the KV cache — it grows as the window fills, so VRAM rises and decode usually falls. On AMDai the measured house path is Qwen3.6-35B-A3B on llama.cpp Vulkan, f16 KV, one R9700. Empty cells stay not measured yet. Q3 is a labeled estimate. llama.cpp stays first.

How we test — Measured cells cite official amdai-bench/run@1 cards. Estimates stay labeled. Q3 is estimate-only. Q1/Q2 stay off.

Daily driver · 35B llama.cpp · 262K

Minimum system RAM needed

42.9 GB

Measured · 42.9 GiB raw · 256K context

local-desktop-20261012-2314-35b-udq5kxl-1gpu-256k-llamacpp-f16

RAM needed at full context

42.9 GB

Measured · 42.9 GiB raw · 256K full context

local-desktop-20261012-2314-35b-udq5kxl-1gpu-256k-llamacpp-f16

Measured peak system RAM on the local desktop: 42.9 GB (Linux GiB labeled GB). Measured, pending re-verify after RAM fix.

Breakdown
Offloaded weights ·
0 GiB
Separable embed in RAM ·
0 GiB
KV in RAM at selected ·
0 GiB
KV in RAM at full context ·
0 GiB
Runtime / backend ·
0.85 GiB
OS / desktop baseline ·
8.00 GiB
Headroom ·
16.0 GiB

What context length and the KV cache are

Context length is the token window. The KV cache is the attention memory that grows with that window — separate from the GGUF. Prefill reads the prompt in a burst; decode is the streaming rate people mean by “how fast.” Offload is what happens when weights or KV spill to DDR5.

Measured 35B on the local desktop

Qwen3.6-35B-A3B on llama.cpp Vulkan, f16 KV. Every tok/s and measured GB is from official amdai-bench/run@1 cards. A missing cell says not measured yet. Shopper RAM lines stay Minimum system RAM needed and RAM needed at full context.

One R9700 · short

Qwen3.6-35B-A3B one GPU at short. Figures from local desktop run cards.
Metric UD-Q5_K_XL measured Q5_K_M measured Q4_K_M measured Q6_K measured UD-Q3_K_XL estimate
Decode 102.39 tok/s 109.73 tok/s 117.69 tok/s 103.23 tok/s not measured yet
Prefill 2761.6 tok/s 2710.8 tok/s 2733.9 tok/s 2623.6 tok/s not measured yet
VRAM / card 25.45 GB 24.16 GB 20.84 GB 28.78 GB 16.4 GB (estimate)
VRAM total 25.97 GB 24.68 GB 21.43 GB 29.26 GB 16.4 GB (estimate)
Peak system RAM 37.32 GB 35.83 GB 33.74 GB 40.15 GB 32 GB kit (estimate)
Minimum system RAM needed 48 GB kit (measured · 37.32 GB peak)48 GB kit (measured · 37.32 GB peak)48 GB kit (measured · 33.74 GB peak)48 GB kit (measured · 40.91 / 40.15 GB peak)32 GB kit (estimate)
RAM needed at full context 48 GB kit (measured · 42.9 GB peak)48 GB kit (measured · 42.9 GB peak)48 GB kit (measured · 39.05 GB peak)48 GB kit (measured · 43.69 GB peak)32 GB kit (estimate)
  • Q6_K: Q6_K single-GPU 4K table cell is 103.23 tok/s from the 23:55 card (the 4K point in the complete Q6_K single-GPU series). The earlier 23:26 card at 82.62 tok/s stays on /results and is not averaged into the cell.
  • UD-Q3_K_XL: Hugging Face listing for Qwen3.6-35B-A3B-UD-Q3_K_XL.gguf (16.8 GB). Q3 is an option labeled estimate — not a local desktop run.

One R9700 · 32K

Qwen3.6-35B-A3B one GPU at 32K. Figures from local desktop run cards.
Metric UD-Q5_K_XL measured Q5_K_M measured Q4_K_M measured Q6_K measured UD-Q3_K_XL estimate
Decode 90.52 tok/s 96.21 tok/s 101.88 tok/s 71.19 tok/s not measured yet
Prefill 1937.9 tok/s 1902.6 tok/s 1902.1 tok/s 1683 tok/s not measured yet
VRAM / card 26.16 GB 24.87 GB 21.55 GB 28.68 GB 17.0 GB (estimate)
VRAM total 26.7 GB 25.39 GB 22.17 GB 29.17 GB 17.0 GB (estimate)
Peak system RAM 37.83 GB 36.46 GB 34.58 GB 44.01 GB 32 GB kit (estimate)
Minimum system RAM needed 48 GB kit (measured · 37.83 GB peak)48 GB kit (measured · 37.83 GB peak)48 GB kit (measured · 34.58 GB peak)48 GB kit (measured · 44.01 GB peak)32 GB kit (estimate)
RAM needed at full context 48 GB kit (measured · 42.9 GB peak)48 GB kit (measured · 42.9 GB peak)48 GB kit (measured · 39.05 GB peak)48 GB kit (measured · 43.69 GB peak)32 GB kit (estimate)
  • Q6_K: Partly offloaded to DDR5 on one GPU (llama.cpp --fit-target 1024). Decode is not an in-VRAM figure.
  • UD-Q3_K_XL: Hugging Face listing for Qwen3.6-35B-A3B-UD-Q3_K_XL.gguf (16.8 GB). Q3 is an option labeled estimate — not a local desktop run.

One R9700 · 128K

Qwen3.6-35B-A3B one GPU at 128K. Figures from local desktop run cards.
Metric UD-Q5_K_XL measured Q5_K_M measured Q4_K_M measured Q6_K measured UD-Q3_K_XL estimate
Decode 66.43 tok/s 69.64 tok/s 72.48 tok/s 54.51 tok/s not measured yet
Prefill 942.8 tok/s 940.3 tok/s 942.1 tok/s 800.3 tok/s not measured yet
VRAM / card 28.22 GB 26.93 GB 23.61 GB 28.78 GB 18.9 GB (estimate)
VRAM total 28.82 GB 27.43 GB 24.27 GB 29.25 GB 18.9 GB (estimate)
Peak system RAM 40.18 GB 38.65 GB 36.5 GB 45.43 GB 32 GB kit (estimate)
Minimum system RAM needed 48 GB kit (measured · 40.18 GB peak)48 GB kit (measured · 40.18 GB peak)48 GB kit (measured · 36.5 GB peak)48 GB kit (measured · 45.43 GB peak)32 GB kit (estimate)
RAM needed at full context 48 GB kit (measured · 42.9 GB peak)48 GB kit (measured · 42.9 GB peak)48 GB kit (measured · 39.05 GB peak)48 GB kit (measured · 43.69 GB peak)32 GB kit (estimate)
  • Q6_K: Partly offloaded to DDR5 on one GPU (llama.cpp --fit-target 1024). Decode is not an in-VRAM figure.
  • UD-Q3_K_XL: Hugging Face listing for Qwen3.6-35B-A3B-UD-Q3_K_XL.gguf (16.8 GB). Q3 is an option labeled estimate — not a local desktop run.

One R9700 · 256K

Qwen3.6-35B-A3B one GPU at 256K. Figures from local desktop run cards.
Metric UD-Q5_K_XL measured Q5_K_M measured Q4_K_M measured Q6_K measured UD-Q3_K_XL estimate
Decode 44.4 tok/s 40.54 tok/s 47.77 tok/s 37.78 tok/s not measured yet
Prefill 519.2 tok/s 541.7 tok/s 558.5 tok/s 471.6 tok/s not measured yet
VRAM / card 28.73 GB 28.56 GB 26.36 GB 28.81 GB 21.4 GB (estimate)
VRAM total 29.34 GB 29.15 GB 27.03 GB 29.3 GB 21.4 GB (estimate)
Peak system RAM 42.9 GB 42.79 GB 39.05 GB 43.69 GB 32 GB kit (estimate)
Minimum system RAM needed 48 GB kit (measured · 42.9 GB peak)48 GB kit (measured · 42.9 GB peak)48 GB kit (measured · 39.05 GB peak)48 GB kit (measured · 43.69 GB peak)32 GB kit (estimate)
RAM needed at full context 48 GB kit (measured · 42.9 GB peak)48 GB kit (measured · 42.9 GB peak)48 GB kit (measured · 39.05 GB peak)48 GB kit (measured · 43.69 GB peak)32 GB kit (estimate)
  • Q6_K: Partly offloaded to DDR5 on one GPU (llama.cpp --fit-target 1024). Decode is not an in-VRAM figure.
  • UD-Q3_K_XL: Hugging Face listing for Qwen3.6-35B-A3B-UD-Q3_K_XL.gguf (16.8 GB). Q3 is an option labeled estimate — not a local desktop run.

Split · short

Qwen3.6-35B-A3B split at short. Figures from local desktop run cards.
Metric UD-Q5_K_XL measured Q5_K_M measured Q4_K_M measured Q6_K measured UD-Q3_K_XL estimate
Decode 82.78 tok/s 88.19 tok/s 93.28 tok/s 83.5 tok/s not measured yet
Prefill 2637.3 tok/s 2647.2 tok/s 2660.4 tok/s 2572.1 tok/s not measured yet
VRAM / card 13.28 / 13.11 GB 12.71 / 12.41 GB 10.83 / 10.85 GB 15.01 / 14.63 GB 8.21 GB (estimate)
VRAM total 26.39 GB 25.13 GB 21.69 GB 29.64 GB 16.4 GB (estimate)
Peak system RAM 37.6 GB 37.17 GB 33.74 GB 38.22 GB 32 GB kit (estimate)
Minimum system RAM needed 48 GB kit (measured · 37.6 GB peak)48 GB kit (measured · 37.6 GB peak)48 GB kit (measured · 33.74 GB peak)48 GB kit (measured · 38.22 GB peak)32 GB kit (estimate)
RAM needed at full context 48 GB kit (measured · 44.71 GB peak)48 GB kit (measured · 44.71 GB peak)48 GB kit (measured · 40.84 GB peak)48 GB kit (measured · 45.15 GB peak)32 GB kit (estimate)
  • UD-Q3_K_XL: Hugging Face listing for Qwen3.6-35B-A3B-UD-Q3_K_XL.gguf (16.8 GB). Q3 is an option labeled estimate — not a local desktop run.

Split · 32K

Qwen3.6-35B-A3B split at 32K. Figures from local desktop run cards.
Metric UD-Q5_K_XL measured Q5_K_M measured Q4_K_M measured Q6_K measured UD-Q3_K_XL estimate
Decode 74.8 tok/s 78.91 tok/s 82.57 tok/s 75.43 tok/s not measured yet
Prefill 1916 tok/s 1920.9 tok/s 1933.1 tok/s 1890.7 tok/s not measured yet
VRAM / card 13.77 / 13.64 GB 13.2 / 12.95 GB 11.34 / 11.39 GB 15.5 / 15.16 GB 8.49 GB (estimate)
VRAM total 27.41 GB 26.13 GB 22.72 GB 30.66 GB 17.0 GB (estimate)
Peak system RAM 38.16 GB 37.8 GB 34.39 GB 38.98 GB 32 GB kit (estimate)
Minimum system RAM needed 48 GB kit (measured · 38.16 GB peak)48 GB kit (measured · 38.16 GB peak)48 GB kit (measured · 34.39 GB peak)48 GB kit (measured · 38.98 GB peak)32 GB kit (estimate)
RAM needed at full context 48 GB kit (measured · 44.71 GB peak)48 GB kit (measured · 44.71 GB peak)48 GB kit (measured · 40.84 GB peak)48 GB kit (measured · 45.15 GB peak)32 GB kit (estimate)
  • UD-Q3_K_XL: Hugging Face listing for Qwen3.6-35B-A3B-UD-Q3_K_XL.gguf (16.8 GB). Q3 is an option labeled estimate — not a local desktop run.

Split · 128K

Qwen3.6-35B-A3B split at 128K. Figures from local desktop run cards.
Metric UD-Q5_K_XL measured Q5_K_M measured Q4_K_M measured Q6_K measured UD-Q3_K_XL estimate
Decode 57.94 tok/s 59.86 tok/s 62.12 tok/s 58.04 tok/s not measured yet
Prefill 1071.1 tok/s 1067.3 tok/s 1078.4 tok/s 1059.7 tok/s not measured yet
VRAM / card 15.47 / 15.48 GB 14.98 / 14.79 GB 13.03 / 13.23 GB 17.21 / 17 GB 9.44 GB (estimate)
VRAM total 30.94 GB 29.76 GB 26.26 GB 34.21 GB 18.9 GB (estimate)
Peak system RAM 41.02 GB 40.73 GB 38.04 GB 41.41 GB 32 GB kit (estimate)
Minimum system RAM needed 48 GB kit (measured · 41.02 GB peak)48 GB kit (measured · 41.02 GB peak)48 GB kit (measured · 38.04 GB peak)48 GB kit (measured · 41.41 GB peak)32 GB kit (estimate)
RAM needed at full context 48 GB kit (measured · 44.71 GB peak)48 GB kit (measured · 44.71 GB peak)48 GB kit (measured · 40.84 GB peak)48 GB kit (measured · 45.15 GB peak)32 GB kit (estimate)
  • UD-Q3_K_XL: Hugging Face listing for Qwen3.6-35B-A3B-UD-Q3_K_XL.gguf (16.8 GB). Q3 is an option labeled estimate — not a local desktop run.

Split · 256K

Qwen3.6-35B-A3B split at 256K. Figures from local desktop run cards.
Metric UD-Q5_K_XL measured Q5_K_M measured Q4_K_M measured Q6_K measured UD-Q3_K_XL estimate
Decode 42.03 tok/s 42.33 tok/s 42.88 tok/s 42.2 tok/s not measured yet
Prefill 671.7 tok/s 664.6 tok/s 673 tok/s 666.2 tok/s not measured yet
VRAM / card 17.8 / 17.99 GB 17.45 / 17.3 GB 15.28 / 15.74 GB 19.46 / 19.51 GB 10.7 GB (estimate)
VRAM total 35.74 GB 34.54 GB 31.02 GB 38.96 GB 21.4 GB (estimate)
Peak system RAM 44.71 GB 46.21 GB 40.84 GB 45.15 GB 32 GB kit (estimate)
Minimum system RAM needed 48 GB kit (measured · 44.71 GB peak)48 GB kit (measured · 44.71 GB peak)48 GB kit (measured · 40.84 GB peak)48 GB kit (measured · 45.15 GB peak)32 GB kit (estimate)
RAM needed at full context 48 GB kit (measured · 44.71 GB peak)48 GB kit (measured · 44.71 GB peak)48 GB kit (measured · 40.84 GB peak)48 GB kit (measured · 45.15 GB peak)32 GB kit (estimate)
  • UD-Q3_K_XL: Hugging Face listing for Qwen3.6-35B-A3B-UD-Q3_K_XL.gguf (16.8 GB). Q3 is an option labeled estimate — not a local desktop run.

Qwen 3.8 Flash where we have cards

Decode from verified Flash run cards. Prefill, VRAM, and peak RAM stay not measured yet unless a card recorded them — open the linked run card. Empty cells stay not measured yet. Do not map 100K onto 128K. Shopper RAM lines stay Minimum system RAM needed and RAM needed at full context on Flash RAM offload and the Flash model page.

Flash decode at 4K / 32K / 128K / 256K from local desktop cards. Rows with no measured cell are omitted.
Quant · cards · engine 4K32K128K256K
UD-Q6_K_XL · 2× · llama.cpp not measured yet 18.2 tok/s @5200 · 15.6 tok/s @3600 not measured yet 16 tok/s @5200
UD-Q6_K_XL · 2× · Strata not measured yet 32.8 tok/s @5200 not measured yet 32.6 tok/s @5200

Flash Q6 two-card DIMM-speed cards (8K / 32K / 100K)

These are the Flash cards that actually exist at 8K and 100K. 100K is not 128K.

Flash Q6 two-card decode at 3600 and 5200 MT/s. Speeds from local desktop Flash cards.
Engine · context 3600 MT/s 5200 MT/s
llama.cpp · 8K 15.9 tok/s 18.5 tok/s
llama.cpp · 32K 15.6 tok/s 18.2 tok/s
llama.cpp · 100K 15.3 tok/s 17.9 tok/s
Strata · 8K 32.0 tok/s 32.8 tok/s
Strata · 32K not measured yet 32.8 tok/s
Strata · 100K not measured yet 31.8 tok/s
  • Flash Q3 / Q4 / Q5 decode stays not measured yet.
  • One-card Flash decode stays not measured yet.
  • 4K and 128K Flash decode stay not measured yet. Do not map the 100K cards onto 128K.
  • 8K and 100K Q6 two-card decode sit on the DIMM-speed table — those are the Flash cards we have.

f16 vs q8_0 KV

House default is f16 KV (2 bytes). Overnight 35B cards recorded -ctk f16 -ctv f16. q8_0 KV is the smaller type the calculator lists (~1 byte). That trade — less VRAM, unknown quality — is not measured yet on the local desktop. q8_0 as cache is not “running Q8 weights.” Minimum system RAM needed and RAM needed at full context stay the shopper RAM lines when offload or long context appears. The cited shopper page is /kv-cache.

KV cache on a Radeon GPU Quants · KV types Open calculator

Q6 / Q5 / Q4, plus a Q3 estimate

Measured 35B llama.cpp quants on the local desktop: UD-Q5_K_XL, Q5_K_M, Q4_K_M, Q6_K. UD-Q3_K_XL is a labeled estimate (Hugging Face listing for Qwen3.6-35B-A3B-UD-Q3_K_XL.gguf (16.8 GB)) — decode stays not measured yet. Prefer Q5 over Q4 when the file still fits. Q1 and Q2 stay off. Nothing below Q4 runs on our rig.

Q6 vs Q5 vs Q4 Quant explainer

Engine notes — llama.cpp first

  • -c sets the window

    House daily driver is -c 262144. Size that number on the calculator before you copy it. A 16 GB card that loads at 4K can still OOM at 128K because KV grew.

  • --cache-type-k/v (house default f16)

    Overnight 35B llama-bench cards recorded -ctk f16 -ctv f16 (same as --cache-type-k/v f16). That is the AMDai default. q8_0 is the smaller KV type the calculator lists. Quality and tok/s for q8_0 KV are not measured yet.

  • -fa 1 on the overnight cards

    The same llama-bench line recorded -fa 1 (flash attention). llama-server flags are not on that card — do not invent a server pin. Copy -fa only when your build documents it. The shopper page is /flash-attention. Prefill / batch (-b / -ub) is /prefill. Prompt / prefix cache is /prompt-cache.

  • Two GPUs: --split-mode layer

    Overnight 35B split used -sm layer (--split-mode layer), the documented llama.cpp multi-GPU default. On this 35B, one card usually decodes faster than the split. --split-mode row is documented and not measured on the local desktop. Read Dual / multi-GPU before you split.

  • Vulkan first. HIP, Strata, vLLM second

    llama.cpp Vulkan is the consumer default. HIP when rocminfo lists the gfx. Strata is the house Flash speed path with DDR5 expert offload — see Flash RAM offload. vLLM is a try, not the house long-context path. We do not invent a vLLM 262K tok/s.

Practical picks by VRAM

Long-context recall — honest note

The run used the context we printed (262144 for the daily driver). We do not publish a planted-token recall score. We do not publish a planted-token percentage. The daily-driver and Flash recipes mark the long-context gate as pass when the stated 262144 window actually ran — that is not a recall score. Liu et al., 2023 (Lost in the Middle) show many models miss facts in the middle of a long prompt. The Qwen3.6-35B-A3B card lists 262144 native context. Neither source is an AMDai needle-in-haystack number.

FAQ

  • What is context length, and what is the KV cache?

    Context length is the token window of prompt plus conversation. The KV cache is the key/value attention memory that grows with that window. It is separate from the GGUF. House daily driver is 262144 tokens, f16 KV. See the glossary entries.

  • Why does VRAM rise and decode fall as the context fills?

    Each new token adds to the KV cache. Official UD-Q5_K_XL on one R9700 is 102.39 tok/s at 4K and 44.4 tok/s at 256K — same file, f16 KV. Prefill is the burst that reads the prompt; decode is the streaming rate. Quote the run card, not a blend.

  • Should I switch from f16 KV to q8_0 to fit more context?

    House default is f16 KV. Keep f16 on ROCm/HIP for long context until llama.cpp PR #31234 lands — on master HIP, q8_0 KV is slower at depth (author’s R9700 table, cited). Vulkan is already fine with q8_0. q8_0 KV is about one byte per element instead of two, so the cache is smaller. That quality trade is not measured on the local desktop — treat any q8_0 KV speed or recall claim as a labeled estimate. Do not confuse q8_0 KV with Q8 weights.

  • Can I drop to Q3 so a 16 GB card holds 262K?

    Q3 is a listed option and a labeled estimate. Nothing on our rig runs below Q4. Do not treat Q3 as runnable advice. Size Q6 / Q5 / Q4 on the calculator first. Q1 and Q2 stay off.

  • Does a 262K window mean the model still finds a fact from the start of the prompt?

    No score on this site answers that. The long-context gate means the stated window actually ran — not a planted-token recall percentage. Liu et al. 2023 (Lost in the Middle) document that many models miss the middle of a long prompt. We have not run that test on the local desktop.

Sources

Next steps

Real pages on this site. We do not invent a next click.

Last updated

esc

Type to filter. Enter opens the first match. Full-text search lives on /search.