I ran Qwen 3.6 locally for 45 days, here are the results
I ran Qwen 3.6 locally for 45 days as an agentic coder. In the process I upgraded from a single 3070 Ti to a 5070 Ti + 4070 Super. Along the way I ended up A/B testing the thing against my own harness on ~30 full multi-hour runs (6h+), so some of this is vibes.
The model:
- Best (by vibes) is Qwen 3.6 27B. Qwen3.6 35B A3B is ok, but tends to not follow instructions or "forget" them faster. I tested Gemma for a couple days, it was bad. The weird part, it couldn't even produce my local language with proper characters, while Qwen had zero problems. Chinese model better at a European language than Google's. Kinda sus.
The goods:
- The model is extremely capable at solving coding tasks and any other issue you might need for daily life, like running OpenClaw (Hermes does not work). If you provide hard rules and proper context where the model doesn't have to guess, it will do it without any problems.
- When the fact is in front of it, it reasons well. I had it triage spec questions against a design doc: 30/30 answered correctly with real cited values from the spec. Same task without the doc in context: 0/30. It's a good reader. It's a bad guesser.
- Speed!!! After Claude's 15+ minute "thinking" on basic tasks, API regressions, and everything else... it's kind of addictive watching the text just fly by and actual something getting done!
Summary (across all runs):
prompt processing: 1714.1 t/s peak, 673.7 t/s mean
token generation: 216.7 t/s peak, 90.6 t/s mean
mtp acceptance: 0.57226 (7365 accepted / 12870 generated)
The bads:
- Data cutoff point: "As of mid-2024, React 19 has not been officially released as a stable version." Modern-day libraries move fast, and the model just does not know how to interact with them, so it starts guessing, looping, and hallucinating. Measured version: asked to pin Tailwind with 4.3.2 live on npm, it pinned 3.x in 6/6 runs.
- Loves to trash the codebase. One unclear instruction and it will go ham! It will destroy unrelated work just to go green on tests. Real example from my logs: lint was stuck permanently red because of a config it wasn't allowed to touch. Its solution was to delete a sibling task's committed, verified deliverables and return "ok". Three files, gone, and every guard in my pipeline let it through.
- Unknown information tends to send it into an unrecoverable loop, and you need to "steer" it in the right direction. If you provide wrong information, then it's extremely obvious how much the model struggles.
- It grades its own homework and gives itself an A. This is the worst.
- Ignores tooling. If you don't say directly "You must use search", it can ignore it completely, especially when context is full. I had a full run with 0 search calls against an explicit directive.
The fix:
- Provide search, docs, SKILL.md and extremely clear instructions. Valid information is the key to turning Qwen 3.6 into an8/10 local model that could replace 70% of your daily usage requirements.
- Keep context free of noise, full HTML page contents, extremely verbose test/lint/log output. There are plenty of settings to reduce verbosity in modern tools your agent is using.
- Small, precise tasks. Lock in scope.
- And the one I learned the hard way, after playing endless whack-a-mole. Prose doesn't enforce anything. Only code does. I tried every variation. A "FROZEN" prompt: failed 3/5 times. The same rule buried in a list: 0/5. The same rule marked MANDATORY and used to gate the output: 8/8. But the thing that actually worked every single time was never the prompt. It was a deterministic check outside the model a
git diffscan, a substring match, or any other verification that computes the result and feeds it back to the model as evidence. Rules it can argue with, it argues with. Evidence it can't fake, it accepts. The takeaway: turn your soft rules into lint gates. The model will negotiate with a style guide. It won't negotiate with a failing build.
In the end i made pi extension to whack-a-mole Qwen into some actual results. mjasnikovs/pi-task
So my question is, what's the best way to feed facts to the model? Search works fine, but I bet we can do better.
Edited 17 Jul 2026. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 233 · 94% up
- Kind
- Text
- ID
- 1uyukbe
129 comments
One thing i discorvered later is the worse tool calling is because of a few bugs in the standard chat template.
On huggingface froggeric has some patched templates.
I use those and since that i have had almost no issues with tool calling for qwen 3.6 35b a3b q4km
Same, a recent update for LM Studio or cuda llama.cpp borked what I had done to the jinja templates. Froggeric's fixed Qwen's well for me and I switched to a 7/9 update from Google for Gemma 4, but I think they recently posted that they are working on even better templates for the Gemma 4 models so I think there's still some performance left on the table.
I want to saybyheybreleased the Gemma gix the last couple days. I could be remembering wrong.
Thanks for the tip! Are you able to share a link to where I can find these templates?
On hugging face direct link
I haven’t had any tool call issues either FWIW. The search tool has generally worked fine for me as well. I’m curious if it was a quant issue or a harness issue for OP.
> the worse tool calling
I suggest to give ornith-1 a try. it's build on top of gemma4 and qwen3.5 with a must better tool calling experience
https://github.com/deepreinforce-ai/Ornith-1
Good write up. This sub is lack of hands on detailed experience from ppl actually doing something.
Yea this was a fantastic write up, obviously real and not a AI response, actually helpful and somehow also enjoyable and made me smile as I read it.
Nice job OP!
You didn't share your quants - what versions are you running of each?
I updated post, see "EDIT" section.
i suggest you try Q8, there's a meaningful quality delta between 4 and 8
The HF link is dead. Even if it wasn't, it doesn't answer which quant.
I'm running Qwen3.6-35B-A3B-GGUF UD-Q8_K_XL on my Mac Studio M2 Ultra 64GB and it runs fine. I have an NVIDIA system running the same model with Q4 but the results are vastly inferior.
What exactly in Hermes didn't worked? We are using local Qwen with Hermes without major issues.
I think it gets overloaded with instructions. It cannot produce any meaningful tasks. Even basic tasks would cause hallucinations or loops instantly. I tried multiple times with a fresh setup. (I can't confirm this; it's just my experience.)
Sounds like quant and parameters issue. But generally, your experience is valid. Local models often require careful approach to produce meaningful results.
I had a similar experience, so I used Pi. I reinstalled hermes yesterday and linked it to my qwen3.6-27b model running on a framework(amd strix halo 128gb), I told it to draft a comprehensive gameplan for a personal project & then chipped away at it for 11 hours, with input from me only to begin the next sprint/phase
I’m using Qwen3.6 35b Unsloth IQ4_NL. I use it primarily with Hermes Agent. I’ve only had a couple instances of looping.
Ive found out this is typically related to parallel mode in Llama cpp and also some variants on huggingface. You use the frog chat script, set parallel to 1 and ubatch/batch to exactly 1024, use luckythefox 35b a3b hermes v2 apex. Everything is good now.
Hermes works flawlessly with the right builds of qwen and even works with dumb af Gemma.
I've had the same results but I've tried many different variants, always go back to unsloth UD Q4 at 120k context
Using on vllm int4 awq works awfully great, sonnet 4
Hermes works perfectly for me
Thanks for the write up about your Qwen findings!
I've found that Gemma-4-26B and 31B are champs with my long-horizon agentic work, especially so with the recently improved chat templates.
Gemma-4-31B chat template:
https://huggingface.co/google/gemma-4-31B-it/blob/main/chat_template.jinja
Gemma-4-26B-A4B chat template:
https://huggingface.co/google/gemma-4-26B-A4B-it/blob/main/chat_template.jinja
For llama.cpp, add the --chat-template-file parameter (I rename mine based on the model name):
llama-server -m gemma-4-31B-it-GGUF --chat-template-file gemma-4-26B_chat_template.jinja
-or-
llama-server -m gemma-4-26B-A4B-it-GGUF --chat-template-file gemma-4-26B_chat_template.jinja
LM Studio's run model dialogue has an advanced settings option where you can paste the model's chat template contents.
They're different? Whoops. I copy pasted the new 26b one to all my gemma4 models both 26b and 31b :P
Good catch! I change the chat_template file names because I use models from several different sources. However, in this case the two chat templates are the same for Gemma-4-31B and 26B-A4B.
"There are no differences between the two provided Jinja chat template files.
They are identical in every aspect, including:
The two blocks of code are perfect duplicates."
It looks like you have reasoning off in your gist example. Why have you done this? Isn't one way to make the smaller models smarter to allow them to burn tokens on thought?
It loops within its reasoning context. Generally, it confuses itself with:
But wait...
But wait...
Actually...
Actually...
I even tried compressing the reasoning, like patching it after it ends, to only return meaningful information (the final result). It did not help. It would fill the context and provide no factual value. Just running tests or linting would provide much more evidence to the model without consuming context.
Thats the Q4 quant in action.
It is essential if you have reasoning on that you also set reasoning-budget. I keep meaning to post about that because I never see it mentioned in any guides.
The budget prevents the “but wait” loops
Can confirm I have observed this with Qwen 3.6 35B Q4, I run 2x 4080Ti 16GB and Di get some good results other than when it gets into this confusion loop
GLM 5.2 and other frontier models do that too...
https://preview.redd.it/enqsbabgvsdh1.png?width=873&format=png&auto=webp&s=92402792a1a7960b0442694f76465e53f1f66c7c
With smaller models specifically I've learned that reasoning off is better for coding tasks. You use reasoning for research, log hunting, spec writing, but coding, just execute. If your spec is well defined and scope it'll tend to provide better results, vs reason its way away from the spec
Interesting, I will try turning it off and see how it goes, thanks, I have a little project to do this afternoon so give it a go without reasoning.
prompt processing: 1714.1 t/s peak, 673.7 t/s meantoken generation: 216.7 t/s peak, 90.6 t/s meanI've never seen those speeds in my runs of qwen. :(Nvfp4 variant. Unfortunately I don't have hardware that supports this. Ive tried a dflash variant and it gave me the speed and quality stayed about the same but broke the vision capabilities. I'm waiting on someone smarter than me to drop a dflash variant that preserves the vision capability
what would you need to take advantage of it? would an old 3090 work? been a Mac user for couple decades...thinking about buying an old NVIDIA card just for image/video generation
Tell us more about this Pi Task package?
Here it is if you are interested: https://github.com/mjasnikovs/pi-task
It is an agentic harness that tames Qwen, preventing it from going off the rails. On my setup, producing basic CRUD with an extremely detailed plan takes around 6+ hours.
It’s like a plugin for Pi?
I just tested it with glm 5.2 thinking high via llmgateway. Asked it to connect pi to telegram. Simple. It decided to create a docker image and connect it that way... Sure makes sense. It basically overwrite my existing docker yml and deleted my backup. Thanks...
If you run Agentic AI harnesses on your computer make sure it's a throwaway computer... Or use the free Docker sbx (sandbox)... Never trust an Agentic loop on any system that you have irreplaceable data on.
I've found that just adding the line "if this task is ambiguous tell me why" to the prompt heads off the endless loops because it gives the model an out if it gets stuck.
Have you tried RAG? It can be incredibly powerful with Obsidian, and you don't even need a long context window—just a well-indexed database
For a local vibe coding setup with Qwen, how would I go about setting something like this? Asking as a total newbie.
Just ask you agent to build a second brain using Karpathy's flow. Connect that to the Obsidian app.
You can look up and read about OKF—open knowledge framework. Google published an open source spec for this kind of thing in June, lot of orgs are adopting it/implementing on top of it. It’s basically.md files with yaml text at the top/in the frontmatter so that the agent can run sql-like search queries. Greatly reduces the amount of times an agent gets lost/misses files that are relevant to your question/task/whatever. It’s a useful starting point, and if you feed the OKF spec to an LLM it could initialize a repo for you to use with Obsidian. I did this with the models my company provides to help me with my daily work stuff, it’s been pretty helpful.
Look up llm-wiki skills
Start with fast models and see how much simple stuff they can do, try different runtimes and different quants, your Qwen don't have to do what some specialist model can do.
Set up a way to understand what any framework you use does behind the scenes and don't hand anything API keys without a way to audit anything they produce that works. If you have anything that might have old logs or old git repos make sure it doesn't leak into new projects.
Pick one Qwen or whatever is a common choice that still gives you at least 20ish token/s but stresses your hw. Anything inbetween can still turn out to be useful.
Instrument you runtime and whatever agent thing you run, see what happens when you prompt and what is slow. Have sanity checks that aren't controlled by yet another agent. Evaluate what you want them to do and how you orchestrate that. Often you can replace tasks with scripts and prevent some failures and unnecessary data gathering.
This is not related at all to the post
It help with the data cutoff problem
If it was they would have some benchmarks, why even do this for a month without some baseline? Yeah, if I have roughly the same hw I could evaluate that model but how did OP draw his conclusions? Maybe they just got better at promoting or at formulating tasks and had better tests.
Unless that's what they did by comparing to the models they used at the start, but it's super hard to tell how much of this is anecdotal or just better workflows and fixed bugs.
The problem with RAG is that you need to provide factual information that the model can consume but cannot produce. Just one piece of incorrect information ingested can cause it to spiral out of control. However, I agree that RAG would help; the challenge is how to automatically populate it with facts.
I would not look it at that way. I would be looking at it as what external data do I want in the context of my next prompt
“ capable at solving coding tasks ” could you give some examples of the extent it was able to solve and what degree
I think it can solve any problem if one provides valid information, a testable goal, and the context fits into the models. If one provides information on the level of "make me an awesome website," it’s not going to happen.
To have some credibility, I run Qwen in production. I give it a database schema and read only connection. It runs a ChatGPT-type interface and allows users to ask for internal data. It is not MCP! Qwen actually scaffolds SQL requests and executes them. Without proper joins, aggregation, etc., it would be impossible for AI to handle 100K lines of data.
Did you try building some RAG mcp tool that would allow you to index newer software and then be able to search on it?
Yes, I made a "docs" sub-agent that accepts requests in natural language.
Like
pi-worker-docs:u/hono/zod-validator "z validator function signature, how to use with Hono app.on…"It pulls TypeScript definition files and source code of packages, validates the request, then returns to the main context. Additionally caches in a local SQLite database for speed.
It's only for TypeScript/Node tho... But there is much more knowledge it needs...
Part of my issue with results like these (thank you OP for the effort put into attaining them, we do appreciate them!) is that testing "equivalent" Gemma models isn't an apples to apples comparison since, for the same hardware categories, you can run the QAT variants of Gemma 4 which gives Q8 level accuracy at the Q4 size, and we tend to have Gemma 4 Q4 compared with Qwen 3.6 Q4, and yes we definitely see Qwen outperform for most tasks there.
Even in that comparison we've found internally (we only have 2-3 of us actively testing and working with various machines testing across macOS, Linux and windows) that Gemma 4 models tend to "get" you a bit more conversationally. Just a touch easier to chat with, but their work output is generally lower quality and they can be kind of...lazy? We find using it as a planner or assistant to be helpful and useful though, and QAT really does help for coherency in those nuanced areas of conversation, which might be more the tech itself than the model to account for there, it's hard to say. Overall I wouldn't slander Gemma 4 models the way they have been relative to Qwen.
The qwen models are quirky and seem to fall into doubt loops more often; but again this could be a quant thing since we mainly test the Q4 variants of qwen. They need more harness and orchestration work than Gemma 4 models which feel just a bit more turnkey to get up and go for chatting.
When coding, Qwen 3.6 27B does seem to hallucinate non-existing API methods quite a lot, and then keeps providing pointless "solutions" that will definitely work "this time" until you get fed up with it and close the session.
I've had a lot more success with Gemma 4 31B. In my line of work, it seems to know a lot more than Qwen. It's also more articulated and it knows when to actually give up and admit it does not know the solution.
As FastHotEmu says, you didn't share your quants. Could you please share those?
Could you also share your coding setup - e.g. your programming language, your solution size, complexity of solution (e.g. is it a CRUD app or something more complex like a 50fps video game?) - I do suspect AIs in general are better at things like Python than they are C++ .
5070 Ti + 4070 Super = 28 GB
I added the settings and model in the "EDIT" section. I actually used Qwen to patch a bug in llama.cpp specific to my setup (parallel + ngram-mod). You should test it; I think (by vibes) it will generally be much better with stable programming languages that don’t have libraries with changing APIs every two weeks, like JavaScript. You just need to provide a clear way of testing the result so the model doesn’t rate its own work but is instead forced by actual hard facts that it can’t deny.
It'll be choked by the amount of analyzers I install!! haha
What is your context window? And can you translate your setup into usable RAM, please?
120k context, i found it as best middle ground for tasks i need.
Any setup require access to hardware, as different limits require finutuning. Least for llamacpp.
Maybe for Apple, one could find basic config, as they tend to have similar hardware.
For llamacpp i started on 3070ti with only 8GB of vram.
Something like https://huggingface.co/unsloth/Qwen3.6-35B-A3B-MTP-GGUF can run on such hardware at Q4.
First time I see someone thinking Qwen is better at European languages... What language did Gemma struggle with? I am using Gemma4 translations almost daily between major and minor EU languages, and it beats the shit out of the Qwens...
Fir text and language, I also found that Gemma 4 is much better than Qwen. Qwen is the way to go for technical and agentic tasks.
You have to set these local models up with something like context7 so they have up to date, accurate library/API information.
That's a great solution, but it kind of defeats the purpose of a local agent.
This has been my experience, repeatedly. Every time I decide to give it another shot and experiment with settings and stuff, I remember why it's a waste of time. Super fast, but that's only getting you from 0 to Fuck Up much faster.
Great write up. I went from being iffy about it to know having complex and comprehensive support documentation for my project. It is now capable of running a ticket from implementation all the way up to PR for me to look at fully automated. It has a 91% success rate at one shotting issues. My project is in C++ using third party libraries. I did have to generate my own documentation for the third party libraries from their HTML docs but once I did, its pretty good.
This was an awesome post, just saved me hours/days of time. Great work mate.
for fact feeding you can try https://github.com/Gentleman-Programming/engram and/or qmd
I found the same over the past 3 months. Qwen 3.6 27b best but slower 35b good for basic stuff like research Gemma4 was pretty useless but it has its use case and unsloth released a new version today, so revisit. Apparently good for writing.
I got my harness to write a book and then review a chapter. It said the chapter was A grade like you got. Gave it a better prompt ie you are a book editor etc. It dropped to 6/10.
Qwen is amazing 👏
My problem statement is , replacing perplexity subscription for web search and information gathering, and some little coding task, nothing major.
Do you know how to get that sorted, in a stable chat interface and not via wonky telegram chat interfaces
No. Local models still rank search results pretty badly. Without some kind of agent that can recheck and rerank the results, they'll usually just give a generic answer or give up.
What do you suggest? Are we really that far away from replacing perplexity / Google with self search?
I’m on 48GB ram system if that helps
any idea how i could run this model on mt 3080 with 10gb vram ? i've been looking for weeks and cant find anything that could fit...
You can run Qwen 3.6 3B at Q4. I was running it on a 3070 Ti, which has 8GB of VRAM. Just enable MTP and NGRAM-MOD. With such a tight VRAM budget, one should definitely use llama.cpp to offload the slowest part of the model to the GPU. The problem is that you will have to learn a lot about configuration and trial and error. I can't remember correctly, but I was running at 50 tokens per second, dropping down to 20 tokens per second at full context.
"definitely use llama.cpp" is this different from Ollama? i've just been using Ollama + ohmypi to code stuff, im new to this stuff
"Just enable MTP and NGRAM-MOD" where can I find these settings ? Do i have to make a model file ?