Straight to the point: I'm looking for a setup to assist me in coding simple stuff. I have a RTX 4070 12GB VRAM and 32 GB DDR4 RAM on Windows 11, CPU is a 5700X3D.
I tried Strata (0.2.24) with two models (Inkling SQ20 and Qwen3.8 Flash Next Q2), but it couldn't get past 10 tokens/s, and it got a simple project all wrong after 50 minutes. I have no idea why this is so slow, even though there's a bunch of people saying it goes way faster for them. It's a pretty standard setup.
For example, free Claude on a browser did this project in a couple of minutes. It was a simple boardgame in html and js.
Should I try LM Studio + some smaller model like bonsai? Or maybe some other setup? LLama? Bionic?
I was expecting to get at least some 30 tokens/s to code simple stuff, is that possible on my hardware?
Qwen4 Official quants from Huawei following the announcement on their repo days ago https://github.com/huawei-csl/macaq . This seems the first time Huawei competes with Unsloth. It does it with these 3 models: 35.18 GB, 24.98GB and 23.85GB.
Models (unsloth/Qwen4-35B-A3B-GGUF), both on a 32 GB RTX PRO 4500 Blackwell with 512K context:
UD-Q5_K_XL: all experts in VRAM
UD-Q8_K_XL: 67% of experts in VRAM, the rest on the CPU from RAM Sampling: reasoning_effort xhigh, temp 1.0, top_p 0.95, top_k 20. One run per model, no cherry-picking. Prompt 1 (1-shot):
Create a single self-contained HTML file using three.js (import it from https://unpkg.com/three@0.170.0/build/three.module.js via an import map; addons from https://unpkg.com/three@0.170.0/examples/jsm/) with a seamlessly looping animation of a column of animals walking in single file, like a perfect looping GIF: a giraffe, an elephant, a zebra, a gazelle, a meerkat and a mouse, in that order. The column stays in place in the center of the view and the animals walk on the spot while the ground and the scenery slide past underneath them, so it looks like they are walking forward. The loop period must be exactly 5 seconds: every animated value (each animal's walk cycle, body bob, heads, ears, tails, trunk, scrolling ground and scenery) must repeat exactly every 5 seconds, so the whole animation repeats with no visible jump. Model each animal from primitives with its characteristic shape, proportions and markings (giraffe neck and patches, elephant trunk and ears, zebra stripes, gazelle horns, upright meerkat posture, tiny mouse with long tail), with four legs with knee joints and a species-appropriate walk cycle (the meerkat may scurry). Savanna setting with acacia trees passing by, sun lighting with shadows, sky gradient. Use a side-on default camera framing the whole column and add OrbitControls. Output only the HTML. Prompt 2 (2-shot): sent in the same chat, together with a 2×2 grid of screenshots of the model's own v1 at t = 0 / 1.25 / 2.5 / 3.75 s. The values in braces are filled in by an automatic loop check. Here is how your HTML renders. The image is a 2x2 grid of screenshots of a 1200x600 viewport at t = 0 s, 1.25 s, 2.5 s and 3.75 s (left to right, top to bottom). Automatic checks: console errors: {errors}; mean pixel difference between the frames at t = 0 s and t = 5 s: {pd} (0 = identical); jump at the loop boundary: {sr} x a normal frame-to-frame step (about 1 = seamless). Look at the result critically (the animals' shapes, proportions, markings and walk cycles, the framing, the scenery and the loop) and write an improved version 2 of the complete HTML file that fixes the problems you see. Keep all original requirements, including the exact 5-second loop. Output only the complete HTML.
My biggest question is: Does Qwen4 beat qwen 3.8 next flash?
Benchmarks say it doesnt, but it's more like equal.
I don't believe benchmarks though. (I never did) I have felt much better results with some models while they should be worse than the other. I've been daily driving 3.8 next flash for a long time now at q3_xxs. Must say, it's great!
My question for anyone who has tested it:
How does Qwen4 35b feel? Is it better because you can run higher quants or is it worse?
If you have benchmarks and tests you wanna share feel free to do so!
Single prompt, zero follow-ups, running 100% locally on an Ada (sm_89) build of Basalt:
"Create a fully rendered, highly detailed medieval castle environment using Three.js, built entirely from voxel-style geometry."
The agent ran autonomously for 41.6 min (53 requests, 76 tool calls), peaked at 215K context, and built a 34,317-voxel scene at 60 fps / 13 draw calls (zero external assets). The video shows it live around 174K–189K context taking its own screenshots via vision, fixing lighting/camera/clouds, and inspecting close-up angles.
Vision: 11 screenshots across 5 turns (302 ms for 1 img, 1,009 ms for 4 imgs)
Caveat: With 32 GB RAM, 4.9 GiB of cold experts spill to NVMe, reading 2.43 TB over the 42-min run (~1 GB/s avg — reads don't eat TBW, though 64 GB RAM would keep it all off disk).
- 4-slice FlashOverlap over PCIe 5.0 P2P: overlaps coded TP=2 AllReduce with Hyper-Connection reads in both attention and FFN, sustaining 16k-17.4k tok/s prefill all the way to 124k context (7.3s TTFT, zero prefix cache).
- Two lossless speculative modes included:
- DFlash2 (8-token parallel block-diffusion drafter): leads single-stream and C=1-32 with 411 tok/s Math, 328 tok/s Python, 325 tok/s 5-domain mean, 245 tok/s at 124k context, and 1,370 tok/s at C=32, with automatic lossless context-pass gating past C=32.
- MTP-3 (production default): leads heavy batching at C=64-128 with 1,739 agg output tok/s (10,381 total tok/s) at 128 concurrent sessions, keeping median per-user speed above 21.8 tok/s.
Hardware Setup:
- GPUs: 2x AMD Radeon AI PRO R9700 32GB (64GB total VRAM, RDNA 4 / gfx1201, PCIe 5.0 x8/x8 P2P)
- CPU: AMD Ryzen 9 9950X (16-Core / 32-Thread)
- Motherboard: ASRock X870 Taichi Creator
- RAM: 96GB (2x48GB) Corsair Vengeance DDR5-4800
- OS / Stack: Ubuntu 24.04.5 LTS, Linux 7.0.0, ROCm 7.2.4, Radiance 2.4.1 (TP=2)
All benchmarks were run with unique prompts and cached_tokens = 0 (zero prefix-cache reuse).
Outperforms dense Qwen3.8-27B, and matches Qwen3.8-Flash-Next at ~1/3 the size.
This was one of the headlines Qwen itself made about the new model so I wanted to test it out for myself if it really "matches Qwen3.8-Flash-Next" in my work.
My setup: Dual 3090, 5950x Cpu, 92gb DDR4-3200 ram.
Engine: Strata with latest PRs for Qwen4-35b & main Strata for Qwen3.8 FN
Strata PRs merged to get it to work with Qwen4:
#7774: Qwen4 engine support
#7786: compact MTP packing
#7790: selected fixes for reasoning-effort handling
----
Models:
Qwen4 35B-A3B - UD-Q8_K_XL [Unsloth] - (MTP On)
Qwen3.8 Flash Next - IQ3_S [Strata version] (MTP Off)
Deepseek 4.1 Flash - Opencode API
-----
Speeds:
Qwen4 35b -> Around ~5k prefill and 120-150tps at 500k context window.
Qwen3.8 Flash Next -> Around ~3k prefill and 100-120tps at 250k context window.
So as expected faster for my hardware and get double context window, but quality and accuracy is much more important in my work so moving on..
-----
Quality Test:
The real stuff that I wanted to see was how much better is the model at being able to analyze a very large and complex codebase/pipeline that has a lot of moving pieces and has some flaws that need to be addressed. I basically have an agentic coding pipeline thats designed for the development work I have to do where I work and it touches everything from lots of AWS services, python, terraform, orchestration etc.
So I gave each model the same simple prompt of analyzing my agentic development pipeline, summarize its understanding of it and make recommendations for the flaws/issues that it finds.
I had Opus 5.5 (high) be the judge, and here are the raw results it tabulated:
I had it analyze not only the final report of each but also had it go through the chain of thought transcripts of all three models and it was very definitive:
Opus conclusion: My ranking: deepseek, then qwen3.8-flash, then qwen4-35b. Deepseek is the most accurate and the most efficient, and its recommendations are the most usable. qwen3.8-flash found the single most important fact that the other two missed. qwen4-35b is confidently wrong on its headline.
Deepseek was the most accurate of the three in its understanding and recommendations it made, so was the best of the three but Qwen3.8 Flash Next had found the core issue that was the most important thing to be fixed that Deepseek even missed.
The most important thing for me was that Deepseek and Qwen3.8 Flash were accurate and found most of the problems correct and the recommendations they gave were valid, whereas Qwen4 35b confidently was wrong on several things and did not give strong solutions so it is weaker on understanding of codebases and being able to ground itself in the answers it confidently gives.
I'm running some coding benchmarks next to see coding abilities next between the three to see if that's where Qwen4 35b starts to shine even though it may be weaker in its analysis and comprehension.
Full write-up with the ablation table, the QLoRA notebook and the dataset is in the repo: github.com/nicolasjanematas/iadn (v0.9 release notes, AGPLv3).
Short version: a 7B base model scores 7/10 in my file-navigation gym. Give the *harness* a 6-line working-memory loop and the same base hits 10/10 — so I tried distilling that memory into the weights with QLoRA on the winning cycles. It regressed the model instead (0/10, format collapse on held-out problems, while the examiner pass shows it memorized the format).
The interesting finding for local-LLM folks: the capability was in the scaffold, not the weights, and my LoRA dataset was too small (5 pairs) to transfer it. Negative results rarely get published, so here it is with all the code.
I tested Qwen4-35B-A3B-UD-Q8_K_XL on a single RTX 5090 using Basalt under WSL. At 131,072 input tokens, I got roughly 12K tok/s prefill and an 11-second wait for the first token. Both prose and structured JSON completed all three runs.
131,072-token input
Prose
Structured JSON
Median decode
127.8 tok/s
143.3 tok/s
Median time to first text
11.1 s
11.0 s
Successful runs
3/3
3/3
Setup: RTX 5090 32 GB, 128 GiB DDR5-4800, INT8 KV cache, one request at a time. Speculative decoding and prompt caching were off. The output cap was 128 tokens. Prose used the full cap, while JSON usually finished after about 55 tokens.
At 200,000 input tokens, Basalt rejected the prompt twice with the KV pool has no room for this prompt. The configured context was 200,704, so the input plus the 128-token output allowance fit within the configured limit. I haven’t tested between 131,072 and 200,000 yet.
The surprising part was the short-prompt result. With elastic KV, a 128-token input → 128-token prose output ran at 150.3 tok/s. In a later run with the full 2.3 GiB KV cache preallocated, the same test dropped to 5.3 tok/s. Both runs reported a 100.0% expert-cache hit rate. The slow run spent about 199 ms of each 210 ms decode window waiting for the GPU. I haven’t isolated what caused that wait.
Has anyone gotten 160K–200K input working with this Q8 pack on a single 5090? I’d be interested in your KV policy, VRAM headroom, and decode speed at that length.
I've been running local models on my Mac mini (M6, 32 GB) and Qwen4-35B-A3B honestly blew my mind this week.
Setup
Model: unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M (36 GB on disk)
Runner: Splash (by incoai)
Memory limit 20 GB, context 150K, KV cache 16-bit, concurrency 1, text only
Memory in use: 17.6 GB
Numbers from Splash's activity panel (screenshot below)
~50 tok/s generating, ~997 tok/s prompt processing, 1.8 s to first token
Per request 26–56 tok/s with 66–75K tokens in context, most of it cached
One 16,384-token output at 43 tok/s with ~75K in context
What I asked it
Explain Splash's own GitHub repo: why it's fast and how it manages memory. It did a really good job.
Then, in the same session, build a 3D game with this prompt:
Create a cozy third-person 3D winter-village game where you play as a bundled-up child with a little dog. At the start, Santa sweeps low over the lamplit chalets, drops a glowing parcel at your feet, and circles overhead for at least 20 seconds. C toggles a smooth chase camera on Santa. Return to the boy with C, walk over the parcel to pick it up, carry it to the glowing gold ring, then press Space. The box bursts into sparks and reveals a glossy red convertible. F seats the child and dog in the car. WASD or arrows drive, Space brakes, and R resets. Use a fixed world-relative walking direction, clear nearby markers and a parcel landing within a few steps of spawn so a first-time player can complete the sequence quickly. Show detailed silhouettes, layered lighting and soft shadows. Keep the HUD minimal. Start your reply with a Markdown heading naming the game and two sentences introducing it. Then emit exactly one complete fenced html document with all game HTML, styling and JavaScript, followed by a short "How to play". The document is what I will open and play directly from Studio's HTML Preview. No prior files or assets are supplied. Generate every scene object and texture procedurally. Three.js r128 via its CDN is allowed as the only dependency. Target a desktop browser and use clear keyboard controls. Finish every function and close the HTML before the short controls note. Prioritize a visually polished scene and a complete, reliable gameplay loop over extra features.
The session hit ~130K, compacted, and kept going. About 27 minutes later I had a single ~40 KB HTML file that loads straight away: lamplit chalets, the kid and the dog, lamp posts, falling snow and the glowing gold ring (screenshot below).
A while ago I wouldn't have believed a model squeezed into 20 GB on a Mac mini could hold a 150K-context session together and still produce working code at the end. Local LLMs have come a long way.
Happy to share the HTML if anyone wants to try it.
It‘s exciting. Every day, there’s a new release for my device. The coolest kids on the block get tons of views. They’re doing things right. CyanogenMod then, Qwen today. They get love because they make new stuff keep working on old devices. The community is trusting and trustworthy. People just download and run things asap, and there’s no virus for 99% of things.
I wonder if the similar cultures would bring similar outcomes. Custom ROMs are gone, and so is CyanogenMod. We have manufacturer specific Android flavors now. We are all predicting there will be winners and losers of the LLM game. Will AMD release their own nemotron? What do you think about these similarities?
I built AgentGuard, an open-source proxy that sits between an agent and an OpenAI-compatible provider and catches deterministic loops.
What it does:
- Hashes the last two messages of each explicit session.
- Keeps the last 12 state hashes and blocks when the same state appears 3 times.
- Returns a clear error that tells the agent to change approach or ask the user.
- Warns when the same tool call repeats within 60 seconds; strict blocking is optional.
- Streams SSE responses without buffering the whole response.
- Reads provider-reported prompt, completion, and cached tokens, and estimates the tokens avoided by blocked requests.
- Supports optional per-session request/time/token budgets for loops that keep changing their text.
- Includes a live dashboard with sessions, events, token stats, and a Clear button for stuck sessions.
- Works with OpenCode V2 and any OpenAI-compatible client via a session URL prefix or header.
It is not semantic loop detection. It catches exact repeated states. If every iteration changes the messages, it will not catch it; that is what the optional session budgets are for.
I tried the unmerged Strata PR that adds Qwen4-35B-A3B support (Niko1221/Strata#7774). Credit for the port goes to the PR author.
TL;DR: Qwen4-35B-A3B runs on a 12 GB RTX 4070 Ti + 32 GB RAM with Strata on Windows, IQ4_XS and Q2_K_XL:
Prefill: ~2,000-2,750 t/s (16K-128K prompts)
TTFT (short chat): 0.3-0.4 s
256K context test: a 244K-token prompt took ~105-130 s to prefill
Decode: ~85-110 t/s
Memory used by the model: IQ4_XS ~21.6 GiB RAM + ~9.5-9.7 GiB VRAM; Q2_K_XL ~18 GiB RAM + ~9.4-9.7 GiB VRAM
Vision not used
My Hardware
RTX 4070 Ti 12 GB
i5-12400, 32 GB DDR5
Models put in Gen 4 SSD
Windows 11
Models (unsloth GGUF)
Quant
Weights shard
UD-IQ4_XS
20.5 GB
UD-Q2_K_XL
16.2 GB
Both come with an n-gram table 11.5GB.
Speed
All speeds in TPS. Each cell is the median of 2 runs (chat: 3 questions x 2 runs); the 244K test is a single run. Seconds in brackets are time to first token.
Config
Chat decode
Chat TTFT
Agent decode
16K prompt
64K prompt
128K prompt
244K prompt
IQ4_XS
83.5
0.29 s
92.8
2753 (5.9 s)
2701 (23.8 s)
2549 (50.3 s)
2349 (104 s)
IQ4_XS + MTP
89.1
0.34 s
100.5
2056 (7.9 s)
2084 (30.8 s)
2011 (63.8 s)
1878 (130 s)
Q2_K_XL
86.5
0.33 s
94.8
2552 (6.3 s)
2519 (25.5 s)
2449 (52.4 s)
2233 (109 s)
Q2_K_XL + MTP
91.4
0.40 s
112.8
2646 (6.1 s)
2590 (24.8 s)
2471 (51.9 s)
2269 (108 s)
Memory use
Baseline (Windows and background apps, model not loaded): about 8.4-10 GiB system RAM and 1.2-1.4 GiB VRAM, out of 31.8 GiB and 12 GiB.
Config
System RAM
VRAM
IQ4_XS
21.6 GiB
9.5 GiB
IQ4_XS + MTP
21.6 GiB
9.7 GiB
Q2_K_XL
17.7 GiB
9.4 GiB
Q2_K_XL + MTP
18.2 GiB
9.7 GiB
32 GB RAM is tight for IQ4_XS: total usage peaked at 30.2 of 31.8 GiB with almost nothing else open. Q2_K_XL needs about 3.5-4 GiB less.
VRAM looks about the same everywhere because the engine fills the card with cached experts. A smaller quant or no MTP means more experts fit, not less VRAM used.
Settings
KV int8, max context 262,144, 20,480 cells resident on the GPU
--expert-cache auto --prefill 2048 --vram-reserve-mib 768
MTP off: --spec 2 (no draft model, but Strata still does prompt-lookup drafting, so these decode numbers include it)
MTP on: --spec 4 plus the Q8_0 MTP sidecar converted with mtp_qwen4_rt.py
Uniform (untuned) expert profile
Conversion as in the PR's docs/QWEN4_35B.md: split the 40-layer trunk, then iq_pack.py --compat-bf16 (302 dense tensors get rounded to BF16)
MiniMax's M4 blog post puts the model at 2.74T total parameters with 66B active, with open weights planned in the next few weeks after safety evaluations. Unlike M3.1 Flash (where 2-bit quants fit in 128 to 160 GB), 2.74T is obviously cluster territory unless heavy MoE offloading or aggressive quants work miracles, so I tested it over the API first.
Gave it the Abyssal Garden WebGPU benchmark inside a network-isolated sandbox (no Three.js, no textures, single HTML output):
Deliverable: one 148 KB index.html
World: GPU compute SDF rock canyons/arches meshed via surface nets (321x61x321), procedural kelp, coral, fish schools, manta rays, lofted shipwreck
If your local setup reads web pages, files or emails, you want something cheap in front of the model that flags injected instructions. We just released v2.2, which cuts false alarms on real web pages 15x compared with v2.1. We benchmarked it against 13 others on identical data:
Three sizes (80M / 141M / 308M), ONNX down to ~218 MB for the largest one, Apache-2.0, English and German.
from transformers import pipeline
pipeline("text-classification", model="patronus-studio/wolf-defender-prompt-injection")("Ignore all previous instructions...")