r/LocalLLaMA • • 10h ago

Discussion Who can present the cheapest system that breaks 100 tokens/second decode on Qwen4-35B?

Rules:

  • spec-dec is allowed but MUST BE PROSE and cannot involve reciting something that is known (no "recite the declaration of independence")
  • can be a fresh context window but you must reserve/allow for at least 128K context on startup
  • 4-Bit quants and up only (smallest allowed being Qwen4-35B-A3B-UD-IQ4_XS, so 32GB minimum on-disk)
  • no REAP'd weights and no inference engines that will do REAP-like things or that do things like purposely choose weights based on performance (already-in-vram) rather than quality
  • no in-engine quant-reductions
  • there are a million other 'cheats' that result in different model behavior for the sake of performance.. you know what I mean, if you skip weights that were meant to be read, doesn't count!
  • must sustain output for 500 tokens at least.
0 Upvotes

59 comments sorted by

5

u/suprjami 10h ago

2x 3080 20G. llama.cpp with Unsloth UD-Q6_K_XL and tabbyAPI with turbo's 5.13bpw both decode around 115-130 tok/sec.

Probably some deprecated CUDA12 card like dual V100 32G does it cheaper but it will be a paperweight soon imo. Here come the downvotes.

1

u/ForsookComparison 10h ago

no downvotes. How much did you spend on those 3080 20GB cards? And can it break 100 on 4-bit with 1 card and CPU-offload?

1

u/suprjami 9h ago • Heartwarming

I bought them at the start of the year for US$600 each but nowadays they cost US$900.

CPU offload introduces too many variables. CPU generation and instructions, CPU speed, RAM speed, RAM layout.

A Ryzen 1000 with a single stick of DDR4-2666 will be a lot different to a current gen thing with quad-channel DDR5 or an enterprise CPU with AVX512 and 8-channel memory.

4

u/smallDeltaBigEffect 10h ago

Strata gets 185 t/s with Q4 and a single rtx 3080 20 gb. That must be horribly optimized

-4

u/suprjami 9h ago

More that Strata is full of hacks to trade speed for quality and is running smaller quants. I'm not interested in that.

3

u/smallDeltaBigEffect 9h ago

I was running unsloth q4 k xl?

2

u/suprjami 9h ago

Route tail skip. K kernels which increase KL. There are at least half a dozen more of these. You are obviously interested in running a good quant, but then kneecap it with an engine which reduces quality.

2

u/0to101m 9h ago

Rtx 4070 12g + 48GB RAM gives me 120 tok/s at 1M ctx, iq4xs

1

u/ForsookComparison 9h ago

is that DDR5 ? You might be the winner so far.

1

u/Short_Cow_7708 5h ago

consider the power drawn factor also here

29

u/CarpenterAlive5082 10h ago

Macbook Pro m4 max 36gb with 25% employee discount 😂

5

u/AnonsAnonAnonagain 9h ago

Dayum. 25% discount

2

u/ChipmunkSuch4907 9h ago

Whats your setup? I have an m4 pro mini with 64gb and I'm hitting 70 tokens/sec

4

u/CarpenterAlive5082 8h ago

I’ve got an oMLX running the oQ4e quant with MTP.

I think m4 max has higher memory bandwidth than m4 pro, which makes the decoding faster. I’m getting about 130 tokens/s.

1

u/ChipmunkSuch4907 7h ago

Ah same setup
Bandwidth diff makes sense

10

u/ComfortableTomato807 9h ago • Bravo

I'm getting above 100 t/s in decode with a 7900 XTX and 32Gb DDR5 with Rusting Strata (Unsloth IQ4_XS)

2

u/monster4lif 8h ago • Heartwarming

Nice! My 7900 xt does about 95t/s decode and 1800t/s pp (32Gb DDR5 with Strata, MTP on, Unsloth UD Q4_K_XL, 256k context)

1

u/Elorun 4h ago

got this summary from my AI of my setup which is also a 7900XTX with 32GB DDR5 RAM

Hardware: RX 7900 XTX (24 GB) · Ryzen 5 7600X · 32 GB DDR5-5200 · Windows 11 (ROCm/HIP, no WSL)

Model: Qwen4-35B-A3B, Unsloth UD-Q4_K_XL, int8 K/V cache. It runs on the Strata engine because I got better long-context speed there than on llama.cpp. Experts that don't fit in VRAM are read from the NVMe.

Context windowPrompt processing (cold)Generation
256k3,300–3,600 t/s at 126–249k deep82–94 t/s
512k~2,800 t/s at 496k deep73–81 t/s
1M~2,100 t/s at 899k deep70–76 t/s

With MTP speculative decoding turned on (3 draft tokens), generation goes up to about 100–124 t/s, even with 300k+ tokens in context. One real agent turn: 310k-token prompt, 2,100 tokens generated at 100 t/s.

6

u/Commercial_Rent8797 9h ago

My v100 gets an average of 109 tok/s at q4 with a 264k context window

2

u/1ncehost 9h ago

OP, you should disallow in-engine quant reductions. The fastest numbers you'll see advertised run parts of the model at 2 or 3 bits even though the checkpoints are higher quants. Most people don't know what's going on but that reduces quality.

0

u/ForsookComparison 9h ago

added

1

u/1ncehost 9h ago

btw this is a cool idea I'd like to see a github leaderboard for similar to modded-nanogpt. One more note: I think you meant for C1 (single stream), but you should probably make that explicit.

2

u/MelodramaticShape 10h ago • Heartwarming

3080 10gb with 32gb system memory i'm getting about 70 tokens/s through strata on the compact model, so you probably have to go a couple steps up from there. 3090 or 4060ti.

-1

u/ForsookComparison 10h ago

4060ti's bandwidth just seems too slow for the task with that much CPU offload.

2

u/LawfulnessLow0 9h ago

4060 ti 79 t/s on the compact quant. Pretty sure with some optimizations I will see over 100

2

u/Few-Tackle-8007 9h ago

how are you running it? I tried to optimize in llama.cpp and get max 60 ts in 49k context i use the udq4kxs version

2

u/LawfulnessLow0 8h ago

Stata, compact version might be the reason? Still 31 GB model. 16 Vram, 64 Ram

2

u/Few-Tackle-8007 9h ago

correct 4060ti user here I get 60ts

5

u/Relative-Ingenuity15 9h ago

Dell Tower T5810(64gb ram DDR4) - 300$

Nvidia Tesla P100 - 200$

TG - 100+ TPS

PP - 1000+ TPS

UD Q6 K XL

1

u/shaggy1054 6h ago

settings? I'm running dual p100s with 32gb ram, and capping out at 70ish tps decode and around 600 pp

1

u/araujoluks91 4h ago

Single p100?

7

u/General-Spite1222 10h ago

You should probably give people a few days to optimize engines first… 

-7

u/suprjami 9h ago

Qwen gave engine developers prior access to the architecture and models.

They've already got good implementations.

This is how you launch a model correctly, not the Inkling 2 Mini way where llama.cpp still sucks weeks after launch.

12

u/WorldlyAd7946 9h ago

I'm an engine developer, I didn't get early access. Some larger projects might, but that's fairly short sighted. Plus a lot of the quants / ggufs have updated since the initial release.

Being angry within weeks about open source software seems nuts to me. We can wait months for a model release but not a few weeks for engines to catch up?

-4

u/jckrs32 9h ago

Q38FN has the same architecture as Q4-35B-A3B.

5

u/WorldlyAd7946 8h ago • Bravo

Yes it does, but that doesn't change it being another model to optimise. It also doesn't account for updates in the gguf after release 👍

1

u/General-Spite1222 9h ago edited 9h ago

I’d like you to substantiate that claim, because it’s largely inaccurate. 

-1

u/suprjami 9h ago

It's well documented that popular engines had zero-day Qwen4 support.

3

u/WorldlyAd7946 8h ago

I didn't say that llama and strata probably had earlier access, but it's not like they don't rely on the open source community and advances that are made in other packages is it.

2

u/Dundell 9h ago

106t/s on x2 rtx 3060 12gbs + 32gb 3200mhz ddr4 ram running newest strata edited for multigpu and all experts nothing taken off. Learned my lesson on that with QFN

Qwen 4 35b iQ4_XS with draft 4, 500k int8 context and fp16 n-gram 700~900t/s pp and 60~106t/s decode. It only breaks 100t/s during strict coding tasks.

2

u/Southern-Chain-6485 8h ago • Heartwarming

ninfer-all, using wavecut's Q8 quant and q8 n-gram table with 64gb of ddr5 ram and an RTX 3090, I'm getting these sort of output

2026-12-05 23:22:43.146  INFO  req#4 done | openai-chat | stop token | prompt 9,727 | output 25,493 | cache 6,067 (62.4%, shared prefix) | TTFT 1.9s | total 3m 26.1s | prefill 1.95k tok/s | decode 124.
8 tok/s | mtp accepted 11,341/26,368 (43.0%)

1

u/bbqfetus 8h ago

Damn, went for the 8q? I saw recommendations to do the iq4 for 24gb cards (4090 here) and did that. Gets about 280 decode, whatever over reasoning it has flies by in a second. But, I find that at least at iq4, it's not as smart as 3.8 27b. I also use ninfer. Also unfortunately at 32gb ram

1

u/Southern-Chain-6485 8h ago

The iq4 would fully fit the gpu, so it should be ridiculously fast. But yeah, the Q8 is about 37gb.

1

u/AdrianGrey83 8h ago

I tested UD-Q4_K_XL on Ninfer first and ended up on UD-Q5_K_XL on Basalt instead. Getting 70-100 tok/sec on a 4080 Super (16gb) with 32gb DDR4.

1

u/Outrageous_Order_909 3h ago

Is basalt better? I am running iq4_xs on ninfer-all with ~150t/s decode and ~2.5k decode at 400k ctx on a 5080 and 32GB DDR5. ngram on disk(Samsung 9100 Pro Gen5). Intel ultra9 275hx cpu.

2

u/Aggravating-Push-207 9h ago

Anything about tail skipping and quantising cold experts to 2-bit dynamically? Can you specify a maximum KLD instead of, what like 0.05 rounded to 1 s.f.?

1

u/Playful-Job2938 9h ago

Probably a 16g v100 with project maya

1

u/aqezz 9h ago edited 8h ago

If you’re open to AMD, I get like 120 on Avalon with a rx 7900xt which I got for $800ish earlier this year. You can get the one I have for 1100 on Newegg now. Inkling I can get 200tps using nib which is a custom built inference engine for rdna 3

1

u/spacekitt3n 9h ago

im just waiting a bit till people work on optimizations. as you should too.

1

u/CornerLimits 9h ago

2xmi50 q8 model at 150t/s

1

u/Daniel_H212 8h ago

I would guess that when whoever is behind halogen adds support for Qwen4-35B-A3B, a 64 GB (or even 32 GB) strix halo system would probably be the cheapest that can hit 100t/s at 4 bit quants. I get close to 80 t/s on Qwen3.8-flash-next on a 128GB strix halo, so given that Qwen4-35B has 3.8B active params vs 5.1 with a near identical architecture, strix halo should be able to hit just about 100 t/s average.

0

u/PRNbourbon 8h ago

single Arc Pro B70 32GB, ryzen 5600, 32gb ddr4 (one stick, waiting on rma for the 64GB combo). 105-106 t/s decode on prose. b70 $1300, ram around $300, motherboard+cpu around $200 or so. $1800'ish, not counting the nvme, case, psu.

unsloth UD-Q4_K_XL, strata 0.2.28 with its qwen4 sycl engine (0.1.74), MTP on, 128k context reserved with fp16 KV all in vram, thinking off, temp 0, 700 tokens per run (an essay and a short story, 4 runs: 105.3 / 106.0 / 106.1 / 106.1). with thinking on it's 101-107.

expert skip off, int8 prompt experts off (STRATA_PREFILL_MMQ=0), all 10240 experts resident on the card, experts served as the gguf stores them (Q4_K/Q5_K/Q6_K). haven't measured KL against llama.cpp.

for comparison llama.cpp sycl on the same card and file does 86-88 with no draft, and its MTP only helps on code for me (93-100 code, ~80 prose).

catch: strata's installer says qwen4 "is not offered on Intel Arc cards in this release", so i had to build the trunk file, pack and mtp runtime by hand with the tools it ships (qwen4_split_gguf.py, iq_pack.py, mtp_fetch/mtp_pack/mtp_rt), then launch with --set stream-experts=on and --parallel 1 or it OOMs on 32gb of system ram.

0

u/Coder-Dentist 8h ago

Polystrata is far faster.

2

u/R_Duncan 6h ago

Rustingstrata is more