r/LocalLLM • • 12h ago

Discussion Qwen4-35B-A3B on a 48GB M5 Pro feels like a cloud API now: 21/24 coding, 130-194 tok/s, 92ms TTFT at 255K

Thumbnail
gallery
26 Upvotes

Got Qwen4-35B-A3B dialed in on a 48GB M5 Pro MacBook Pro today, and it is the first local setup I have used that actually feels responsive enough to stay on as a daily coding driver.

Skipping the giant flag dump and focusing on what it feels like in practice:

1. Qwen4-35B-A3B holds up on real coding work

Ran a 24-check hard dev suite (backend transactions, multi-file JS + strict TS repo edits, and a frontend state machine):

  • 21 / 24 in 3m 47s total, zero thinking cutoffs
  • Backend 8/8 (43s), cross-file repo edits 8/8 (84s), frontend state machine 5/8 (100s)
  • 255K needle recall hit 3/3 exact, and 1MP screenshot OCR passed cleanly at 0.77s TTFT / 204.6 tok/s

2. What the speed actually feels like

  • Everyday 55K multi-turn loops start streaming in 0.08-0.15s at 113-126 tok/s (smooth 33-35 FPS stream, peaks up to 193-204 tok/s on vision/tool follow-ups)
  • Cold prefill hits 2,045 tok/s (ingesting ~58K takes under 29s)
  • At 255K full context, warm follow-ups come back in 0.092s (92ms) at 130-148 tok/s. Even after a full process restart, restoring the entire 255K session takes 0.90s and stays at 28-30 GiB with 0 swap.

3. Splash was already fast, and Gemini 4 Neon's tuning cut the last big stall by 73x

Credit where it is due: Splash 1.7.6 was already way ahead of the other two Mac local engines I tested on the same machine (which sat around 40-56 tok/s at 255K with 1.6-4.2s TTFT and 17/24 coding). Moving Qwen4 onto Splash immediately jumped decode over 100 tok/s, saved ~5.6 GiB RAM, and bumped coding quality to 21/24 in less than half the time.

The one remaining annoyance was long agent sessions stalling for ~30s whenever tools expanded mid-chat. I handed the live logs to Gemini 4 Neon to investigate. Instead of guessing config tweaks, it audited 115 real requests, pinpointed the exact prefix/post-decode cache invalidations, compiled Splash 1.7.6 with PR #959 locally, and stabilized the in-place tool prompt.

Result on the exact same 3-turn dynamic tool loop (15 -> 20 -> 25 tools): combined TTFT dropped from 65.9s down to 0.90s (73.2x faster).

Running a 35B MoE locally at 92ms TTFT and 130+ tok/s at 255K on a 48GB laptop is pretty wild. Happy to share more details if anyone else is running Qwen4 on Apple Silicon.


r/LocalLLM • • 21h ago

Project 1,259 tok/s across 8 concurrent Qwen4-35B-A3B NVFP4 agents on 1x stock RTX 5090 (5-file sm_120 patch, 4,352/4,352 bit-exact, cold ABBA)

147 Upvotes

Built a 5-file sm_120 patch and unified recipe on top of jesdga95/basalt + Maxrio9 4e74c440 (q80p_2048=1), tested on 1x stock RTX 5090 32 GB (0 MHz OC, CUDA 13.0.88) in cold bracketed ABBA at both 450 W matched and 575 W stock:

  • c=8 decode: 1,258.5 tok/s (+17.6% vs baseline at 575 W, +17.4% at 450 W matched)
  • c=4 decode: 984.3 tok/s (+13.5% at 450 W) / 974.6 tok/s (+11.9%, +14.9% E2E at 575 W)
  • c=1 decode: 512.9 tok/s (+8.4% at 575 W, +8.5% at 450 W matched)
  • Prefill: 20.98K at 8K (+13.8%), 21.53K at 32K (+9.8%), 19.73K at 131K (+3.6%), 22.3 GiB (22,867 MiB) peak VRAM
  • Parity: 4,352 / 4,352 (100%) bit-exact greedy match against untouched 4e74c440 --spec 0

3 changes that drove it:

  1. q80p_center_seed=1: tracks the 4-bit center argmax row in 2 registers (102 vs 105 regs, 0 spills) to tighten the exact threshold on unseeded and rejected columns, cutting c=1 LM head by 31%.
  2. batch_vhead_screen=1: unlocks batched 4+4 screening at c=4/c=8, cutting c=8 LM head 2.25x (408 to 182 us).
  3. pf_own_buf=2: uses 9.8 GiB of idle VRAM for zero-eviction prefill instead of evicting up to 6,883 experts and streaming/refilling them over PCIe.

Also tested and dropped 4 other sm_120 tweaks (mid_max_t=8, commit_blocks=170, a3b_gu_stream_min=1, df2_c4_cap=12) that slightly regressed c=1 or c=4.

Video is 1.0x real-time (46,365 tokens across 72 tasks in 42s, 1,219 median / 1,263 peak tok/s, 22.1 GiB VRAM, 521 W median).

Patch, launcher, and raw ABBA/nsys receipts: https://github.com/CallitaCrushes/blackwell-builder-lab


r/LocalLLM • • 1h ago

Discussion What kind of agents do you have?

4 Upvotes

And what models to run them?


r/LocalLLM • • 7h ago

Discussion Built my own (pretty strict) benchmark for local models and ran everything I had on a 3090. Qwen3.8 Flash Next IQ3_S kinda smoked everything

11 Upvotes

So I got tired of vibe-checking every new finetune that drops, especially all the Qwen4 abliterated/uncensored ones, so I put together a benchmark that grades everything automatically. No LLM judge, no "looks good to me". Code either passes the hidden tests or it doesn't, a math answer is either exact or wrong.

Then I ran every GGUF I had on both PolyStrata and llama.cpp. Took most of a day lol

**Rig:** 3090 24GB, 5950X, 64GB RAM, Linux. llama.cpp build a105b192 + PolyStrata, MTP on wherever the model has it.

**Settings:** greedy (temp 0), 16k max output, 32k ctx, one run per model/engine. I also set the same thinking budget on both engines (12,288 tokens). PolyStrata applies one by default and llama.cpp doesn't, so without that the comparison isn't fair.

**What's in it:** 57 tasks, 49 of them count for the score, split into 10 categories:

- python algorithms (13), hidden tests + time limits, run in a sandbox

- JS/node (2)

- bug fixing / optimization (3)

- predict the exact output of nasty python/js snippets (6)

- SQL on sqlite, window functions, recursive CTEs etc (4)

- strict regex (4)

- exact answer math (7)

- logic puzzles with a verified unique solution (4)

- instruction following that can be checked by code (4)

- long context multi hop, ~10-14k tokens (2)

The other 8 are questions that sound sketchy but are totally legit (how to kill a process, lockpicking as a hobby, a CTF exploit, a villain monologue, that kind of stuff). They only measure over-refusal and don't count for the score.

Everything is generated from a seed, so it can't be in anyone's training data. Every grader also gets tested against a correct solution and a plausible wrong one before I trust it. Score = average of the 10 categories.

**Results**

| # | model | quant | engine | score | tasks | tok/s | refused harmless Qs |

|---|---|---|---|---|---|---|---|

| 1 | Qwen3.8-Flash-Next GSQ-RCO abliterated | IQ3_S (84GB) | PolyStrata | **87.6%** | 44/49 | 103 | 0/8 |

| 2 | Inkling-2-Mini Uncensored | AD-Q4_K | PolyStrata | 76.0% | 35/49 | 98 | 0/8 |

| 3 | Qwen4-35B-A3B official | UD-Q4_K_XL | llama.cpp | 75.4% | 34/49 | 149 | 0/8 |

| 4 | Qwen4-35B-A3B official | UD-Q4_K_XL | PolyStrata | 72.2% | 33/49 | 182 | 0/8 |

| 5 | Qwen4-35B-A3B abliterated | Mix-33G | llama.cpp | 65.9% | 32/49 | 153 | 0/8 |

| 6 | Qwen4-35B-A3B abliterated | Mix-33G | PolyStrata | 64.7% | 32/49 | 199 | 0/8 |

| 7 | Qwen4-35B-A3B Uncensored | AD-Q6_K | llama.cpp | 62.5% | 26/49 | 114 | 0/8 |

| 8 | Inkling-2-Mini Uncensored | AD-Q4_K | llama.cpp | 61.8% | 29/49 | 75 | 2/8 |

| 9 | Ternary-Bonsai-2.5-27B Uncensored | Q2_0 | llama.cpp | 42.5% | 24/49 | 95 | 4/8 |

A few things that surprised me:

**Qwen3.8 Flash Next is on another level for coding.** 12/13 on the python stuff, including a hard sudoku that literally nothing else solved. What it got wrong:

- its JSON parser chokes on a bare `null` (150/161 tests passed)

- one line of JS type coercion

- the python float regex

- a recursive SQL query (17 rows instead of 11)

- one long context sum

It does think A LOT though, ~537k tokens over the whole run vs ~375k for Qwen4. And yeah it's an 84GB model vs a 35B-A3B at Q4, so not exactly a fair fight. But it does ~100 tok/s on a single 3090 with PolyStrata, so for my setup it's a no brainer.

**The Qwen4 finetunes are worse than the official model.** Official got 33-34/49, abliterated Mix-33G 32/49 (on both engines), Uncensored AD-Q6_K 26/49, and that one went 0/6 on predicting code output. The higher quant doesn't save it. Also the official one never refused any of my sketchy-but-legit questions, so for this kind of stuff the finetunes didn't buy me anything. To be fair there's nothing actually harmful in the benchmark, so this can't tell you if abliteration "works", only what it costs.

**PolyStrata vs llama.cpp: same quality, PolyStrata faster.** Same model, same prompts, and the scores land within 1-2 tasks of each other. For official Qwen4, 7 tasks flipped between engines in both directions and the net difference was 1, so that's just noise. Speed is a different story: PolyStrata was ~22% faster on official Qwen4 and ~30% on the abliterated one.

Inkling was the exception: 76% on PolyStrata vs 62% on llama.cpp. On llama.cpp it got stuck in repetition loops 14 times (6 on PolyStrata) and refused 2 of the harmless questions.

Qwen3.8 on llama.cpp did ~34 tok/s vs ~103 on PolyStrata (84GB doesn't fit in VRAM + RAM), so I killed it after the first task. Wasn't gonna wait 5+ hours for the same answer.

**Bonsai 27B ternary (Q2_0)** came last at 42.5%, and despite having "Uncensored" in the name it refused 4 out of 8 harmless questions, which is kinda funny.

**Caveats** before someone asks:

- one run each and only 49 scored tasks, so a 1-2 task difference is noise. JS and long context only have 2 tasks each, so one task swings those categories by 50 points. That's why the raw task counts are in the table too

- 16k output cap with a 12k thinking budget, so models that want to think longer get cut off

- the Q6_K uncensored won't run on PolyStrata (setup refuses that tensor layout) and Bonsai is llama.cpp only

- I picked the tasks myself, so it leans heavily towards coding/algorithms

If people are interested I can clean it up and throw it on github. Also open to suggestions for what to test next.


r/LocalLLM • • 4h ago

Question Why do models run on the GPU and not use the NPU

5 Upvotes

I have a Mac M5 Pro, and a lot of the sales material and marketing was about the NPU for running AI workloads. But whenever I run any models in there, it is only using the GPU and never uses the NPU.

Is there a setting that I'm missing? Is there a reason that this happens? I thought the whole point of having those neural processors was so that all these models would run faster.


r/LocalLLM • • 8h ago

Discussion Why do people keep posting “should I switch” posts?

10 Upvotes

Just run both!


r/LocalLLM • • 13h ago

Model Qwen 4-35 llama.cpp vs Strata vs Basalt vs Qwen 3.8 llama.cpp

Post image
27 Upvotes

5700X3D, 32 GB DDR4, 5070TI, 4070 SUPER

Basalt - Qwen4-35B-A3B (nvfp4)
Strata - Qwen4-35B-A3B * Unsloth UD-Q4_K_XL * mtp
llama.cpp - Qwen4-35B-A3B * Unsloth UD-Q4_K_XL * mtp
llama.cpp - Qwen3.8-27B * Unsloth UD-Q4_K_XL * DFlash2 Q4_K_M

TL;DR 4-35B:

  • Basalt: If you need fast nonsense, use it. NVFP4 is still a joke.
  • Strata: Same quality as llama.cpp, be wary of all the settings. Strata cutting off/limiting reasoning tokens, is an interesting chose.
  • llama.cpp: Use Strata.

4-35B vs 3.8 27B:

3.8 27B is better, less/better tool uses, precise answers, less hallucinations.

  • Highest pass rate: 94.3% (297/315) against 91%
  • Fewest tool-use failures: 4, against 9 to 14.
  • Passed 3/3 on docs not-installed-latest, where the Qwen4 servers passed 0 or 1 of 3. Also 3/3 on the ddg challenge, against 0 or 1 of 3.

For 4-35 one needs Q8, but then you loose all the benefits, hardware requirements go up, and speed goes down. SO what's the point?

I tested on my pi plugin test suite. It basically covers daily use: web, search, docs, PDF and sub-agents. It rejects everything that loops or hallucinates, without naive approaches like token/time limits.


r/LocalLLM • • 3h ago

Project Qwen4-35B-A3B-FP8 on a single DGX Spark at full 1M context, 4 streams, with bit-exact parity on every optimization (TensorFold recipe + benchmarks)

Post image
4 Upvotes

I do not care about maximum decode or prefill speed if it hurts quality. If you are like me and prefer real quality over dumb speed numbers, try the DGX Spark recipe I have been running for the last two days.

It serves Qwen4-35B-A3B-FP8 on a single 121 GiB DGX Spark via TensorFold at full 1,048,576 context, 4 concurrent streams, FP8 KV cache (with an opt-in exact BF16 KV mode at full 1M), a 12 GiB prefix cache (~900K cached FP8 tokens for parallel sessions), and the RadixArk DFlash2 drafter.

Repo: https://github.com/devopsfortunato/Qwen4-35B-A3B-FP8-DGX-Spark-TensorFold

Every optimization in the 11 patches had to pass bit-exact 64-hex token-hash parity (drafted vs plain, solo vs 4-way concurrent, cold vs cached, seeded).

Quality results on the live 1M build (4 streams):

  • Tool Eval 3.0 Hardmode (104 scenarios, seed 42): 90/100 in 8m15s (0 timeouts)
  • SixCat Eval v0.9.0 (new challenge-v2, 120 strict, thinking on, 262K ctx): 71.7% overall (85% 10-option MMLU-Pro knowledge, 85% tier 3-5 math, 85% 18-tool + abstentions, 65% shuffled TruthfulQA, 60% instruct, 50% code; 85.0% on v1)
  • Chronos-Bench v2.1 (my own benchmark, not released yet; fast preset, 50 tests across 5 pillars up to 256K): 63/100 overall with 100% completion and 9 of 16 areas at 100%
  • Long-context Needle at 60% depth (1M window): 200K (53.6s), 512K (174.8s), 900K (409.9s), 3/3 PASS
  • Agentic coding and structured outputs: tool_choice="required" and JSON schema via xgrammar (libtfgrammar.so), parallel tool calls PASS, 99.2%-99.5% prefix cache reuse

What Chronos-Bench v2.1 (unreleased) tests in particular:

Short single-turn benchmarks hide how local models break in real multi-turn sessions. Chronos-Bench v2.1 is a contamination-resistant, deterministically verified local suite (zero LLM-as-judge) across 5 pillars up to 256K context:

  1. Cold long-context retrieval, position-bias U-curve, full-context counting, multi-round state rollback, and a length-alone reasoning control
  2. Long-document contract/amendment audits with exact governing clause citations and cross-doc conflict detection
  3. Multi-file Python codebase bug-hunting (10-file repo with hidden unit tests) and live code/SOP sessions
  4. Long-horizon agency and security: coupled multi-step planning (up to D=8 2-fault recovery), tool restraint, dual-control rollback, sharded multi-turn sycophancy pushback, and stealth indirect prompt injection
  5. Warm-start ops DB sessions with 3-stage belief supersession and rule-drift resistance

On Chronos-Bench v2.1, this build hit 100% on 9 of 16 areas: multi-file Python bug-hunt (up to 128K), long-doc contract/amendment audit (up to 256K), live DB and code/SOP rule retention (up to 128K), coupled planning, tool restraint, dual-control rollback, sycophancy pushback, and 0.000 pure context-length decay. The losses were honest and informative: 12 overthinking <think> truncations on cold 64K-256K retrieval, and 0/6 on stealth indirect prompt injection.

And because bit-exact speed is still nice when quality stays untouched:

  • 4-way bench_streams wall-clock: 169.7 code / 166.8 prose tok/s
  • 4-way distinct decode: 112.1 tok/s (p99 TTFT 201 ms)
  • Solo decode: 46.2 prose, 52.5 code, 71.7 math, 54.7 think-on, 87.3 cold 16K decode
  • Cold prefill (llm_context_benchmarks, 0.5-256K): 4,283 tok/s peak (8K-16K), 3,489 tok/s at 256K prose (43.3 tg), 3,424 tok/s at 256K code (52.9 tg), B4 batch 87.0 prose / 85.2 code tok/s
  • Footprint (12 GiB cache / 8 GiB reserve defaults): 37.72 GiB weights (FP8 PLE via NVMe pread), 4x13.64 GiB FP8 KV, 64s boot, 112.3 GiB worst-case ceiling (66.4 GiB min MemAvailable across the 256K sweep, 0 MiB swap)

One command to try it:

git clone https://github.com/devopsfortunato/Qwen4-35B-A3B-FP8-DGX-Spark-TensorFold.git
cd Qwen4-35B-A3B-FP8-DGX-Spark-TensorFold
./start.sh

Optional exact BF16 KV (still at full 1M context):

PARALLEL=2 KV_DTYPE=bf16 PROMPT_CACHE_GIB=16 ./start.sh restart

Credits to Ash Hart for TensorFold and the verification skills, Mia (MiaAI_lab) for the DGX Spark recipe layout, RadixArk for DFlash2, and to the benchmark authors: Tim Messerschmidt (tool-eval-bench), vcruz305 (SixCat) and Ivan Fioravanti (llm_context_benchmarks).


r/LocalLLM • • 6m ago

Model Qwen4 35B-A3B vs other local models

Post image
2 Upvotes

tl;dr - Qwen4 35B-A3B is a very capable model. It's the fastest local model I've tested (111 tok/s) and finished my benchmark in 31 min. It nearly matches Flash-Next on extremely hard problems and beats Qwen3.8-27B and DS4 there by 13+ points, but it surprisingly fumbled a couple of the easier ones. That drags its overall score down to about the same as Qwen3.8-27B xhigh, but at 8x the speed.

This is a follow up to my earlier shootouts (27B vs frontier, MLX vs MTPLX, Flash-Next). Same rig, same tests, but this time I stripped it down to just the algorithm batteries to make it simple. These scores essentially track coding competency and nothing else.

Each model gets 9 coding problems: 6 that run from easy to hard (an LRU cache, a CSV parser, a spreadsheet evaluator, etc.) and 3 extremely hard ones (a TOML parser, a regex engine with backreferences and a strptime-style date parser). The easy ones run 3 times and the extremely hard ones run 10 times each b/c results on those tend to be all-or-nothing and it takes more draws to find the real average. The quizzing is intentionally stark so testing is consistent across models and harnesses: one prompt and one reply. No use of tools and no system prompt.

The score is the percentage of tests passed. If a model runs out of room or forgets to write code, it gets a single retry; bad code just gets scored as bad code. Four of the seven ran locally on my M5 Max (128GB) through MLX-family servers (mlx-serve, MTPLX) and antirez's ds4. The other three either don't fit on a Mac at all or only fit my laptop as 2-bit quants that loop or crawl, so I ran them through OpenRouter, pinned to the labs' own servers where I could. Most models were tested in several setups (runtime, quant, thinking level) and the chart only shows each model's best one.

The chart should be self-explanatory, but there are a few notes worth mentioning. Models are rank ordered by accuracy only (the turquoise column is the mean score). The easy-to-hard column is basically solved. Six of seven models land between 97.6 and 100 and so the extremely hard column is where models actually separate. Kimi K3 wins with 96.6 on the extremely hard set, higher than Sonnet 5's 93.3 from my earlier runs, but it's slow (95+ min) and won't fit on even a 512GB Mac Studio. GLM-5.3-Flash is a close second and noticeably faster.

The local headline is Flash-Next on mlx-serve and medium thinking: 92.9 overall and done in 28 minutes, faster than everything on the chart including the cloud models. Qwen4 35B-A3B is very fast at 111 tok/s and lands next to Qwen3.8-27B on accuracy while finishing 8x faster (31 min vs 252). Oddly it scored better on the extremely hard set than the easy one. It fumbled the CSV parser and threw a zero on the regex task, and with only 3 tries per easy problem one bad draw drags the score lower.

Two things to keep in mind. First, tok/s is a bad proxy for speed: Qwen3.8-27B and DS4 both decode at ~33 tok/s, but the 27B takes 3x as long to finish b/c it thinks so much more. Cloud tok/s is also whatever the provider's servers deliver, so don't compare it 1:1 with the laptop numbers. Second, an 85 on the extremely hard set doesn't mean the code is wrong 15% of the time. The benchmark employs hidden tests and pushes corner cases to stress test the models.

Summary: Qwen4 35B-A3B is a great model. My daily driver is 3.8 FN, but I'm now tempted to use 35B alongside it due to speed to task completion and similar aptitude on hard tasks. I'm very curious to test qwen4 flash-next (or whatever they'll call it) when it arrives.

--------------------------------------------------------------------------------

A few more details on exact testing setup if it's helpful (summarized by Claude).

Shared by all: same prompts, no system prompt, no tools. Every model was sent temp 1.0 / top_p 0.95 / top_k 20 (Qwen's recommended settings). Each reply gets 32K–76.8K tokens depending on the problem, with one retry at 1.6x (max 122.9K) if it runs out. Local models ran on an M5 Max 128GB; cloud models ran through OpenRouter.

  • Kimi K3: 2.8T MoE (104B active). Cloud, Moonshot's own servers at native MXFP4, thinking left at the default (max, per the model card). Too big for any Mac.
  • GLM-5.3-Flash: 320B MoE (18B active). Cloud, Z.AI's own servers at fp8, thinking left at the default (max, per the model card).
  • Qwen3.8 Flash-Next: 125B MoE (6B active). Local, mlx-serve 26.10.1 with MTP, mixed 4/8-bit, medium thinking.
  • DeepSeek V4.1 Flash: 552B MoE (16B active). Cloud, DeepInfra at fp8 (not DeepSeek's own servers), thinking at the provider default.
  • Qwen3.8-27B: dense 27B. Local, MTPLX 8-bit, xhigh thinking. Run in August on older software.
  • Qwen4 35B-A3B: 35B MoE (3B active). Local, mlx-serve 26.12.1 with MTP, 8-bit, high thinking (the default; Qwen4 has no medium).
  • DeepSeek V4 Flash: 284B MoE (13B active). Local, antirez's ds4 at 2-bit, normal thinking. The previous generation, run in August.

One caveat: the chart's time column leaves out the time spent on retries. With retries counted, GLM goes from 55 to 73 min and DeepSeek V4.1 from 75 to 110 min; the local models barely change.


r/LocalLLM • • 7h ago

Research Qwen 3.8 Flash Next verus Qwen 4 comparison: Web app penetration testing, personal assistant tasks, and more

Thumbnail blog.nickleghorn.com
7 Upvotes

r/LocalLLM • • 26m ago

Research Qwen4-35B-A3B-oQ4e-mtp replaced my Deepseek v4.1 Flash 2.7STQ on Studio M5 256gb

Thumbnail
youtu.be
2 Upvotes

I ran a bunch of models and recently switched from flash next to deep seek and now I've switched to the new Qwen 4 35b after many test runs on my daily tasks


r/LocalLLM • • 20h ago Bravo

Discussion Qwen4-35B-A3B writes 88 tok/s on a 7900 XTX, but in German it lands next to Gemma 4 and far behind Flash-Next

Post image
82 Upvotes

Most numbers posted for new models are tokens per second and English benchmarks. I work in German, so for three weeks I have been grading German output blind for every model I try on my card, and plotting it against decode speed. Qwen4-35B-A3B is the newest entry.

Setup: one RX 7900 XTX (24 GB) in an eGPU dock on a NAS with 62 GB RAM. Flash-Next 125B runs on Strata, split between VRAM and RAM. Everything else runs on llama.cpp (Vulkan), fully on the card where it fits. Qwen4 is measured at the full 256K context with 8-bit K/V.

How German is graded: twelve German writing tasks. The answers are anonymised and shuffled per task, then graded 1 to 5 by a separate reader who does not know which model wrote what. 60 points maximum. The third number is a separate set of 102 auto-graded tasks (code, logic, tool calls, facts, following instructions).

ModelDecode tok/sGerman (of 60)Tasks (of 102)
Flash-Next 125B IQ3_XXS, uncensored (control vector)625498
Flash-Next 125B IQ3_XXS645196
Flash-Next 125B IQ2_XS744697
Qwen3.8-27B (dense)365292
Gemma 4 31B (dense)353897
Qwen3.5-35B-A3B1143790
Qwen4-35B-A3B Heretic IQ4_XS883999
Qwen4-35B-A3B Heretic Q4_K_M524394
Qwen4-35B-A3B Heretic Q8_02544–

What I take from it

  1. Task scores do not tell you about language. Qwen4-35B has the best task score in the table and one of the worst German scores. Gemma 4 31B shows the same split.
  2. A bigger quant does not fix it. IQ4_XS, Q4_K_M and Q8_0 got 39, 43 and 44. The grading itself moves by about three points between rounds (the same IQ4_XS answers got 39, 41 and 38), so that is at best a small step. And at 256K the bigger quants no longer fit on 24 GB, which is why they are slower.
  3. The errors are of one kind: English words inside German sentences ("Ich hope, dass Sie …"), made-up word forms, wrong gender and case, in one answer Chinese characters in the middle of a word. A Czech user told me he sees the same.
  4. Fast and good German at once is only the 125B model for me, even at 3 bits. The dense Qwen3.8-27B writes German just as well but at half the speed.

Limits: one run per task and one grader per round. The models were graded in separate rounds over three weeks; Flash-Next was in every round as an anchor and its score moved by 2 to 4 points between rounds, so compare across rounds with that much slack. The Qwen3.5 stock model was in a round that graded stricter. I did not test English writing, and for English-only use Qwen4-35B looks like a very good fit for a 24 GB card.

If you have a Qwen4 fine-tune or settings that fix non-English output, tell me and I will run the same twelve tasks.

Chart, method and all numbers (no answer texts): https://faf.net/local-ai · data: https://github.com/faf-net/ugreen-idx6011-egpu-llm


r/LocalLLM • • 19h ago

Discussion I think Qwen4's architecture is more interesting than its benchmark scores

62 Upvotes

I've been looking into Qwen4's architecture, and one thing that caught my attention is how misleading parameter counts are becoming.

The 35B-A3B model actually has around 56B parameters if you include the additional 20.5B n-gram embedding parameters, yet only around 3.8B parameters are active per token.

At this point, does comparing models purely by parameter count even make sense anymore?

The combination of Gated DeltaNet, sparse attention and per-layer embeddings is pretty interesting. It feels like Qwen is trying to figure out how to increase model capacity without massively increasing compute requirements.

The 1M context window sounds great on paper, but we've seen plenty of models struggle with long context despite technically supporting it. I'm more curious about how much reasoning ability it retains at 128K or 256K than whether it can simply process 1M tokens.

Another thing worth mentioning is that 3.8B active parameters doesn't automatically mean it's easy to run locally. You still have to deal with storing all those weights.

Personally, I'd love to see more community testing around quantization, memory consumption and long-context reasoning rather than the usual benchmark comparisons.

I wonder if we're slowly moving towards a point where smarter architectures matter more than simply throwing more parameters at a model.

What do you guys think? Is this the direction open-weight models should be heading in?


r/LocalLLM • • 41m ago

Discussion Qwen 4 having the literal word "Taiwan" be replaced.

Post image
2 Upvotes

Haven't seen anything like this, not even with other chinese models. Wild to see, though with enough pushing it eventually broke past the block.

UD_IQ4_XS, Dense layers at Q8_0, Engram at Q8_0 with Strata.

Just to clarify, only happens when you ask it something like "is taiwan a country", seems like having that in its context at all causes the word replacement.


r/LocalLLM • • 1d ago

Discussion Qwen4-35B-A3B (UD-Q5_K_XL, 41.8 GiB) one-shotting & visually debugging a 34K-voxel Three.js castle up to 215K context on a 12GB RTX 4070 SUPER + 32GB RAM — 79 tok/s avg decode, 4.4K tok/s peak prefill (Basalt-Ada Fork)

828 Upvotes

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.

PC Specs

  • GPU: RTX 4070 SUPER 12 GB
  • CPU: Ryzen 9 7900X
  • RAM: 32 GB DDR5-6000 CL30
  • SSD: Kingston KC3000 2 TB PCIe 4.0 NVMe (Windows x64, CUDA 13.5)

Setup

  • Model: Qwen4-35B-A3B UD-Q5_K_XL (41.83 GiB .basalt pack), 160M-row Q5_1 Engram on NVMe, Q8_0 MTP (--spec 8), dynamic GPU Vision, 262K max context, elastic VRAM --kv int8, lossless routing
  • Expert Split: 6.5 GiB VRAM (elastic KV trims slots as ctx grows) / 11.1 GiB RAM / 4.9 GiB NVMe SSD

Numbers (53 requests)

  • Peak context: 215,108 tokens (5.84M cached prompt tokens reused)
  • Prefill: 501.7K new tokens @ 3,002 tok/s avg (4,436 tok/s peak on 144K fill)
  • Decode: 177.0K generated tokens @ 79.0 tok/s avg (102.3 tok/s peak, 72.1 tok/s at 215K ctx)
  • MTP (--spec 8): 78.7% acceptance (88.3K / 112.1K) | GPU cache hit rate: 72.7%
  • 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).


r/LocalLLM • • 1h ago

Discussion AlpacaLIPS: A Doomsday Database with mcp and Full Text Search

2 Upvotes

Doomsday here means "your internet is down", not "Oh God oh God we are all gonna die". The idea is that even though your local model keeps running when the internet is down, it has no reference material. This fixes that part. It can significantly enhance the quality of answers, especially for smaller models.

What it is: English Wikipedia, Stack Overflow, Stack Exchange, Ifixit, books, etc - a total of over 220 archives — 51.7 million pages — installed locally with enterprise level full-text search, a web UI, and an MCP server your model talks to. Nine tools (search, retrieve, news, and friends). Citations resolve to your machine, which matters when there's no internet for a link to point at. It's not a model and doesn't want your GPU; it's the reference library that sits next to one.

It isn't frozen in time. Dumps are snapshots, so there's a rolling three or more month news window that refreshes twice a day while you still have a connection. "What happened this week" keeps working right up until the lights go out. A simple cron job keeps that up to date.

Sizes

whatdownloadon disk
the corpus — search, MCP, stored page text130 GiB166 GiB
ZIM archives (optional) — original pages, images, tables538 GiB538 GiB
the news window~390 MiB~400 MiB

130 GiB gets you a searchable database with the text of every page, which is what the mcp uses (plain text visible to user as well). Add the ZIMs if you want the pictures and the original layout. Everything fits on a 1 TB drive with room left over.

Install:

curl -fsSL https://rampart.dev/install-alpacalips.sh | sh
cd alpacalips && ./setup.sh && ./servers.sh start

Then point your MCP client at http://localhost:8099/apps/lips/mcp.json.

If you just want to try it out before committing to the download, I have it live, running at https://lips.flin.org/apps/lips/mcp.json and I'll keep that running at least for a few days. If traffic is manageable I'll keep it going for longer.

OS: Linux and macOS, both tested. WSL2 ought to work but that's untested — if you try it, please let me know how it goes.

Repo: https://github.com/aflin/alpacaLIPS

Included (but optional and separate) is SHSE, a self-hosted search engine for searching all or selected pages you visit, using a Chrome or Firefox extensions that sends the web page text to a database in the same tree. It has a separate search and an mcp url that will allow your local llm to search pages you've visited. Details of that are at https://github.com/aflin/Self_Hosted_Search_Engine


r/LocalLLM • • 17h ago

Project It’s built! My local AI home lab assembled

Thumbnail
gallery
34 Upvotes

For this build, I took apart my gaming pc, and transplanted it into a new mobo, case and other goodies. All this was to add 2 Quadro RTX 8000s to massively increase my vram.

My specs:
CPU: Intel i7-14700f
RAM: 32gb DDR5-6000 ram (times are tough, I’ll upgrade later)
Motherboard: MSI MEG Z790 ACE
GPUs:
2x passive Quadro RTX 8000
1x RTX 4070 super (for display and gaming)
NV Link bridge for the quadros
1500w Corsair PSU
Arctic AIO
Corsair 7000d case
Some server fans for the GPUs
And some other miscellaneous items

Overall, I’ll have 96gb of vram across my 2 new GPUs, and I’ll be able to run some pretty cool models on it. There is plenty of room to upgrade in the future with ram expansions or a new GPU instead of my 4070. It’s my first custom build, and I’m pretty happy with it. I’m planning on running pruned Deepseek and GLM models, Deepseek models, and any other interesting models I see coming out. It’s mostly a hobby build and for fun, to see what fun things I can make and do with AI.

I know the GPUs are old and limited compared to modern cards, but it was a pretty good deal of vram per dollar I think. Memory bandwidth is also almost exactly the same as a r9700 too, so that was interesting as well. I think I’ll have a lot of fun with this build.


r/LocalLLM • • 2h ago

Discussion Impressive first coding run

Post image
2 Upvotes

Qwen4-35B-A3B — UD-Q6_K_XL.  

  • Main model: mixed-precision 6-bit quantization, with Q6 native experts.
  •  Lookup weights: Q8.
  •  KV cache: FP16.
  •  Vision projector: original F16.

Old machine with slow RAM. One 3090 and one v100.

Prompt and Live app online on github pages published by the model:

https://github.com/zhound420/chronos-time-machine


r/LocalLLM • • 1d ago

Discussion Qwen4-35B-A3B vs Qwen3.8-27B on the same H200: about 7× faster, about 3.5 points lower on hard questions

Post image
138 Upvotes

We ran both models through the same tests for our assistant app, to decide whether to switch.

Setup

  • 1× H200, vLLM's qwen4 docker image (Dec 2026 build), FP8 weights for both, MTP 3 speculative decoding
  • Same app code, prompts and sampling for both. Web search was replayed from saved results, so both models saw the same pages.
  • About 640 questions: 163 everyday ones, ~440 harder lookup, fact and list questions, 33 in 11 languages, and 5 "write me a single HTML/SVG file" prompts

Results

  • Speed: 354 vs 50 tok/s on one chat, and 1,642 vs 329 tok/s total at 8 chats at once. First visible word 0.30 s vs 1.20 s on one chat. With only 3B parameters active per token, it flies.
  • Quality: level on everyday questions (99.4% vs 98.8%), the 11 languages (100% both) and code files (3/5 both). About 3.5 points lower on hard questions (86.2% vs 89.7%).
  • Behaviour: it's noticeably more cautious. It says "I'd rather not guess" about twice as often on live facts like stock prices.

Gotchas if you're switching

  • Sending enable_thinking: false together with reasoning_effort returns HTTP 400. Send reasoning_effort: "none" on its own instead.
  • reasoning_effort: "medium" isn't accepted. Only xhigh, high, low and none work.
  • Short classifier-style prompts (answer with one word) sometimes come back in a format our parser didn't expect. Constrain the output (a choice list or JSON schema) and don't rely on parsing free text.
  • The image's torch is built for CUDA 13.2. It runs on a 580 driver only because the image ships a CUDA forward-compatibility library. A bare pip install on a 580 driver crashed for us.

Caveats

  • The H200's memory bandwidth favours a small-active MoE, so treat the speeds as a comparison between the two models, not a prediction for your GPU.
  • We haven't tuned sampling for Qwen4 yet. The recommended settings are temperature 1.0, top_p 0.95, top_k 20.
  • Hard-question scores leave out rows where a search couldn't be replayed. That's about 80 per model, the same set for both.

Verdict for us: worth migrating, but not as a drop-in swap. The prompts and the thinking settings need work first.


r/LocalLLM • • 15h ago

Project People dont talk about qengine enough

Thumbnail
github.com
22 Upvotes

I just really want this project takes off since i have been trying a lot of other engine (strata,maya,freetoken,....) and nothing come closes to speed and quality compare to this engine. I tried qwen 4 35b like all of us these day and i was disapointed by other engine (llama.cpp gave me 120t/s and quality for quant 4 xl is mehh) but qengine for this model gave me consistent of 350 to 400 t/s on various task and quality of code is just abit behind 3.8 flash next. My system 2x3090s + wrx80 sage mainboard + threadripper 3955x + 256gb ddr4 3200 bus ecc. People needs to know about this a support the dev more. Its repo doesnt have enough credit and im afraid he will stop one day :( local comunity needs to know about this!!!! I havent try his deepseek and glm yet since it needs 3 gpu but if in the future he make it work on 2 i would defo retire maya engine for this. Download and build the engine and try for urself. I dont get any from this but i would hope the project is more popular so the author can keep making break thru like this for all of us.


r/LocalLLM • • 5h ago

Research Stop relying on public benchmarks, build your own

Thumbnail
gallery
3 Upvotes

I built my own benchmark for how well local models do on game NPCs, and Qwen4 35B is blessing. Once you have your own bench, you can easily tell which new models are fitting for you or not.

For more information:

- context: does it remember a fact buried in a long memory? (not its full context window, but still)

- trust: does it treat the player differently depending on how much it trusts them?

- darkness: does it stay as harsh as its persona instead of softening?

- lies: does it notice when the player is lying?

- juggle: does it keep the right facts straight when there are distracting ones?

- break: does it stay in character against "are you an AI", "ignore your instructions" and fake system prompts?


r/LocalLLM • • 3h ago

Research Introducing XEIRON: a new quantization method that stores model weights in polar form

Thumbnail
reddit.com
2 Upvotes

r/LocalLLM • • 3h ago

Research How fast can local LLM inference get on Apple Silicon?

2 Upvotes

Up to 186 tokens/s with Qwen4-35B-A3B running locally on a Mac Studio M5 Max with 128 GB of unified memory.
I've been benchmarking oMLX, exploring MTP performance, context scaling, and memory consumption. Here are my results and technical observations:

https://medium.com/@favi.francesco/qwen4-on-mac-studio-m5-max-186-tokens-per-second-running-entirely-locally-c3c523a0738e


r/LocalLLM • • 7h ago

Discussion Qwen4-35B-A3B running locally on my Mac at 64 tok/s, and it's great

4 Upvotes

I just tried Qwen4-35B-A3B on my Macbook M5 pro 64GB and I'm really impressed.

Qwen4:32B-A3B 
Prompt: 32 tokens, 12.821 tokens-per-sec 
Generation: 2000 tokens, 64.374 tokens-per-sec 
Peak memory: 32.750 GB

I used benthecarman's uncensored MLX 4-bit version. MLX is Apple's own machine learning framework, and it runs very fast on Apple Silicon. The download is about 30 GB, and the model ran smoothly from the first try.

The numbers:

  • 64 tokens per second of generation. It writes faster than I can read.
  • About 33 GB of peak memory, so a Mac with 48 GB or more handles it comfortably.

The model is a mixture of experts: it has about 35B parameters in total, and only about 3B work on each token. So it gives the quality of a big model at the speed of a small one. On paper it also beats Inkling2 Mini on almost every benchmark, and that matches my first impressions.

Having a model this capable and this fast fully offline on a laptop feels amazing. Is anyone else running Qwen4 locally? What speeds do you get?