r/Qwen_AI • • 5h ago

Model Comparing Qwen4-35B-A3B with Qwen3.8-27B

Post image
164 Upvotes

I decided to do a comparison of my previous favourite model for coding - Qwen 3.8 27B (Q6) (left of the picture) with the new Qwen 4 35B A3B also at Q6 (right hand side of the picture). I'd seen someone else do a snow globe scene so gave that a go. Prompt was

create a single html file demo using three.js from cdn that is an animated xmas snow globe scene. make the scene very detailed. it should be an xmas village scene with houses around a square with the xmas tree in the middle, with presents at its base. make it detailed and cosy.

Ran them both on xhigh thinking, both using an Unsloth Q6 quant. They both produced about 73k tokens output, but Qwen 3.8 27B ran at ~60 toks/s and took 20 minutes whereas Qwen 4 35B A3B ran at ~90 toks/s and took 13 minutes. They both produced quite a nice output but 13 minutes instead of 20 is a useful speedup. And the snow fell out of the bottom of the 27B one, not to be replaced, where in the 35B one it stayed contained in the globe and was continually regenerated. The 27B one had nicer strings of lights going to the tree. All in all, roughly comparable output but I think 35B has the edge, and in two thirds the time.

I'm going to be using 35B for my coding model in pi.dev now unless it does something horrible.

Q3.8 27B: https://andrewmk.github.io/snow-globe-qwen3.8-27b-UD-Q6-K.html
Q4 35B-A3B: https://andrewmk.github.io/snow-globe-qwen4-35b-a3b-UD-Q6-K.html


r/Qwen_AI • • 4h ago

Funny Qwen likes kittens confirmed, AGI is here. πŸ₯Ή

Post image
40 Upvotes

r/Qwen_AI • • 5h ago

Funny Professor Qwen

Post image
27 Upvotes

r/Qwen_AI • • 56m ago

Benchmark Qwen4-35B-A3B: Strata is ~36% more energy-efficient (tok/s/W) and 60% faster than llama.cpp on my dual RTX 3060 (24 GB VRAM) + 64 GB DDR4

11 Upvotes

As I am moving from Qwen 3.8 27B to Qwen4-35B-A3B, I benchmarked switching my inference engine from llama.cpp to Strata to see how they compare in speed and power efficiency.

TL;DR / Conclusion

If you have 64 GB of system RAM, you should definitely consider switching to Strata. 32 GB setups will be tight.

Strata trades system RAM capacity for GPU throughput and energy efficiency. Plus, it is lighter on SSD wear.

Running Q4 quantization on my test task, Strata delivered +36% better energy efficiency (jumping from 0.33 to 0.45 tok/s/W):

  • Output speed: +61% faster (90 tok/s vs. 56 tok/s)
  • GPU power draw: +21% higher (200 W vs. 170 W)
  • Trade-off: Uses significantly more system RAM (~28–30 GB vs. ~7 GB)

Detailed Benchmark Results

EngineContext SizeVRAM Used (GPU 1 + GPU 2)System RAM UsedTotal MemoryOutput SpeedGPU Power DrawEfficiency
Strata256K21.9 GB (11.2 + 10.7)29.7 GB51.8 GB89 tok/s205 W0.43 tok/s/W
Strata128K21.6 GB (11.1 + 10.5)28.0 GB49.6 GB90 tok/s200 W0.45 tok/s/W
llama.cpp208K20.4 GB (11.6 + 8.8)7.16 GB27.56 GB56 tok/s170 W0.33 tok/s/W

Test Setup & Methodology

  • Hardware & llama.cpp config: Dual RTX 3060 (24 GB total VRAM) + 64 GB DDR4 β€” full setup details in my previous post.
  • Model & Quant: Qwen4-35B-A3B (UD-IQ4_XS from Unsloth)
  • Harness: pi 1.8.0 (default settings)
  • Strata config: strata launch. 0.2.28. Launched with default settings (automatically placed 16.2 GB of MoE experts into VRAM).
  • Workload: Initial pi system prompt (1,390 tokens) + first prompt (23 tokens) + follow-up task (910 tokens).

Key Observations

  • Strata uses much more RAM and will wear SSD less: Despite its "35B" name, Qwen4-35B-A3B actually totals ~57B parameters when including its 20B n-gram embedding table (Engram) and 2B Multi-Token Prediction (MTP) head. Strata pins hot MoE experts in VRAM (16.2 GB) and aggressively caches the remaining experts and Engram lookups directly in system RAM to avoid disk bottlenecks, whereas llama.cpp relies heavily on SSD mmap (keeping RAM usage at ~7 GB at the cost of speed).
  • Context scaling: Increasing context from 128K to 256K on Strata had virtually no impact on speed or power draw, thanks to Qwen4's hybrid DeltaNet/full-attention architecture keeping the KV cache small.
  • Prompt processing & TTFT: Input token processing speed was similar across both engines (~1,800–2,000 tok/s), with an initial prompt load time of ~2 seconds in all three runs.
  • Memory trade-off: Strata's speed boost comes at the cost of much higher system RAM allocation (~29 GB vs. ~7 GB on llama.cpp), so make sure you have at least 64 GB of RAM for this setup.

r/Qwen_AI • • 5h ago

Model Uncensored Qwen 4 35B-A3B MLX

Thumbnail
huggingface.co
21 Upvotes

also up on HF: 3-bit (27 GB) and 6-bit (46.7 GB)

let us know what works and what doesn’t. enjoy!


r/Qwen_AI • • 1d ago Popcorn

News Qwen4-35B is the most important LLM release of 2026 so far. This model is EXTREMELY GOOD. Stealthmodels has just evaluated it.

Thumbnail
stealthmodels.com
747 Upvotes

We just completed StealthMark ratings for the new Qwen 4 model! Apache 2 Weights !

We used llama.cpp with a Q6_K (Unsloth UD variant) quantization first and later verified the scores using full precision via openrouter alibaba cloud.
Full precision showed identical performance to Q6K, a little up and down in normal uncertainty - the model likely can go to 4-5 bit without much loss in fluid intelligence.

Inkling 2 Mini got all the hype, Qwen4 35B is much stronger in every StealthMark metric.

This model is a ngram enhanced Qwen 3.8 architecture, it basically is Qwen3.8-Flash - just smarter and half as large!

Speed:
The token speed is amazing, even with partial CPU offload we reach 124 tokens/sec on a 5090, benchmarks show speed can reach 512 tokens/sec on such a GPU.
Qwen4 35B is one of the fastest models you can use today.

Efficiency:
Qwen4-35B is among the MOST EFFICIENT models ever tested by Stealthmodels !
It's the 3rd best ever tested in that category, it's very affordable to run or pay.

Reasoning effort:
Qwen4 35B is an over-thinker, it's not beating Qwen3.8 27B, surprisingly. However, it has 1 million context window and it is so fast that the additional thinking time can be acceped.

Intelligence:
Who would have guessed that a 3 billion active parameter model is on EYE LEVEL with Qwen3.8-27B ? Alibaba did it!
The 27B model is still beating it, but very narrowly.
Look at the comparison between Qwen3.8 27B, Qwen3.8 Flash and Qwen4 35B.
The tiny 35B model is just a few percent below the dense 27B, and Flash is behind both.

Comparison:
https://stealthmodels.com/compare/qwen3.8-27b-vs-qwen4-35b-a3b-vs-qwen3.8-flash-vs-qwen3.6-35b-a3b

Qwen4-35B might be one of the or "the" most important open LLM release of 2026, given how well this performs and how easily accessible it is.
The expectations for Qwen4-27B are very high now.


r/Qwen_AI • • 20h ago Heartwarming

Vibe Coding Qwen4 35b is ...badass!

183 Upvotes

One day in, as usual I test models doing the "minecraft challenge", and, yeah... I think it kinda did its own thing here, and I was not sad.


r/Qwen_AI • • 1d ago

Model Is it really like this?

Post image
853 Upvotes

r/Qwen_AI • • 2h ago

News Qwen4-35B-A3B on a 12GB/30GB laptop: 128K ctx @ ~51 tok/s decode, 256K works, 512K with q4 KV, 1M OOMs

Thumbnail
gallery
4 Upvotes

Saw the earlier 8 GB / 16 GB post and wanted to push Qwen4-35B-A3B on my laptop. Short version: the hybrid architecture (linear/Gated-DeltaNet attention + engram-on-SSD + MoE expert cache) scales beautifully β€” the wall is VRAM, not context length.

Hardware

  • GPU: RTX 5070 Ti Laptop, 12 GB GDDR7 (~672 GB/s)
  • RAM: 30 GB DDR5
  • CPU: Ryzen 9 8940HX (16C/32T)
  • OS: Linux (Arch)
  • Runtime: llama.cpp master (build 13021, commit 0c8a9726c, 2026‑12‑05), CUDA 13.5, sm_120
  • Model: unsloth/Qwen4-35B-A3B-GGUF UD-IQ4_XS + mmproj-F16, engram lazy-loaded from SSD

The 3-tier setup (VRAM cache + RAM experts + SSD engram)

llama-server \
  -m Qwen4-35B-A3B-UD-IQ4_XS-00001-of-00002.gguf \
  --mmproj mmproj-F16.gguf --no-mmproj-offload \
  --load-mode mmap --lazy-mode on -ot per_layer_token_embd=CPU \
  -ngl 999 -cmoe --fit off -np 1 \
  --moe-cache-mib 3000 --moe-cache-cpu-share 0.85 \
  -fa on -ctk q8_0 -ctv q8_0 -c 131072 -b 2048 -ub 2048 \
  -t 16 -tb 16 --jinja --host 127.0.0.1 --port 8080

Measured (prompt β‰ˆ1500 tok, KV q8_0 unless noted, warm)

ContextKVWherecache MiBVRAM usedPP t/sTG t/s
64Kq8VRAM45009.7 G131963.2
128Kq8VRAM30009.6 G123056.9
256Kq8VRAM150010.9 G123946.4
512Kq4VRAM50011.4 G103038.4
512Kq8RAM (-nkvo)10008.8 G622.4 (unusable)
1Mq4RAM500β€”β€”OOM

(PP = prompt processing, TG = token generation. 128K live re-check: PP 1248 t/s / TG 51 t/s.)

Findings

  • 128K is the sweet spot. ~51–57 tok/s decode, Q8 KV, ~2 GB VRAM free. This is what I run by default.
  • 256K still flies at ~46 tok/s.
  • 512K only works with q4_0 KV kept in VRAM (q8 doesn't fit): ~38 tok/s but leaves ~479 MB free β€” fragile, don't open other GPU apps.
  • Putting KV in RAM is a trap: --no-kv-offload at 512K q8 β†’ 2.4 tok/s. The KV must stay on the GPU.
  • 1M context does NOT load β€” it needs an ~8.3 GB compute/graph buffer alone.
  • Decode barely degrades with context β€” at ~27K depth it was still ~52 tok/s. The linear-attention part does its job; you don't pay a huge long-context tax.

Raw log (real, 128K, q8 KV)

slot print_timing: id 0 | task 19 | prompt eval time = 1202.91 ms / 1501 tokens (0.80 ms per token, 1247.81 tokens per second)
slot print_timing: id 0 | task 22 |        eval time = 2477.87 ms /  128 tokens (19.51 ms per token,  51.25 tokens per second)

Caveats

  • VRAM is the binding constraint; 512K q4 is for "I really need max context" only.
  • q4_0 KV costs a little quality vs q8_0.
  • At very long context the bottlenecks become engram random reads on SSD and expert-cache misses, not raw capacity.
  • Needs a llama.cpp with qwen4exp support (β‰₯ PR #33626, master).

r/Qwen_AI • • 7h ago

Benchmark Running Qwen4-35B-A3B on a 32GB M6 Mac mini at 63-79 tok/s (Q4) and 45-58 tok/s on 52GB Q6_K_XL with 0 swap (Splash 1.7.6)

10 Upvotes

Benchmarked unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M (35.2GB) and UD-Q6_K_XL (52.2GB) on a 32GB Apple M6 Mac mini (macOS 27.2.1, Splash 1.7.6, DFlash2 on, --max-context 64K --max-concurrent-requests 2).

All three runs stayed at 0.0 MB swap.

TestUD-Q4_K_M (22G)UD-Q4_K_M (18G)UD-Q6_K_XL (22G)
Experts in RAM / PLE on SSD72% / 10.7 GiBstreamed / 10.7 GiB53% / 20.3 GiB
Short prompt (~46 tok)70.0 tok/s65.8 tok/s47.9 tok/s
Tool call JSON (241 tok)57.5 tok/s41.5 tok/s38.0 tok/s
~5K cold / cached66.7 / 79.1 tok/s46.7 / 63.3 tok/s40.9 / 57.5 tok/s
~20K cold / cached63.5 / 69.3 tok/s47.3 / 52.2 tok/s50.0 / 58.4 tok/s
~40K cold / cached67.1 / 71.6 tok/s53.9 / 61.2 tok/s45.4 / 55.9 tok/s
40K cached TTFT (vs cold)0.21s (19.6s)0.42s (16.8s)0.47s (17.2s)
2x / 3x concurrent agg-64.9 / 62.7 tok/s41.4 / 47.6 tok/s
Pressure / Free RAM / Swapnormal / 15% / 0 MBnormal / 35% / 0 MBwarning / 15% / 0 MB

Notes:

  • UD-Q6_K_XL (52.2GB) ran at 45-58 tok/s with 0 swap via Splash SSD expert streaming (53% experts resident in RAM, 20.3 GiB PLE on SSD), though it stays in memory_pressure: warning (15% free RAM) and serializes concurrent requests.
  • UD-Q4_K_M at --max-memory 18G leaves ~35% RAM free for other background services and hits 64.9 tok/s aggregate across 2 parallel sessions.
  • UD-Q4_K_M at --max-memory 22G is the fastest single-stream setup (63-79 tok/s, ~0.2s cached TTFT past 40K).

Raw JSON and a zero-dependency run_benchmark.py script: https://github.com/UTurtle/m6-benchmark-splash-llm

Tell me if anything in the script looks off.

(Note: I had AI help from Antigravity to write the benchmark script and draft this post.)


r/Qwen_AI • • 7h ago

Benchmark Qwen 4 35B vs. Qwen 3.8 27B: 35 coding tasks on an M1 Max 64GB RAM

7 Upvotes

I’ve been benchmarking local models in my autonomous coding harness, and I reran my Qwen 3.8 benchmarks with Qwen 4. The results were extremely interesting as Qwen 4 is way faster and mostly as good at code quality.

QUALITY RESULTS

Qwen 3.8 β†’ Qwen 4

β€’ Feature tasks delivered: 13/17 β†’ 12/17

β€’ Delivered within 2 hours: 11/17 β†’ 12/17

β€’ Median time on mutually successful features: 45m β†’ 10m

β€’ Data/ML tasks passing tests: 18/18 β†’ 18/18

β€’ Total data/ML execution time: 8h 8m β†’ 1h 55m

The feature tasks included gateway development, credential management, REST APIs, concurrency, query parsing and debugging existing repositories. The data tasks ranged from database migrations and accounting ledgers to implementing regression and clustering algorithms.

SOME NOTABLE EXECUTION EFFICIENCY GAINS (3.8 β†’ 4):

β€’ REST locking: 98m β†’ 6m

β€’ Query precedence: 46m β†’ 10m

β€’ Dataset splitting: 37m β†’ 3m

β€’ Ridge regression: 38m β†’ 2m

β€’ K-means: 68m β†’ 14m

Qwen 4 was faster on all 18 data/ML tasks and 13 of 17 feature tasks. It also delivered three feature tasks that 3.8 couldn’t complete, but failed several that 3.8 previously delivered.

SETUP

Apple M1 Max, 64GB unified memory, running both models through MLX.
Shared settings:

β€’ Quantization: 4-bit

β€’ Temperature: 1.0

β€’ Top-p: 0.95

β€’ Top-k: 20

β€’ Maximum context: 128K

β€’ Output limit per call: 16K

Model-specific settings and performance (3.8 β†’ 4):

β€’ Presence penalty: 1.0 β†’ 1.5

β€’ Working context budget: 32K β†’ 96K

β€’ Decode speed: 11–16 t/s β†’ 33–36 t/s

β€’ Prefill per fresh token: ~10ms β†’ 1.6–1.9ms

Both models run with thinking enabled, exact conversation history replay and prefix cache reuse.

The harness gives the models access to file editing, shell commands, executable tests, persistent context and iterative repair. Both receive the same task definitions and acceptance tests, including hidden tests. Feature tasks also use Haiku 5.5 as an independent reviewer.

CODE QUALITY THOUGH IS MORE NUANCED

I used Haiku to review all 18 data/ML implementations from each model (in my tests the same review quality as sonnet) then used DeepSeek to harden and repair them.

Qwen 3.8 β†’ Qwen 4

β€’ Passed original tests: 18/18 β†’ 18/18

β€’ Passed strict review (going through 2 agents) 1/18 β†’ 1/18

β€’ Passed after one hardening round: 6/18 β†’ 4/18

β€’ Passed iterative repair (matched tasks): 6/6 β†’ 2/6

The reviewer found issues including concurrency bugs, numerical overflow and inadequate input validation. Of the 34 medium/high-severity findings examined, 32 were reproduced with executable failing tests.

Interestingly, Qwen 4’s largest speed improvements were on numerical ML tasks, which were also where its output were the most difficult to harden.

QUALIFICATIONS

β€’ One selected run per model per task.

β€’ Two defective feature evaluations excluded.

β€’ Two-hour cutoff applied retrospectively to 3.8.

β€’ Local review integration bugs identified and fixed.

β€’ Some repair-loop objectives were clarified during evaluation.

β€’ Inference settings reflect the configured model profiles; speed measurements come from separate inference tests.

TAKEAWAY

Qwen 4 is a substantial upgrade for local agentic coding. It achieves comparable functional results to Qwen 3.8 while reducing run times in my harness by several hours across these workloads.

To me this is absolutely game changing and rewrites the economics for the work I can do locally.

To be fair to Qwen 3.8, it’s advantage appears to be in the robustness and repairability of its implementations, particularly for numerical workloads.

For my architecture, where local workers handle implementation and inexpensive API models handle independent review and hardening, the execution efficiency of Qwen 4 is compelling enough that I’ve made it my default local worker.

I doubt even Qwen 4 27B will usurp that because of the pure efficiency of inference with this model.


r/Qwen_AI • • 3h ago

News Splash 1.7.7 released, even for optimizations for Qwen 4

Thumbnail
github.com
3 Upvotes

News for the macOS Qwen users.


r/Qwen_AI • • 1h ago

Help πŸ™‹β€β™‚οΈ Qwen4 35b a3b fp8 - Is this normal? infinite thinking loop...

2 Upvotes

This pattern seems to repeat every now and then until it somehow breaks it. Seems to happen in very long sessions (as you can see)


r/Qwen_AI • • 8h ago

Benchmark Qwen4-35B-A3B on a 24GB Handheld (ROG Xbox Ally X): 426 tok/s Prefill, 45.8 tok/s Code Decode, 256K-320K Context via Custom AMD HIP Optimizations on Strata

Thumbnail gallery
7 Upvotes

r/Qwen_AI • • 8h ago

News Kvark-Sparkle-2.0-35B-A3B: our Qwen4-35B-A3B fine-tune with 34% fewer reasoning tokens (Apache 2.0)

5 Upvotes

With Qwen4 out, we wanted to see how fast we could bring what we learned from Sparkle 1.x to the new generation. So today we're releasing Kvark-Sparkle-2.0-35B-A3B, built on Qwen4-35B-A3B and the first MoE model in the Sparkle family.

Initial results across 10 benchmarks:

  • -46,8% median, 34.2% fewer reasoning tokens on average, with fewer tokens on all 10 benchmarks and up to 63% less
  • Better accuracy on GPQA Diamond, tool calling and HMMT
  • Less than 2 points of accuracy trade-off on average

For us, efficiency isn't just about faster answers, it's about getting more out of the same hardware.

This is our first iteration on Qwen4, and there's still plenty of room to improve. Open weights, Apache 2.0:

Give it a try and let us know what you think and stay tuned for new versions!


r/Qwen_AI • • 8h ago

Benchmark Qwen 4 35B-A3B on a 32GB MacBook M5: streaming the 20.5B Engram from SSD gets ~34 tok/s max, and OpenCode built a full 3D app with it

Thumbnail
gallery
5 Upvotes

The Engram is what makes Qwen 4 35B-A3B a 57B model in total, and it's also why the 4-bit MLX build (~35.2 GB) won't load on a 32GB Mac. But the Engram is a lookup table, not compute, so I tried leaving it on the SSD and only keeping the 3B active params and the KV cache in RAM.

How I ran it:

  • Unsloth UD-IQ4_XS GGUF + llama.cpp b12977, `--lazy-mode on` with mmap
  • `-ot per_layer_token_embd=CPU`, 32K context, q8_0 KV, flash attention
  • OpenCode on top through the OpenAI-compatible endpoint

What I got on the M5 (153 GB/s):

  • First ~600 tokens: 17–20 tok/s while the Engram pages warm up
  • After that: 30.3–31.5 tok/s average, 33–34.5 tok/s on llama.cpp's 3 s window
  • Prompt processing: ~293 tok/s on a 10.2K-token prompt
  • RAM: 28.8 GB of 32 used, only 785 MB swap
  • OpenCode built a 6-file Three.js "MECH BAY" garage app in 23m 37s at 32.2 tok/s average (with screen recording on)

Server command

llama-server \

-m Qwen4-35B-A3B-UD-IQ4_XS-00001-of-00002.gguf \

--alias qwen4-35b-a3b --host 127.0.0.1 --port 8080 \

-np 1 -c 32768 -fa on -ctk q8_0 -ctv q8_0 \

--load-mode mmap --lazy-mode on \

-ot per_layer_token_embd=CPU --jinja

Things I noticed

  • Generation starts slow (~17 tok/s) and climbs to 30+ once the Engram pages are warm. Judge the speed after a few hundred tokens, not on the first reply.
  • I kept the context at 32K so the KV cache stays in RAM and doesn't spill to the SSD on 32GB.
  • OBS costs about 2–3 tok/s, so the 33–35 numbers are with recording off.

Tool calling held up for the whole 23-minute build, even at IQ4.

The same model is going on my RTX 4080 16GB next (~717 GB/s), to see whether this trick still matters when the bandwidth is 4–5x higher.

Has anyone compared how the Engram behaves at IQ4 vs Q5/Q6? I'd like to know if the lower quant hurts it more than the experts.


r/Qwen_AI • • 5h ago

News Qwen4-35B on Two DGX Sparks: 563 tok/s

Thumbnail
kitmobley.com
3 Upvotes

r/Qwen_AI • • 21h ago

Model Qwen4-35B-A3B running at up to 280 Tok/s on M5 Ultra Superfluid

Post image
53 Upvotes

We’ve been working on day-zero support for Qwen4 in Superfluid and are already seeing upto 280 tok/s decode on an M5 Ultra at q4. Really impressed by what this model can do with just 3B active parameters in terms of agentic capabilities running locally.

Give it a try and let u know what you think. https://github.com/basecompute/baseRT
Models: https://huggingface.co/basecompute/Qwen4-35B-A3B


r/Qwen_AI • • 9h ago

Benchmark Laptop: i5-10500H, 16 GB RAM, GTX 1650 Max-Q 4 GB. Qwen4 support in Pithos

Thumbnail
youtu.be
5 Upvotes

Pithos is the inference engine: one dependency-free C11 executable, no Python, no CUDA toolkit. Version 0.9.3 adds Qwen4, the newest open model from Alibaba's Qwen team.

Qwen4 is more than a bigger Qwen3. It keeps the same Mixture-of-Experts stack and adds three new pieces, all now implemented in C:

πŸ”Ή Hyper-connections: four residual streams instead of one, mixed by a small low-rank network before each block

πŸ”Ή N-gram embeddings: a 160-million-row table (11 GB). Each token reads just 16 rows, straight from disk, so the table never has to fit in RAM

πŸ”Ή Sparse attention: past 2,048 tokens, each attention layer reads only the 512 blocks its indexer scores best

On the reference laptop (i5-10500H, 16 GB RAM, GTX 1650 with 4 GB): β€’ 18.8–19.0 tok/s generation with Vulkan, against 9–10 tok/s for llama.cpp on the same machine, about 2Γ— β€’ 64.5–65.4 tok/s reading a 512-token prompt (llama.cpp: 45–50) β€’ every layer runs on the GPU. The routed experts run on the CPU, and ~750 of the most used ones are cached in the spare VRAM β€’ the perplexity matches llama.cpp (1.2347 vs 1.2368), so the speed doesn't cost accuracy.

Support is experimental. Every number is in the README, with the exact files and commands to reproduce it.

https://github.com/benmaster82/Pithos


r/Qwen_AI • • 6h ago

Experiment Atakebune Challenge(One Shot) | Strata Fork | Qwen 4 35b | DeepSeek Harness

3 Upvotes

r/Qwen_AI • • 24m ago

Benchmark Qwen4 35B A3B vs Claude Haiku 5.5: Launch Day Chess

Thumbnail
youtube.com
0 Upvotes

r/Qwen_AI • • 4h ago

Model qwen4-35b-a3b-ud_k_xl en RTX 3060 12GB VRAM

Post image
2 Upvotes

Ya que q4_k_xl corre tan bien en una rtx3060 con Strata, por que no intentar con q6 o q8 ?

En Q8:

128k 59 t/s + pp 1490 t/s

256k 56 t/s + pp 1500 t/s

512k 57 t/s + pp 1180 t/s

1024k 53 t/s + pp 760 t/s

---

En Q6:

ronda 68 t/s

---

Kv int8


r/Qwen_AI • • 8h ago

Benchmark Qwen 4 35B-A3B - Dual RTX 3060 (24GB) - 70 t/s at 200K+ Context (Procedure & Parameters)

Post image
4 Upvotes

Update: I achieved 90 t/s on this setup by switching from llama.cpp to Strata. Strata is much more energy efficient and will be lighter on SSD wear. I detailed my benchmark between Strata and llama.cpp here.

---
Huge thanks to Alibaba for releasing Qwen 4 35B-A3B. I almost tripled my inference speed on the exact same setup compared to Qwen 3.8 27B!

Right now, I am averaging 60–70 tok/s with a 200K+ context window running UD_IQ4_XS on an older DDR4 system.

Here is the exact procedure and configuration I used to dial it in.

Tuning Procedure

  1. Update your stack: Make sure you are on the latest versions of Unsloth Studio and llama.cpp with Qwen 4 support.
  2. Manual GPU management: Switch to manual layer allocation and offload all layers to the GPUs. Split tensors evenly between the two cards.
  3. Find your baseline CPU MoE: Find the lowest possible number of Mixture-of-Experts (MoE) layers kept on the CPU that fits in your VRAM.
  4. Free up extra VRAM: Add -ot per_layer_token_embd=CPU to offload per-layer token embeddings to system RAM, then lower your CPU MoE count again to take advantage of the newly freed VRAM.
  5. Tune the MoE VRAM cache: Add --moe-cache-mib N (test values between 1500 and 2500) to keep the most frequently used experts cached in VRAM.
  6. Balance cache misses: Add --moe-cache-cpu-share N (test values between 0.2 and 0.3) to set the fraction of MoE cache misses that the CPU computes directly from host RAM instead of uploading the expert weights over PCIe to the GPUs.

Hardware & Software Setup

  • GPUs: 2x RTX 3060 (24 GB total VRAM)
  • Display Out: Ryzen iGPU (keeping 100% of the 3060s' VRAM free)
  • System RAM: 64 GB DDR4
  • CPU: Ryzen 5 5th gen
  • OS: Kubuntu 26.04
  • Frontend: Unsloth Studio v0.1.929-beta (2026-12-3)
  • Backend: llama.cpp (b12966-mix-49c75f)

Exact Parameters

  • Quantization: UD_IQ4_XS
  • Context Size: 212992
  • KV Cache: q8_0
  • GPU Management: Manual
  • Multi-GPU Splitting (--tensor-split 1,1)
  • Layers on GPU: 42/42
  • MoE on CPU (--n-cpu-moe): 11
  • Engram: IQ4_NL
  • MTP: auto
  • Parallel: 1
  • Batch / Micro-batch: 4096 / 512
  • Extra Flags:
  • Other:-jinja --fa on -ot per_layer_token_embd=CPU --moe-cache-mib 1536 --moe-cache-cpu-share 0.25

Conclusion

If you are still on Qwen 3.8 27B or hesitant to run Qwen 4 35B A3B on a mid-range multi-GPU rig, make the switch.

General intelligence sits within the margin of error, and the dense 27B still holds a slight edge on deep architectural reasoning. However, Qwen 4 35B A3B delivers massive speed gains and higher scores in Terminal Bench and software engineering (DeepSWE v1.1).

This model truly is a game-changer for proprietary or personal documents. Hitting 60–70 tok/s on two older 12GB cards shows the effort Alibaba put into the architecture. Combining a 3B-active MoE, MTP speculative decoding, and a native 1M context window with llama.cpp MoE caching and engram offloading makes a huge difference.

Qwen 4 is the clear winner as a daily driver. The vast majority of my work can be performed locally now.


r/Qwen_AI • • 13h ago

News Local LLM Benchmark: Claude Code with Open-Weight Models

Post image
10 Upvotes

Test on MacBook Pro M5 Max (40-core GPU) Β· 128 GB unified memory Β· macOS 27.2 Β· Splash 1.7.6 (Qwen4) / 1.7.3 (Inkling) / 1.7.0 (Qwen3.8 family) , updated 5 December 2026

Key results for Qwen4-35B-A3B (Q4_K_XL, Splash 1.7.6):

- Fastest model tested so far. On the same code prompt it reaches ~4,900–5,050 tok/s prefill and 180–193 tok/s decode. For comparison, Flash-Next managed 160 tok/s decode and Inkling ~3,300 tok/s prefill.

- A 1M context is practical. The first load of 980K tokens takes 5.6 minutes, against 32.6 for Inkling. After that, each follow-up answer starts within 0.2 s. The model found the needle at all 7 sizes from 8K to 980K. Load time grows almost linearly: doubling the context costs about 2.2Γ— the time, against 3.2Γ— for Inkling.

- The KV cache at 1M takes ~22 GB, half of Inkling's. It fits in the 32G disk cache, so a thread that long survives a server restart.

- Thinking can really be switched off. reasoning_effort: none gives 0 reasoning tokens, and all 10 answers were still correct. low is the sweet spot: every answer correct and 35–50% faster than the default high.

- medium isn't in the model's list, but Splash accepts it anyway. On one of the two prompts it thinks longer than high does. The app will pick high for Qwen4, which is the right choice.

- Draft acceptance is lower than for the other models: 27%, against 36–43% before. Decode is still the fastest anyway.


r/Qwen_AI • • 1d ago Bravo

Experiment Jesus Christ, this is done with Qwen 4B 35BA3 Q4 Unsloth using OpenCode and MCP to Blender

Thumbnail
gallery
293 Upvotes

I drew the apartment as 2D floor sketch by hand, fed it to chat and asked it to make it into 3D, and after a few back-and-forth messages (like 5 lol), I made two apartments where one is celebrating new year and the other isn't.

Also, I was like "let's crank open the doors of the wardrobe a bit and show the insides", an unthinkable feat for 3D AI work just a year ago and now an A3B model is doing this like it's nothing. (like can you imagine AI understanding in detail what you mean by "let's crank open the doors of the wardrobe", especially a 3B parameter active model.)

Btw, less than 5 minutes of work 🀑 . Unfreaking believable! Unbelievable!

Single 3090 btw, 256k context, and 128gb ram (but that's irrelevant).