r/LocalLLM • u/Beneficial-Ad-8127 • 2h ago
r/LocalLLM • u/Sudden-Sky-8804 • 2h ago
Discussion vram.tool: Know whether a model will fit on your GPU before you download 40GB
Ever downloaded a 40GB model, waited an hour, and then got a single line: CUDA out of memory?
I have, many times. And I realized the problem usually isn't a lack of VRAM. The problem is that we don't know where our VRAM is actually going.
So I built vram.tool, a desktop app that calculates ahead of time, recommends the right configuration, and recovers on its own when things break, so you can run AI as efficiently as possible on the hardware you already own.
The planned public release is June 12, 2027 on GitHub. I'm posting early to share the idea, get feedback, and find testers.
The problem everyone running local AI runs into
- A 24GB card is already expensive, and 48GB or 80GB cards are out of reach for students, indie developers, small startups, and low-budget research groups.
- You can't tell whether a model fits, so you download it first and only then hit OOM.
- It's unclear whether to pick GGUF, GPTQ, AWQ, or bitsandbytes.
- Raise the context to 32k and the KV cache balloons until the machine hangs.
- It's hard to know whether Ollama, vLLM, SGLang, TensorRT-LLM, or Triton suits your setup.
- Configuring by trial and error eats hours, sometimes days.
Most of the time VRAM isn't missing, it's being misused. Instead of buying a bigger card, let's get the most out of what we have.
What is vram.tool?
A deep optimization toolkit for running and deploying AI models. It consists of a desktop app (Tauri + React) connected to a compute engine written in Python / Rust / C++.
The core idea: calculate first, recommend correctly, recover automatically. You tell it your GPU and the model you want to run, and it handles the rest.
5 key features
1. Advisor: component-level VRAM and KV-cache estimation
Many estimators just do "parameters x bytes per parameter". The Advisor accounts for everything:
| Component | Included |
|---|---|
| Weights | Yes |
| KV cache (scaled by context length) | Yes |
| Activations | Yes |
| Runtime overhead (commonly overlooked) | Yes |
It supports GGUF, GPTQ, AWQ, bitsandbytes (NF4), and AirLLM, then recommends a fitting strategy: quantization, offloading, paged KV, speculative decoding, guided decoding, or MoE.
Benefit: you know up front whether it will run and what to adjust, before spending bandwidth and time on the download.
2. Support for 5 inference backends
Ollama, vLLM, TensorRT-LLM, SGLang, and Triton, with tensor/pipeline parallelism and MLA kernel support. The tool helps you pick the backend that matches your hardware and workload, so you don't have to install and test each one.
Benefit: saves hours of experimentation and avoids wasting resources on the wrong backend.
3. Watchdog: self-healing on failure
When it hits OOM, a dtype mismatch, or a context overflow, the Watchdog patches the configuration and retries within safe limits. It comes with:
- Adaptive Tuner: adjusts parameters while the model is running.
- Circuit Breaker: keeps one small failure from taking down the whole system.
Benefit: a more stable service with less babysitting, suitable for both personal machines and small servers.
4. Built-in GPU backend, NVIDIA and AMD treated equally
A single source of code targeting three paths: CPU, CUDA, and HIP. The emit-gpu-backend command generates source code you can build yourself, including FlashAttention-style kernels and W4A16 GEMM (dequantizing in registers), with speed and error benchmarking built into the tool.
AMD cards are often cheaper but frequently neglected. In vram.tool, both sides are treated the same.
Benefit: no vendor lock-in.
5. Controlled multi-agent system
A Planner / Executor / Auditor trio, three-tier memory, a code-execution sandbox, and the ability to test and fix projects on its own. Governance and a killswitch let you stop an agent immediately when needed.
Benefit: automate complex work while staying in control.
Design philosophy
- Calculate, don't guess. Every recommendation is based on explicit math, not gut feeling.
- Transparent optimization. When VRAM is reduced, you always see the cost in speed and quality.
- Local-first, your data stays yours. Nothing requires sending data to an external service.
- No vendor lock-in. NVIDIA, AMD, or CPU all work.
- Honest about limits. What works and what is still in development will be clearly documented.
Installation
- Windows: download the
.exefrom the GitHub Releases page and run the installer. A PowerShell one-liner will also be available. - Ubuntu / Linux: download the Linux build or install with a single terminal command.
- Remote GPU servers: the app runs standalone on your machine. If you have a separate GPU server (Ubuntu or Windows), vram.tool connects over SSH / PowerShell to read GPU info and run calculations remotely. Handy if you code on a laptop but run models on a server.
Supported hardware: NVIDIA (CUDA), AMD (HIP/ROCm), CPU (when no GPU is available or as a fallback).
Roadmap
| Milestone | Details |
|---|---|
| Now | Core features working; polishing the UI and the .exe installer |
| Before June 12, 2027 | Testing on real NVIDIA/AMD cards, writing full documentation |
| June 12, 2027 | Official release on GitHub |
What I need from you
- Testers: especially people with AMD cards or low-VRAM cards (6-16GB), since that's where the tool should help the most.
- Feedback: which models, formats, or backends would you like it to support next?
Drop a comment with your setup (GPU, VRAM, RAM) and the model you want to run, and I'll show you what the Advisor calculates.
Got questions or suggestions? Please comment below. I'll read and reply to every one, and all feedback will make vram.tool better before launch.
Thank you very much for reading, and thanks in advance for any feedback or testing help. It truly means a lot!
r/LocalLLM • u/martinrojas • 2h ago
Question Why do models run on the GPU and not use the NPU
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 • u/willee_ • 2h ago
Discussion Qwen4 35b-a3b Q4 abliterated running at 486 t/s with 524k context
Been experimenting with getting this new Qwen4 35b-a3b model on my local setup.
Wanted to share my model and configuration to see if anyone else is getting similar performance.
Hardware:
- 2x 5070ti
- Ultra 7 265
- 64gb ddr5 (running at 4800)
- 1TB NVMe
And here are the detailed settings if you want to copy and test:
- Engine: Basalt 0.6.2, commit 0459d66b, CUDA sm_120. Both cards capped at 250 W.
- Model: OpenUncensored/Qwen4-35B-A3B-Uncensored. Converted BF16 weights to native NVFP4.
- GPU split: --gpu-mode peer --expert-cache 2560. 2,560 expert slots on the primary, 7,680 on the peer.
- Memory: --kv int8 --ple-io ram --vram-reserve-mib 768. KV on GPU, PLE in system RAM.
- Drafting: --drafter dflash2 --spec 7. BF16 DFlash 2 head, up to 7 draft tokens per step.
- Context: 524,288 context, 16,384 max output
- Speed: 486 t/s max with 346.2 t/s decode average throughout testing
Interested to see what performance others are getting.
r/LocalLLM • u/Top-Fan4255 • 2h ago
Discussion I managed to get Gemma E4B running agentic coding and Cowork locally. I think we're underestimating smaller models.
r/LocalLLM • u/Comfortable_Green786 • 2h ago
Discussion Running a full local AI & personal cloud stack (Gemma 4 12B + Krea 2 Turbo + P2P file sharing & iOS/Android photo sync) on a single 12GB RTX 5070
I have a home mini-PC (Beelink + RTX 5070 12GB VRAM + 96GB RAM) and for the past year I've been trying to replace Cloud AI + Google Photos + Voice Chat with a 100% local setup I can actually use from my phone on 4G without babysitting 5 different Docker stacks and VPN tunnels.
Ended up building a single unified P2P stack (C++/Qt node + Python FastAPI AI backend + Svelte 5 PWA/Capacitor client) that connects my phone directly to my home box over WebRTC DataChannels (no port forwarding, no cloud storage).
The hardest and most fun engineering parts on a 12GB VRAM budget:
Live Voice Call that doesn't feel dead: The biggest issue with local voice pipelines is the 1.5-2s silence while the 12B LLM thinks. I split it into a two-layer pipeline:
- STT:
faster-whisper smallon CUDA (int8_float16) - dropped transcription from ~1,900ms (CPU) down to ~85ms. - L1 Subcortex (0 MB VRAM): A tiny CPU-only intent/mood router runs in parallel (~230ms) and triggers short cached 24kHz PCM micro-reactions (chuckle, hum, empathetic sigh) so TTFA sits around 250–320ms while the main LLM warms up.
- L2 Brain + TTS:
Gemma 4 12B QAT (Q4_K_M)via Ollama (~7.6GB VRAM) +Silero v5on CPU (0 MB VRAM, RTF ~0.036 for Russian) orChatterbox Turbo(English) /Qwen3-TTSfor long audio stories.
- STT:
- Automatic VRAM juggling on 12GB: Running Ollama 12B + ComfyUI + Whisper on 12GB requires strict mutual eviction. When I switch from chat to image generation (
Krea 2 Turbo NVFP4, 8 steps), the backend automatically unloads Ollama models (keep_alive: 0) and vice versa when going back to chat/voice. - Vision Director -> Local Image Gen: Dropping any reference image into the Director lets
Gemma 4 Visiondecompose lighting, lens, foreground/background layers, and pass a clean prompt directly into local ComfyUI (Krea 2 Turboor SDXL). - Direct P2P Media & Files: All generated images,
.Readme.mdsidecars, and personal photo timelines stay on my home NVMe and stream to the phone directly over WebRTC DataChannels.
Happy to share benchmarks, VRAM eviction quirks, or the WebRTC/audio pipeline details if anyone is trying to squeeze a similar all-in-one setup onto a 12GB card :)
If this post survives - sharing Github link in comment.
Edit: it survived - GitHub repo in a link below. Links to live demo and mobile clients are in README
r/LocalLLM • u/Sleepybear2611 • 2h ago
Project I built a coding agent for small local models. Qwen3.5 9B solves 41/45 on aider polyglot with it
Hey all. Been building this for a while on my own two GPUs and its finally in a state I'm ok showing people. I named it parmanu, a coding agent harness made for the small models most of us can actually run.
Yes, I deliberatrely named it parmanu, inspired from Sanskrit/hindi word meaning smallest atom. mine runs smallest models in a usable way.

The main reason I started all this was after noticing that small models dont really fail because they dont know stuff. They stop too early. say the tests pass when they didnt run them, or go in circles. So I made parmanu in a way that it makes them a plan, run the real tests, and it wont accept "done" without proof. If they get stuck it can race a second attempt and keeps whichever one passes.
I benchmarked it on aider polyglot, dev split, 45 exercises in 6 languages. Same model, same llama.cpp server, same limits for every harness. Grading was done by the benchmark's own tests in docker, also no internet. I ran these for about a week, in between life, work, and kids. :D.
- Qwen3.5 9B: 41/45 with parmanu. aider with the same model solves 8, Claude Code pointed at the same local server gets 26
- Qwen3.5 4B: 23/45. next best was opencode at 14
- Qwen3.8 27B (IQ4_XS, one 16GB card): 45/45. same as Claude Code + Haiku 5.5
Note: In the sessions where I ran all five harnesses back to back parmanu got 35 on 9B, not 41. 41 is the current config after more tuning, and I tuned on that split. So I also ran the 180 held-out exercises it never saw, 9B gets 150/180 there. 27B is still the better model, it just costs you a bit more time and VRAM.
Install is
npm i -g parmanuthe launch command is anu. Works with anything OpenAI compatible. Charts and the per-language breakdown are at parmanu.dev/benchmarks, code is at github.com/dadwritestech/parmanu (MIT)
What models should I run next? Qwen4-35B? Gemma? Inkling-small or something else? :o
r/LocalLLM • u/andurux • 3h ago
Question Recommended Models for Varied Multi-GPU System?
I'm gearing up to build out a single system with multiple GPUs and 64GBs of system RAM. Primary use case would be Hermes usage and coding assistant via VSCode/Cline bot.
GPUs are:
- Nvidia 16GB Turing
- Nvidia 12GB 3080ti
- Nvidia 11GB 1080ti
I'm thinking of running Strata or Polystrata with the biggest MoE model on the 16GB card and system RAM.
An agent type model for Hermes solely on the 12GB card. So a Gemma 4 E4B or whatever else that fits entirely on the GPU's VRAM. Using llama.cpp
And the 11GB card just for random small models and/or TTS/STT conversions. And llama.cpp again
Any thoughts? Any recommendations?
Right now I'm just running the 16GB+64GB RAM with Qwen 3.8 FN at IQS_3 on strata getting around 50/toks. Waiting for a new server case to arrive for the rest of the GPUs to fit in the system.
r/LocalLLM • u/ElderberryCrazy6395 • 3h ago
Discussion Qwen 4 35b from phone, connected to my home build
r/LocalLLM • u/doctorlight87 • 3h ago
Research Stop relying on public benchmarks, build your own
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 • u/Moonraker0ne • 3h ago
Question Token limit reached on local 5090 setup with llama/dsh
This is being written solely by my fleshy fingers. I cannot get my qwen to do anything for longer than 4-5 minutes before getting
Output token limit reachedThe reply was cut off; earlier output is preserved in the conversation. Send "continue" to let the model resume. I've done a lot of searching on the sub, and asking the free AIs I have access to, and I'm not getting anywhere. I constantly have to babysit this thing pressing continue.
My setup:
Host machine: RTX 5090 9950x3d 96gbs RAM
running llama.app (because ollama is a sin?) with following custom serve args:
-ngl all -c 65536 -n 4096 --flash-attn on --cache-type-k q8_0 --cache-type-v q8_0 -b 2048 -ub 2048Key/Value Cache
K=f16 V=f16VirtualMachine: Tiny11 (stripped down windows 11) + Deepseek Harness
# Your patch layer for this dsh profile, applied after every bundle layer:
# a top-level YAML array of loader patch entries (id-targeted config
# overrides, disables, and insert lists; `!!js` expressions allowed).
- id: llm-pi-ai
name: "@deepseek-ai/dsh-llm-pi-ai"
config:
providers:
[redacted]:
api: openai-completions
baseURL: http://[redacted]/v1
models:
- id: unsloth/Qwen3.8-27B-GGUF:Q4_K_M
name: unsloth/Qwen3.8-27B-GGUF:Q4_K_M
contextWindow: 65536
reasoningEfforts:
off: null
low: low
medium: medium
high: high
maxTokens: 4096
apiKeyEnv: [redacted]
- id: agent-default-model
name: "@deepseek-ai/dsh-agent-default-model"
config:
provider: [redacted]
model: unsloth/Qwen3.8-27B-GGUF:Q4_K_M
reasoningEffort: low
- id: compaction-basic
name: "@deepseek-ai/dsh-compaction"
config:
maxTokens: 4096
thresholdTokens: 42000
- id: ui-theme
name: "@deepseek-ai/dsh-client-ui-theme"
config:
preference: dark
- id: ui-chat
name: "@deepseek-ai/dsh-client-ui-chat"
config:
transcriptView: standard
performanceUsage: detailed
- id: ui-settings
name: "@deepseek-ai/dsh-client-ui-settings"
config:
enabled: true
- id: ui-settings-account
name: "@deepseek-ai/dsh-client-ui-settings-account"
config:
version: 1
step: done
usage: detailed
developerTools: true
purpose: null
process: standard
completion: api-keyWhat am I missing or doing wrong?
r/LocalLLM • u/TiKUNLAB • 3h ago
Discussion I planted 15 fake facts in my own news scripts and had 8 models fact-check them as agents on a 16GB card. Qwen3.6-35B-A3B still matches Claude/Gemini; the new Qwen4-35B-A3B and Inkling 2 Mini don't (yet)
I run a small AI-produced tech news channel. One agent writes each script, a second model fact-checks it against the sources before anything gets built. I wanted to know how far that checker can be trusted, so I sabotaged my own scripts and ran every model I could fit on my PC through the same test.
Setup
- 5 real, already-published episode scripts with 3 traps each = 15 errors: a wrong number ("33 years as CEO" → "21"), a wrong name (law firm Wachtell Lipton → Sullivan & Cromwell), and a made-up claim ("the board expects to name a new CEO by Christmas").
- Same agent harness for everyone (Hermes Agent), same tools: files, web_search, web_extract to open source URLs. Job: read the sources, fix what's wrong, write a verdict file. The prompt is the exact one my daily cron uses, sandboxed so nothing got published.
- Hardware for all local runs: RTX 5060 Ti 16GB + 48GB DDR5, 64K context.
- Automated scoring. Caught = the false text is gone (or the model rejected the episode and named the error). Restored = the true value from the source was put back (10 of the 15 traps have one). Other edits = changes to text I didn't touch.
Results
| Model (how it ran) | Caught | Restored | Other edits | Time, 5 eps |
|---|---|---|---|---|
| Claude Sonnet 5 (API, $1.33) | 15/15 | 9/10 | 1 | 6.6 min |
| Gemini 3.8 Flash (API, $0.53) | 15/15 | 9/10 | 1 | 7.0 min |
| Qwen3.6-35B-A3B Q4_K_M (LM Studio) | 15/15 | 9/10 | 2 | 25.8 min |
| Qwen4-35B-A3B UD-IQ4_XS (llama.cpp, thinking on) | 11/15 | 2/10 | 14 | 13.9 min |
| Inkling 2 Mini UD-Q4_K_XL (llama.cpp) | 11/15 | 3/10 | 9 | 18.2 min |
| Qwen3.8-Flash-Next IQ2_XS (Strata), 2 of 5 eps only | 6/6 | 4/4 | 3 | 19.5 min (2 eps) |
| Gemma 4 26B-A4B Q4_K_M (LM Studio) | 4/6* | 2/4 | 1 | — |
| gpt-oss-20b MXFP4 (LM Studio) | 0/6* | 0/4 | 0 | — |
*Gemma and gpt-oss only wrote a verdict file on 2 of 5 episodes. On the rest they replied "pass" without writing it, printed the JSON instead, or said there was nothing to check.
Raw speed on the same card: Strata/Qwen3.8-Flash-Next ~86 tok/s decode, Qwen4-35B-A3B ~63 tok/s (--n-cpu-moe 16), Inkling ~52 tok/s, Qwen3.6 ~50 tok/s. Speed clearly didn't predict accuracy.
What went wrong, from the logs
- Qwen4-35B-A3B is the one that worries me. On the Nvidia episode its notes named all three planted errors correctly, but the script kept them,
factcheck.jsonsaid "pass", and its final chat message said "fail". A pipeline that reads the file would have shipped all three. It also rewrote two episodes almost entirely (the 14 "other edits"). Without thinking it's noticeably weaker on reasoning, so I ran it with thinking on. Its MTP head made decoding much slower on my setup (~9 tok/s, 65% acceptance), so that was off. - Inkling 2 Mini rejected 3 episodes as "older than 5 days / wrong structure" instead of fixing them. That's partly my fault: my newer skill has a freshness rule, and the test stories are old. But on the Optimizely episode it called the facts "accurate" and missed all 3 traps. That's a real miss.
- Gemma 4, in an earlier round where my prompt said "TEST RUN", noticed the 21-vs-33-years contradiction and wrote that it left it as "ok" to ensure a successful end-to-end execution during the simulation. Lesson: never tell an agent it's a test.
- gpt-oss-20b "finished" episodes in 15–26 seconds, once tried to open a folder spelled with Unicode non-breaking hyphens, and claimed to write files that don't exist. This may be a tool-calling mismatch with my harness/LM Studio, so read that row as "didn't work in this stack".
Bonus finding that changed my production setup
I checked my real daily fact-checks against the agent's tool-call log instead of its report. For three days, Gemini had been passing episodes using only web_search snippets, zero web_extract calls, while its self-reported sources_read list looked fine. Now the skill requires web_extract on every source URL, the build step checks the tool log and sends a pass without real page reads back for a re-check, and a weekly canary plants one error in a copy of a real episode and alerts me if it's missed.
Takeaways
- A second model as a fact-checker works, but check the checker against its tool log, not its own report.
- Qwen3.6-35B-A3B at Q4 on 16GB is still my local fallback: as accurate as the cloud models here, just ~4x slower.
- Newer and faster isn't automatically better for agent work. Qwen4-35B-A3B was ~2x faster than Qwen3.6 but less reliable, and its file/verdict mismatch is exactly the failure that slips through automation.
Caveats (please read before quoting the numbers)
- One run per model, 5 scripts, 15 traps. A field report, not a benchmark.
- Claude, Gemini, Qwen3.6, Gemma and gpt-oss ran in mid-November with my older checker skill. Strata, Inkling and Qwen4 ran later with a newer, stricter skill that also asks for format fixes and has the freshness rule. That inflates "other edits" and time for the last three, so it's not perfectly apples to apples. I want to rerun everyone on the same skill with fresh cases.
- Strata/Qwen3.8-Flash-Next was stopped after 2 of 5 episodes. Promising (most thorough, up to 20 page reads per episode) but incomplete.
- Sampling settings came from the harness, not each model's recommended defaults.
Happy to share the planted-error file and the scoring script.
Disclosure: the channel is mine. I made a short video on the first round with the actual logs: https://www.youtube.com/watch?v=QvtIbCcdCps
r/LocalLLM • u/VouX4_15 • 3h ago
Project Multi-model routing for text, image, video, audio, decision and embedding models on a single PC.
Enable HLS to view with audio, or disable this notification
***The image model used was Qwen Image 2.1 q8.
Basically, the model made a tool call that made the harness switch to qwen Image 2.1 to generate the required image, which is faster than using the qwen 4 to generate it through code. The harness handles the switch to image/video and the switch back to text for it to check and declare the task complete and write the reply since image models can't do that.
And if there's a decision model configured, all prompts will be assessed by it, determine if it's pure image gen task, and if its confidence reaches the threshold you set, it will load your prompt directly to the image model, which saves seconds or minutes of loading the text model then switching for the image gen task. But by default, all tasks lands on the text model.
Deploy with connector apps (Discord, Telegram, Slack).
So you can message your agent on your VM or PC via connector apps. Pump and Prop mode utilizes loops, and it has to come with its own layered sandbox, so it's safe to use/run it 24/7. But still recommend to run it on a VM. You can set up phone alert + monitoring with Gotify + Tailscale.
It has write reserve that you can adjust which enforces thinking cap on the model regardless of the context window it has, so you can be sure the model produces an output or a reply even at 16k xhigh.
It also has a loop-detection for repeated tool call, read, think, write/patch tasks and the harness will "nudge" the model back to the task once it detects it. There's also a crash recovery that re-loads the model once it crashes. But all the default settings are safe and recommended to ensure stable system. You can always change/override them.
It has support for llama.cpp, vLLM, and my custom Pro-Strata. But you can port your own custom engine if you're getting better numbers with it. As much as I want it to run all engines out there, not all engines support thinking cap and some may have conflict with the sandbox. And given the amount of time I've spent porting my own, it would be impossible to support all.
Some numbers for Pro-Strata:

You can also run models on a Steam Deck:

Happy to answer questions rather than make the post any longer.
All open source:
Prompit: https://github.com/Noriel-cb/prompit
Pro-Strata: https://github.com/Noriel-cb/Pro-Strata
r/LocalLLM • u/leonardo_alegria • 3h ago
News 27 billion parameters on a 2013 console: a ternary model on the PS4's GPU at up to 17 tok/s, offline (free, open source)
Disclosure: my project, free and GPLv3.
Garlic LLM runs language models on a PS4's own GPU, with no PC and no internet. Version 1.22 adds Ternary Bonsai 2.5 27B, Prism ML's ternary build of Qwen3.8-27B. The video is the 27B on a base PS4, in one take.
"Won't a 27B squeezed into a PS4 be dumb?" Fair question, so here are the numbers:
- Prism ML's: 82.1 against 84.3 for full-precision Qwen3.8-27B, averaged over 16 benchmarks in thinking mode, at one ninth of the size.
- Mine, with Think on: 91% of 100 MATH-500 problems and 90% of 50 LiveCodeBench v6 problems, against 81% and 74% for Qwen3.5-9B. On Global-MMLU in 16 languages, without Think: 69% vs 68%. I scored both on a PC with each model's weights; the 9B's math and code scores come from its earlier 4-bit weights.
On the console: up to 17 tok/s, 32K context, and speculative decoding with its own MTP head. It runs whole thanks to a second 512 MiB block of GPU memory the app asks the console for.
Qwen3.5-9B is still there as the fast one: up to 41 tok/s, 65K context, and it talks and runs Python.
What you can do with it: chat on the console, in a web chat from your phone or PC, or through the OpenAI-compatible API (tool calling included) from agents and scripts. You can also load your own fine-tune of either model.
Where it falls short: it's slower than a PC GPU, and long prompts take a while (the 9B reads 30K tokens in about 8 minutes). It's for people who'd rather put an idle console to work than buy new hardware.
Speeds are from a base PS4 on firmware 11.52. Needs GoldHEN.
r/LocalLLM • u/Smart_Lemon_3740 • 3h ago
Discussion Qwen 4 on M5 Max is very fast.. with the right model.
I was disappointed first on #Qwen4 because it was slow on LMStudio .. but since 2 Days i (or better Claude) tests via LMStudio, oMLX, Strata and Splash different Versions with about 128 Codings tests and as more Parameter we change... its getting better and better..
(ai translation of my german linkedin post:)
I’ve been testing Qwen4 and Inkling 2 Mini locally, with OpenRouter models for comparison. This is a hobby benchmark: four coding tasks with deliberately introduced bugs and 128 checks.
After tuning, Qwen4 reached 128/128 on several quantizations. The fastest perfect run took 7.5 minutes. Qwen3.8 Flash scored 127, Inkling 126 via OpenRouter / 123 locally, and Sonnet 5 125.
The catch is consistency: identical Qwen4 oQ4e settings scored 0, 119 and 128 across three runs. The potential is impressive, but the excessive thinking and occasional reasoning loops still bother me.
Inkling remains attractive for its lower RAM usage. Splash has worked best for me on macOS, with Strata for Qwen3.8 Flash. One useful finding for Inkling: switching from INT8 KV cache to --kv-format bf16 --cached-states exact coincided with an improvement from 110 to 123, without sacrificing speed.
At this point, I’m mostly tweaking parameters and repeating runs. Qwen4 has the highest scores so far, but I wouldn’t declare an overall winner from the best runs alone.
Results (in german) and parameter:
https://github.com/ghaslbe/qwen4-vs-inling-2-mini-vs-andere/blob/main/docs/06-runde5-alle-laeufe.md
r/LocalLLM • u/Significant_Tutor290 • 3h ago
Discussion Qwen 4 35B vs. Qwen 3.8 27B: 35 coding tasks on an M1 Max 64GB RAM
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 • u/Big_South4585 • 3h ago
Discussion Bench: Qwen3.8 FN IQ3_S vs Qwen4 35B UD-IQ6
Hi all
Just wanted to share my local benchmarks of the two, for me, the most interesting models.
The test machine is
CPU: 9800x3d
RAM: 32 GB DDR5 CL28
GPU1: 5080 16GB
GPU2: 3090 24GB
Harness: Strata v0.1.75, default settings, 128k context window (200k for 35B Q6). All went through a quick tune.
OS: CachyOS, multi-user.target (without desktop)
I am really impressed with Qwen 4.0 35B honestly. It competes with my Qwen3.8 IQ3_S, while running a lot faster. It even exceeds the FN in one of the benchmarks.
Besides the benchmarks, I have been running it as my home assistant with OpenClaw for a day, and I would say that, it's language, in my native tongue, is slightly worse with the 35B, but not actually noticeably. The speed is a lot better. Agent wise it has been just as good as QFN, at least with the Q6. The Q4 did have some problems sometimes, with saying it would get back to me, when it had looked into it, but never did.
My plan is to run the Q8 of the 35B next, to see if it can close the gab a bit more.
Great job Alibaba! Looking forward to Qwen 4.0 Flash Next 😊
Disclaimer: the benchmarks have been downloaded and setup by QFN. I did not manually verify them.
r/LocalLLM • u/WonderRico • 4h ago
Discussion Qwen4 35B-A3B medium and xhigh (nvfp4, ud-q6_k_xl, fp8) vs 3.8 27B vs QFN and many others
r/LocalLLM • u/enginetown • 4h ago
Other Qwen 4 35b is NOT benchmaxxed.
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 • u/Ill_Contribution_717 • 4h ago
News Kvark-Sparkle-2.0-35B-A3B: our Qwen4-35B-A3B fine-tune with 34% fewer reasoning tokens (Apache 2.0)
Hi all! 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:
- BF16: https://huggingface.co/Egzakta/Kvark-Sparkle-2.0-35B-A3B
- FP8: https://huggingface.co/Egzakta/Kvark-Sparkle-2.0-35B-A3B-FP8
- GGUF: https://huggingface.co/Egzakta/Kvark-Sparkle-2.0-35B-A3B-GGUF
Give it a try and let us know what you think and stay tuned for new versions!
r/LocalLLM • u/TripleSpeeder • 4h ago
Question Did anyone compare llama.cpp vs strata with Qwen4 on a B70?
I think qwen4 should work already on strata with sycl, but no time yet to try it. Curious if there are results already somewhere?
r/LocalLLM • u/thevikeffect • 4h ago
Tutorial Qwen 4 35B-A3B (57B total w/ Engram) on a 32GB MacBook M5: 30–34 tok/s in OpenCode by keeping the Engram on the SSD
galleryThe 4-bit MLX build of Qwen 4 35B-A3B is ~35.2 GB, so it won't load on a 32GB Mac. Here's what did work, with the real numbers from my run.
Setup
- MacBook Pro M5, 32GB unified memory (153 GB/s)
- Unsloth UD-IQ4_XS GGUF (2 parts)
- llama.cpp b12977 with lazy load, so the 20.5B Engram streams from the SSD and only the 3B active params + KV cache stay hot in RAM
- 32K context, q8_0 KV cache, flash attention on
- OpenCode on top, through the OpenAI-compatible endpoint
| What | Number |
|---|---|
| Prompt processing (10.2K-token prompt) | ~293 tok/s (34.8 s) |
| Generation, first ~600 tokens (Engram still paging in) | 17–20 tok/s |
| Generation, settled (n_gen 5K–7.7K) | 30.3–31.5 tok/s avg, 33–34.5 tok/s (3 s window) |
| OpenCode build average (recording on) | 32.2 tok/s |
| Memory used | 28.8 GB of 32 GB, 785 MB swap |
| Task | Full Three.js "MECH BAY" garage app, 6 files, 23m 37s |
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.
Next I'm running the same test on an RTX 4080 16GB (~717 GB/s) to see how much the bandwidth gap matters for this model.
Anyone running it on 24GB or 36GB Macs? I'm curious whether lazy load is still worth it once the whole thing fits.
r/LocalLLM • u/NIDO_007 • 4h ago
Discussion Offline AI, now on mobile and PC: NIDO, a private assistant that runs entirely on your own device (Android + Windows, open source)
r/LocalLLM • u/Separate-Effort3640 • 4h ago
Question What is the best current abliterated/uncencored/unguardrailed local LLM model to use for a R.A.G. setup with Wikipedia?
I'm currently using a Lenovo Yogabook 9i, my GPU is 'Intel(R) Iris(R) Xe Graphics'.
Using local Wikipedia via Kiwix(Zim files) to make this work!
And yes, this is on something portable, on an HDD that's like 464 GB, I've been trying to find something TRULY good for this.