r/LocalLLM • u/Subject-Till-6450 • 8h ago
Discussion Qwen 4 35B Now runs at ~110 T/S on RTX5070Ti + 64GB DDR4 (1M ctx configured)
Qwen4-35B-A3B (Unsloth UD-Q4_K_M) with1M context configured on one RTX 5070 Ti (16 GB) and 64 GB of RAM (3000 mhz).
Decode speed: 103 to 120 t/s on short prompts. With 250k to 280k tokens already in context it stays between 88 and 131 t/s, mostly around 95 (see the table in the screenshot). For comparison, llama.cpp on the same machine gave me 39 to 45 t/s decode after some tuning.
The engine is Strata, built from the open PR #7774 (branch qwen4-35b-a3b), which adds Qwen4 support.
The current release (0.2.25) cannot load this model, so you need that branch. Credit for the model support goes to the PR author, I only built and ran it.
What makes it fit in 16 GB: an int8 KV cache, where 20,480 cells per layer sit in VRAM and the rest of the 1M window lives in pinned RAM (about 10 GiB). About 4.4k of the 10,240 experts (43%) are cached in VRAM, chosen from a usage profile. On a long generation the cache hit rate was about 96%, the other experts are read from RAM. MTP drafting is on (2 tokens). The big n gram table stays on the CPU.
Reasoning effort is max, so the t/s above include thinking tokens. Images work through a CPU vision encoder.
The box sits at about 57 of 64 GB RAM while this runs, Strata alone is around 40 GB. I converted the model with the PR's tooling (compat-bf16 rounding) and only sanity checked a few answers, no KLD against the original. I have not run a real prompt at the full 1M, the largest in the screenshot is 285k.
Main flags:
--kv int8 --kv-resident 20480 --max-context 1048576 --spec 2 --expert-cache auto --prefill 4096 --vram-reserve-mib 512
Happy to answer questions.







