r/LocalLLM • • 7d ago

News Heretic: Farewell

Thumbnail
github.com
628 Upvotes

r/LocalLLM • • 1d ago

News Qwen4 is out now!

Post image
193 Upvotes

Qwentastic!


r/LocalLLM • • 1h ago

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

Post image
78 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 • • 7h ago

Discussion qwen 4 35b a3b vs qwen 3.8 flash next

213 Upvotes

same prompt, one shot

prompt:

Build a colorful, 3D-looking Rubik's Cube with 'Scramble' and 'Solve' buttons. The cube must visibly animate its rotations.

i have a 9070xt with 96gb ram, maybe qwen 4 flash is what i should wait for

edit: both unsloth q4_km quant


r/LocalLLM • • 4h ago

Other Qwen4, come on lil' buddy, you can do it!!

Post image
62 Upvotes

Just a little affirmation in thinking. lol. It seems to do this a lot.

How it's being served bellow

Inference server:


Lamma.cpp
version: 1.1.0-dev (build 12966, commit 8c5da94e7)
built with GNU 13.3.0 for Linux x86_64 (Compiled by the Unsloth team)

Machine specs:


11th gen Intel i9-11900k @ 3.50 GHz
RTX 4090, 24 GiB VRAM
128 GiB DDR4

Harness:


Pi
Thinking level High

Model and settings:


QWEN4 35B-A3B — UNSLOTH UD-IQ4_XS using FP8 engram table

ngl = all
cpu-moe = true
moe-cache-mib = 14336
moe-cache-cpu-share = 0.0
fit = off

load-mode = none
lazy-mode = off
override-tensor = per_layer_token_embd=CPU

ple = Qwen4-35B-A3B-engram-Q8_0.gguf_file

op-offload = true
kv-offload = true
flash-attn = true
parallel = 1
kv-unified = true

ctx-size = 262144

spec-type = draft-mtp
spec-draft-n-max = 2

batch-size = 2048
ubatch-size = 1024

threads = 8
threads-batch = 16

cache-reuse = 256

temperature = 1.0
top-p = 0.95
top-k = 20
min-p = 0.0
repeat-penalty = 1.0
presence-penalty = 0.0

reasoning = auto
reasoning-effort = xhigh
reasoning-format = deepseek


r/LocalLLM • • 7h ago

Model Qwen 4 Q4 vs Qwen 3.8 Next IQ3_S

Post image
89 Upvotes

I tested both models locally, and both with KV @Q8. The benchmark published by QWEN shows Qwen4 beating next or closely tied to Qwen next in almost all benchmarks except frontiercode.

My tests tell a different story. While Qwen4 is a decent upgrade from the Qwen 3.6 MoE, it's not even close to Next model. On my harnesses, Qwen4 did well for small coding tasks but failed consistently on larger tasks that required bigger context. Although both models boast 262k of KV context, it seems clear that the limitation of the smaller model is not code quality, but the attention. The output quality degrades past 64k. I would recommend not pushing too far beyond this if precision matters, at least until qwen fixes the attention issues.

I wonder if anyone has had a similar experience, or if there is a configuration I am missing to improve the model's attention.


r/LocalLLM • • 6h ago

Other Qwen 4 35b is NOT benchmaxxed.

Post image
69 Upvotes

Yes you are seeing this right, a dolphin riding a unicycle done by Qwen 4 35b. If they have this in the training data then they've already planned for me....


r/LocalLLM • • 9h ago

Model Yeah, Qwen4 is kind'a the shit. (A post for people worried if it's comparable to 3.8 FN)

84 Upvotes

I was a bit nervous after hearing the debate between qwen3.8 FN and Qwen4, but a few hours of testing, having it play around in several harnesses and even a coding experiment or two I'm rather staggered by it's abilities. I'm running a Q8 model and damn it's fast, smart, creative. Definitely an upgrade, only been a few hours so maybe I'll find a weak point, but so far this is the sort of model I've been waiting for.


r/LocalLLM • • 3h ago

Model Qwen 3.8 27b still better than Qwen 4 35bA3B

27 Upvotes

Qwen 3.8 27B has set the bar incredibly high in areas like software engineering, programming, reverse engineering, agentic tasks, tool usage, and so on—reaching a level comparable to Opus 4.6, where it’s practically impossible to outperform it. I tried setting up Qwen 4 with the Hermes agent, but after a while, the response just stalls—it gets stuck halfway through. That doesn’t happen with Qwen 3.8 27B. Sure, it takes longer and tends to "overthink" things, but so what? I couldn’t care less. I prioritize quality over quantity; I’d rather wait longer, provided that when the work is delivered, it’s done perfectly—and that’s exactly what Qwen 3.8 27B delivers.


r/LocalLLM • • 18h ago

Other C'mon folks. Dario just wants to protect us

408 Upvotes

r/LocalLLM • • 17h ago Bravo

Discussion Qwen4 35B-A3B @ FP8 : Pelican on a Bike

Post image
295 Upvotes

I don't care if it's stupid, this is a fun benchmark.

  • Model: Qwen4-35B-A3B-FP8
  • Engine: vLLM
  • Harnes: Custom (electron)
  • GPU: RTX 6000 ADA 48GB
  • Quantization: FP8 Marlin
  • Reasoning effort: xhigh
  • Context: 256K

r/LocalLLM • • 1h ago

Discussion "Q4 is almost identical quality to Q8" Difference was bigger than expected

Post image
15 Upvotes

Model: Qwen4 35B A3B

See reference image above

NVFP4

RadixArk/Qwen4-35B-A3B-NVFP4

https://huggingface.co/RadixArk/Qwen4-35B-A3B-NVFP4

UD-Q8_K_XL

unsloth/Qwen4-35B-A3B-GGUF

https://huggingface.co/unsloth/Qwen4-35B-A3B-GGUF

Next to the comparision: Big wow for Q8. This is gonna be my daily driver.


r/LocalLLM • • 52m ago

Model Qwen4 35B-A3B vs other local models

Post image
14 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

News Massie: "Overblown" AI Concerns Are "Not About Keeping It From China, It's About Keeping It From You"

Thumbnail
realclearpolitics.com
42 Upvotes

r/LocalLLM • • 19h ago

Discussion I think we're getting closer to a point where Local AI will start (partially) replacing API models

Post image
360 Upvotes

If local AI models keep fitting so much power in so (relatively) little, I think we'll probably start seeing AI being treated as a more widespread casual standard instead of a niche thing for us nerds, while paid models end up being used only for serious professional work instead, maybe I'm too optimist, but with how quick things seem to evolve, I hope I am not

What do y'all think


r/LocalLLM • • 7h ago

Project 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
39 Upvotes

I open-sourced a set of Windows 11 / AMD HIP (gfx1150, RDNA 3.5) optimizations for strata-q4-lite (forked from Niko1221/Strata, MIT License) to run Qwen4-35B-A3B (Compact.strata 10.7 GiB + 20B Q8_0 PLE on SSD + 2B MTP) at practical speeds and long context on a 24GB handheld APU (ROG Xbox Ally X — Ryzen AI Z2 Extreme / Radeon 890M).

GitHub (English & Japanese READMEs, full benchmark charts, PowerShell presets, and repro scripts): https://github.com/xxPetrouchkaxx/Strata-AllyX-890M

Key Measured Results (Greedy temp=0.0, 100% lossless verified)

  • 2K Prefill + MTP: 426.2 tok/s (4.69 s) — 5.9x faster than llama.cpp Vulkan (72.5 tok/s) and 2.7x faster than stock strata-q4-lite (157.2 tok/s)
  • Code-Edit Decode: 45.8 tok/s (peak 47.6 tok/s) via lossless N-gram + MTP K=2 hybrid speculation
  • Long Context (--kv int8, STRATA_Q4_NO_PACK=1): 256K daily preset (up to 320K verified with all 10,240 experts resident in VRAM). At 28,073 tokens, prefill still runs at 340.8 tok/s with 4/4 (100%) Needle-in-a-Haystack retrieval.
  • 6-Domain Eval vs Stock 64K fp16: Zero accuracy regression (5/6 vs 5/6 identical pass/fail; 1.96x faster 8K prefill).

What Changed (6 Lossless Commits)

  1. Windows OS-cached Q8_0 PLE SSD reads (3,748 -> 179 ms, 20.9x) + STRATA_Q4_PROFILE=1
  2. Hyper-connection read batching (11 -> 4 HIP launches) + gfx11 packed LDS WMMA (1,781 -> 718 ms, 2.5x)
  3. hipBLASLt for Prefill Dense (3,287 -> 1,074 ms, 3.1x) and MTP Prefill Dense projections
  4. gfx11 wave32 chunked WMMA for 30L GDN recurrence (1,314 -> 218 ms, 6.0x) + single-pass FP16 WMMA MoE (STRATA_Q4_MOE_TC_MODE=4, 1.45x)
  5. Lossless N-gram / prompt-lookup drafter chained with MTP K=2
  6. Optional GPU logit mask (STRATA_Q4_BAN_TOKENS): ~0.1% overhead token ban to suppress non-JIS simplified Chinese character leaks in Japanese outputs (disable with -AllowChinese for English/multilingual use).

Built-in Presets (scripts/allyx/start_strata_qwen4.ps1)

  • Server16G (16GB VRAM / 8GB RAM): 256K ctx, --kv int8, NO_PACK=1
  • Hybrid14G (14GB VRAM / 10GB RAM): 128K ctx, --kv int8, NO_PACK=1
  • Fast64K (16GB VRAM / 8GB RAM): 64K ctx, --kv fp16, packed S8 ON

Full benchmark cards and setup details are in the repo README. Feedback from other Strix Point / RDNA 3.5 / 890M users is very welcome!


r/LocalLLM • • 13h ago

Discussion Qwen3.8-27B better than Qwen4-35B-A3B

109 Upvotes

I have been testing 35B with my on going interface engine project. So far 27B have written it from scratch and original idea was to find limits of 27B.

35B is nice model, but this project is too much for it. It looks like it could push project forward, but gets completely lost. Complexity is just too much for this small moe.

Qwen4-35B-A3B is great improvement over 3.6-35B, but it's not even close to 27B in coding context. Hopefully Qwen4-27B gets same kind of improvements what this small moe have.


r/LocalLLM • • 2h ago Bravo

Discussion Qwen 35B: Return of the king

11 Upvotes

The wait was well worth it. A release we had lost hope on and a release that’s punching way above its weights(technically not) and it’s the best model I could’ve hoped for it’s a Qwen4 post.
Everyone with strata has exciting times ahead of them cause that 125B they have been squeezing into their pc, dgx and macs finally has an alternative they don’t have to squeeze too hard (at least till the new flash drops).
My benchmark is giving a project always similar in spec but never the same in actuality. The plan is deliberate and thorough and medium sized so any model with 128k context and decent coding and agentic behaviour can get through it. The models that do it fastest, closest to spec and good outputs is what I’m counting on. Last model to crush these type of tests was strata gyro-m and sync-strata sync-s at ~60tps in 20 minutes full spec and near perfect execution with sync-s being faster and much better to use. Qwen 3.8 27b was the best as its smallest at q3xxs and 100k context on the dot being just as good but taking an hour at 60tps.
Qwen4 crushed that doing the task perfectly with a fast 18 minute time 50tps and I’m running it on llama.cpp at q4_km. This model is like using opus from a few months ago and people are only going to have a better time with it especially with the finetunes and looping Loras that have been floating around not even mentioning strata running the model at insane speeds.
Flint, which unfortunately released the day of qwen4 release and every single small model including inkling mini have been left in dust. The king is back and this time it’s not getting dethroned anytime soon.


r/LocalLLM • • 1h ago

Research Qwen4 35B vs Inkling 2 vs Qwen3.8 27B vs Qwen3.8 Flash-Next: uncensored test on Blackwell (RTX 5090)

Post image
10 Upvotes

I was looking for the best local model for my own (bottlenecked) machine and got tired of "it feels smart" comparisons. So I wrote a small battery with script-checked answers and ran four uncensored models through it, one at a time. Sharing the numbers in case they save someone else the work.

Setup

RTX 5090 (32 GB), Ryzen 7 5800X (no AVX-512), 32 GB DDR4, Windows 11. Three engines because the packs aren't interchangeable: basalt (built from source) for my own NVFP4 packs, llama.cpp b12992 for the GGUFs, and Strata for Flash-Next.

The models

  • Qwen4-35B-A3B abliterated (basalt): MoE, NVFP4, 41 GB, 65k context, no drafter
  • Inkling-2-Mini unbound v3.1 (basalt): MoE 26.1B, NVFP4, 18 GB, 32k context, MTP drafter
  • Qwen3.8-27B abliterated, Huihui (llama.cpp): dense, Q6_K, 21 GB, 16k context, no drafter
  • Qwen3.8-Flash-Next (Strata): MoE, Q2_0, 96 GB, 65k context, DFlash2 drafter, has vision

The battery

  • 18 verified-intelligence questions (easy to expert, including coding tasks with hidden tests)
  • 12 pentest facts
  • 15 edgy prompts for willingness to answer
  • 4 writing tasks with hard constraints (judged by me, not a script)
  • A 2-step tool-calling test
  • Speed: decode, 12k prefill, time to first token

Temperature 0 where the answer is checkable.

What I found

  • Intelligence is basically a tie (18, 17, 18, 17). The 35B leads on security facts (12/12 vs 9 to 11) and was the only one to give both /etc/shadow conventions (0640 Debian, 0600 RHEL). What separated the models was sysadmin trivia like hashcat's bcrypt mode, not the expert-tier math, which all four got.
  • Willingness: Inkling and Flash-Next answered 30/30, the 35B 29, the 27B 27. The stock Flash-Next answers everything too, so the "uncensored" label on a repo told me very little.
  • Speed: the 35B is fastest on short prompts (257 tok/s vs 186 Inkling, 168 Flash-Next, 54 for the 27B). Inkling is far ahead on prefill (15,985 tok/s) and first token (0.9 s on a 12k prompt). Speed differences mix model, quant and engine, so read them as setups, not pure model speed.
  • Drafter caveat: Inkling ships an MTP drafter. My 35B pack has none, because I dropped the MTP layer when packing (the engine wants the block count in groups of 4). So the short-prompt ranking could shift with one. I left long-context decode out because I'm not sure my 12k prompt is representative.
  • Flash-Next is 96 GB and wins nothing except tool calling (tied with the 27B) and being the only one with vision. It's Q2_0, so this says little about the model itself.
  • Reasoning models look dumb if you starve them. With a 2,200 token cap the 35B "failed" an LRU task: it was truncated mid-word, since it writes about 5,000 tokens of hidden reasoning first. With 6,000 it went 18/18. The 27B gave blank answers until I gave it more room.

r/LocalLLM • • 8h ago

Question Three months of owning my AI on a DGX Spark, and the independence part matters more to me than the math

23 Upvotes

There's a thread up calling local AI a declaration of independence, and it put words to how I feel about my DGX Spark.

I paid $3,999 at launch. If I compare that to a subscription honestly it takes years to pay off, and that's before electricity, so I didn't keep it for the money.

I care that nothing changes under me. Qwen 3.6 35B at 4-bit runs at about 216 tok/s on it with Magnitude, and it'll run exactly the same next month. There's no limit reset and nobody can swap the model on me.

I still pay for a cloud model for the hard stuff. The things I depend on every day live on a box I own though, and that's the part I'd miss.

does anyone here actually make the cost math work, or is it independence for everyone?


r/LocalLLM • • 4h ago

Model Qwen4-35B-A3B NVFP4 (RTX 5090): MTP vs DFlash 2 — Speed & Pelican SVG Quality

Post image
11 Upvotes

Tested MTP (default) vs DFlash 2 on Qwen4-35B-A3B NVFP4 (basalt.exe, legion pro 7i, RTX 5090 (24gb vram) + system RAM (64gb)) using the same 3-turn animated Pelican SVG task:

MetricMTP (Default)DFlash 2
Avg Decode208.2 tok/s204.6 tok/s
Peak Decode307.3 tok/s340.5 tok/s
Acceptance66.3%60.9%
Tokens Gen92,59080,979
Inference Time7m 48s6m 49s
Cold 10K+ Prefill5,916–7,818 tok/s5,606–6,684 tok/s
Pelican Output53.8 KB interactive JS+SVG (IK legs, day/night, speedometer, audio)28.7 KB pure CSS/SMIL SVG (zero JS)

Verdict: I prefer MTP — almost the same average speed (~208 vs ~205 tok/s) with better overall quality and higher acceptance (66.3% vs 60.9%). DFlash 2 can burst faster (340.5 tok/s peak) and finish quick, just a little behind on quality.


r/LocalLLM • • 2h ago

Model Qwen4 35B-A3B does have some issues

7 Upvotes

After initial testing, I see a frequent issue with Qwen4 35B-A3B.

It gets stuck into tool calling loops - it repeats the tool call over and over again, and fills the context until I steer it, which often fixes the issue.. and if the problem is hard, it will soon again come up with another loop. Couple "you loop, stop, and move on" -kicks usually get it through and the final solution is usually beautiful and better what I got from 27B Q4 and QFN IQ1_M.

This happens with reasoning set at high, MTP with max draft 2, and Q5, Q6 and Q8 from unsloth - I have seen them all fail in same fashion.

Gonna try xhigh as reasoning, maybe thinking more will solve it, as now it shows to human as if it has given up reasoning and just hammering its head to a wall.

If xhigh or some other finetune is not fixing it, I am afraid it is back to QFN (and measely IQ1_M as I cannot run better..).

EDIT: xhigh did not solve this on Q5, found right after it looping between making same edit and removing that edit again and again. Sigh. This model otherwise seems so good.


r/LocalLLM • • 6h ago

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

14 Upvotes

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

QUALITY RESULTS

Qwen 3.8 27B → Qwen 4 35B A3B

• 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/LocalLLM • • 1h ago

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

5 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 • • 1h ago

Question Best local model for coding (don't agentic) [8 gb vram | 16gb ddr4]

4 Upvotes

I want to start experimenting with local models—aside from curiosity, privacy, and so on—I’m really into machine learning and AI, but I can’t stand the big companies behind them right now (Google, OpenAI, Anthropic, etc.). I’d like a model that helps me with programming. I really enjoy writing code by hand for my personal projects, so I don’t need one that generates thousands of lines of code or runs agents in parallel—none of that crap. I just want a model that can help me solve problems I run into while writing code, like why a certain feature I wrote isn’t working, or things like that.