9 ms·
How to run Qwen 3.5 locally
- Twirrim 7mo agoI've been finding it very practical to run the 35B-A3B model on an 8GB RTX 3050, it's pretty responsive and doing a good job of the coding tasks I've thrown at it. I need to grab the freshly updated models, the older one seems to occasionally get stuck in a loop with tool use, which they suggest they've fixed.
- ufish235 7mo agoCan you give an example of some coding tasks? I had no idea local was that good.
- hooch 7mo agoChanged into a directory recently and fired up the qwen code CLI and gave it two prompts: "so what's this then?" - to which it had a good summary across stack and product, and then "think you can find something todo in the TODO?" - and while I was busy in Claude Code on another project, it neatly finished three HTML & CSS tasks - that I had been procrastinating on for weeks. This was a qwen3-coder-next 35B model on M4 Max with 64GB which seems to be 51GB size according to ollama. Have not yet tried the variants from the TFA.
- manmal 7mo ago3.5 seems to be better at coding than 3-coder-next, I’d check it out.
- Twirrim 7mo agoI've been using opencode pointing to the local model running llama.cpp. The last thing I was having it build is a rust based app that essentially pulls data from a set of APIs every 2 minutes, processes it and stores the data in a local database, with a half hourly task that does further analysis. It has done a decent job. It's definitely not as fast or as good as large online models, but it's fast enough and good enough, and using hardware I already had spare.
- NortySpock 7mo agoI personally have used Qwen2.5-coder:14B for "live, talking rubber duck" sorts of things. "I am learning Elixir, can you explain this code to me?" (And then I can also ask follow-up questions.) "Here is a bunch of logs. Given that the symptom is that the system fails to process a message, what log messages jump out as suspicious for dropping a message?" "Here is the code I want to test. <code> Here are the existing tests. <test code> What is one additional test you would add?" "I am learning Elixir. Here is some code that fails to compile, here is the error message, can you walk me through what I did wrong?" I haven't gotten much value out of "review this code", but maybe I'll have to try prompting for "persona: brief rude senior" as mentioned elsewhere.
- Twirrim 7mo ago3.5 is doing a good job of reviewing code, even without prompting it to be brief and/or rude.
- fragmede 7mo agoWhich models would that be?
- Twirrim 7mo agounsloth's quantized ones. They mention on the site that this links to that a couple of days ago they released updated freshly quantized versions of Qwen3.5-35B, 27B, 122B and 397B, with various improvements.
- fy20 7mo agoI guess you are doing offloading to system RAM? What tokens per second do you get? I've got an old gaming laptop with a RTX 3060, sounds like it could work well as a local inference server.
- manmal 7mo agoIn the article, they claim up to 25t/s for the LARGEST model with a 24GB VRAM card. Need a lot of RAM obviously
- Twirrim 7mo agoI'm getting about 15-20 tok/s with a 128k context window using the Q3_K_S version. For running the server: $ ./llama.cpp/build/bin/llama-server --host 0.0.0.0 \ --port 8001 \ -hf unsloth/Qwen3.5-35B-A3B-GGUF:Q3_K_S \ --ctx-size 131072 \ --temp 0.6 \ --top-p 0.95 \ --top-k 20 \ --min-p 0.00
- Curiositry 7mo agoQwen3.5 9b seems to be fairly competent at OCR and text formatting cleanup running in llama.cpp on CPU, albeit slow. However, I have compiled it umpteen ways and still haven't gotten GPU offloading working properly (which I had with Ollama), on an old 1650 Ti with 4GB VRAM (it tries to allocate too much memory).
- WhyNotHugo 7mo agoIf you’re building from source, the vulkan backend is the easiest to build and use for GPU offloading.
- Curiositry 7mo agoYes, that's what I tried first. Same issue with trying to allocate more memory than was available.
- acters 7mo agoI have a 1660ti and the cachyos + aur/llama.cpp-cuda package is working fine for me. With about 5.3 GB of usable memory, I find that the 35B model is by far the most capable one that performs just as fast as the 4B model that fits entirely on my GPU. I did try the 9B model and was surprisingly capable. However 35B still better in some of my own anecdotal test cases. Very happy with the improvement. However, I notice that qwen 3.5 is about half the speed of qwen 3
- lioeters 7mo ago> GPU offloading working I had this issue which in my case was solved by installing a newer driver. YMMV. sudo apt install nvidia-driver-570
- dunb 7mo agoAre you running with all the --fit options and it’s not working correctly? You could try looking at how many layers are being attempted to offload and manually adjust from there. Walk down --n-gpu-layers with a bash script until it loads.
- AllegedAlec 7mo ago
- moqizhengz 7mo agoRunning 3.5 9B on my ASUS 5070ti 16G with lm studio gives a stable ~100 tok/s. This outperforms the majority of online llm services and the actual quality of output matches the benchmark. This model is really something, first time ever having usable model on consumer-grade hardware.
- yangikan 7mo agoDo you point claude code to this? The orchestration seems to be very important.
- teaearlgraycold 7mo agoI loaded Qwen into LM Studio and then ran Oh My Pi. It automatically picked up the LM Studio API server. For some reason the 35B A3B model had issues with Oh My Pi's ability to pass a thinking parameter which caused it to crash. 27B did not have that issue for me but it's much slower. Here's how I got the 35B model to work: https://gist.github.com/danthedaniel/c1542c65469fb1caafabe1371e8ed445 https://gist.github.com/danthedaniel/c1542c65469fb1caafabe13... The 35B model is still pretty slow on my machine but it's cool to see it working.
- badgersnake 7mo agoI’ve tried it on Claude code, Found it to be fairly crap. It got stuck in a loop doing the wrong thing and would not be talked out of it. I’ve found this bug that would stop it compiling right after compiling it, that sort of thing. Also seemed to ignore fairly simple instructions in CLAUDE.md about building and running tests.
- tommyjepsen 7mo agoI ran the Qwen3 Coder 30B through LM Studio and with OpenCode(Instead of Claude code). Did decent on M4 Max 32GB. https://www.tommyjepsen.com/blog/run-llm-locally-for-coding https://www.tommyjepsen.com/blog/run-llm-locally-for-coding
- andsoitis 7mo agoI use Claude Code for agentic coding but it is better to use qwen3-coder in that case. It qwen3-coder is better for code generation and editing, strong at multi-file agentic tasks, and is purpose-built for coding workflows. In contrast, qwen3.5 is more capable at general reasoning, better at planning and architecture decisions, good balance of coding and thinking.
- sieste 7mo ago> you can use 'true' and 'false' interchangeably. made me laugh, especially in the context of LLMs.
- vvram 7mo agoWhat would be optimal HW configurations/systems recommended?
- speedgoose 7mo agoIt depends. Gaming PCs are fine for small models. Apple hardware can run much bigger models without having to open a window to cool down the room. If money isn’t an issue, NVIDIA isn’t that overpriced for no reasons and a server full of NVIDIA AI GPUs is neat.
- krasikra 7mo ago[dead]
- mingodad 7mo agoI'm still a bit confused because it says "All uploads use Unsloth Dynamic 2.0" but then when looking at the available options like for 4 bits there is: IQ4_XS 5.17 GB, Q4_K_S 5.39 GB, IQ4_NL 5.37 GB, Q4_0 5.38 GB, Q4_1 5.84 GB, Q4_K_M 5.68 GB, UD-Q4_K_XL 5.97 GB And no explanation for what they are and what tradeoffs they have, but in the turorial it explicitly used Q4_K_XL with llama.cpp . I'm using a macmini m4 16GB and so far my prefered model is Qwen3-4B-Instruct-2507-Q4_K_M although a bit chat but my test with Qwen3.5-4B-UD-Q4_K_XL shows it's a lot more chat, I'm basically using it in chat mode for basic man style questions. I understand that each user has it's own specific needs but would be nice to have a place that have a list of typical models/hardware listed with it's common config parameters and memory usage. Even on redit specific channels it's a bit of nightmare of loot of talk but no concrete config/usage clear examples. I'm floowing this topic heavilly for the last 3 months and I see more confusion than clarification. Right now I'm getting good cost/benefit results with the qwen cli with coder-model in the cloud and watching constantly to see when a local model on affordable hardware with enviroment firendly energy comsumption arrives.
- ay 7mo agoI tried qwen3.5:4b in ollama on my 4 year old Mac M1 with my own coding harness and it exhibited pretty decent tool calling, but it is a bit slow and seemed a little confused with the more complex tasks (also, I have it code rust, that might add complexity). The task was “find the debug that does X and make it conditional based on the whichever variable is controlled by the CLI ‘/debug foo’” - I didn’t do much with it after that. It may be interesting to try a 6bit quant of qwen3.5-35b-a3b - I had pretty good results with it running it on a single 4090 - for obvious reasons I didn’t try it on the old mac. I am using 8bit quant of qwen3.5-27b as more or less the main engine for the past ~week and am quite happy with it - but that requires more memory/gpu power. HTH.
- spwa4 7mo agoWhat matters for Qwen models, and most/all local MoE models (ie. where the performance is limited) is memory bandwidth. This goes for small models too. Here's the top Apple chips by memory bandwidth (and to steal from clickbait: Apple definitely does not want you to think too closely about this): M3 Ultra — 819 GB/s M2 Ultra — 800 GB/s M1 Ultra — 800 GB/s M5 Max (40-core GPU) — 610 GB/s M4 Max (16-core CPU / 40-core GPU) — 546 GB/s M4 Max (14-core CPU / 32-core GPU) — 410 GB/s M2 Max — 400 GB/s M3 Max (16-core CPU / 40-core GPU) — 400 GB/s M1 Max — 400 GB/s Or, just counting portable/macbook chips: M5 max (top model, 64/128G) M4 max (top model, 64/128G), M1 max (64G). Everything else is slower for local LLM inference. TLDR: An M1 max chip is faster than all M5 chips, with the sole exception of the 40-GPU-core M5 max, the top model, only available in 64 and 128G versions. An M5 pro, any M5 pro (or any M* pro, or M3/M2 max chip) will be slower than an M1 max on LLM inference, and any Ultra chip, even the M1 Ultra, will be faster than any max chip, including the M5 max (though you may want the M2 ultra for bfloat16 support, maybe. It doesn't matter much for quantized models)
- b89kim 7mo agoI’ve been benchmarking GGUF quants for Python tasks under some hardware configs. - 4090 : 27b-q4_k_m - A100: 27b-q6_k - 3*A100: 122b-a10b-q6_k_L Using the Qwen team's "thinking" presets, I found that non-agentic coding performance doesn't feel significant leap over unquantized GPT-OSS-120B. It shows some hallucination and repetition for mujoco codes with default presence penalty. 27b-q4_k_m with 4090 generates 30~35 tok/s in good quality.
- dryarzeg 7mo agoThat's quite a specific task for local models like these though (I mean mujoco), so it might be underrepresented in the training data or RL. I'm not sure if you will be able to see a significant leap in this direction in the next 0.5-2 years, although it's still possible.
- b89kim 7mo agoI’ve been testing these on other tasks—IK, Kalman filters, and UI/DB boilerplate. Qwen3.5 is multimodal and specialized for js/webdev or agentic coding. It’s not surprising MoE model have some limitations in specific area. I understand most LLM have limited ability in mathematical/physical reasoning. And I don't think these tasks represent general performance. I'm just sharing personal experiences for those curious.
- dryarzeg 7mo agoFor me, the main issue with all kinds of recent "advancements" in LLMs is their lack in ability to generalize and extrapolate existing knowledge; they often can be quite weak when it comes to complex associations. Because while many LLMs can demonstrate sufficient theoretical knowledge in maths and physics - and by "sufficient" I mean at least postgraduate level - they often simply fail to apply this knowledge in fields that are closer to real life. At least, that's what I've seen from my experience. They're fine with theory, but once it comes to application, it's all messed up - even in their main "specializations" such as web development or other software-related tasks. And that's... kinda disappointing for me and even makes me a bit sad. We have a powerful tool, but we can't use it's true potential either because we're using it in the wrong way or because it's architecture cannot support this true potential.
- KronisLV 7mo agoI had an annoying issue in a setup with two Nvidia L4 cards where trying to run the MoE versions to get decent performance just didn't work with Ollama, seems the same as these: https://github.com/ollama/ollama/issues/14419 https://github.com/ollama/ollama/issues/14419 https://github.com/ollama/ollama/issues/14503 https://github.com/ollama/ollama/issues/14503 So for now I'm back to Qwen 3 30B A3B, kind of a bummer, because the previous model is pretty fast but kinda dumb, even for simple tasks like on-prem code review!
- antirez 7mo agoMy private benchmarks, using DeepSeek replies to coding problems as a baseline, with Claude Opus as judge. However when reading this percentages consider that the no-think setup is much faster, and may be more practical for most situations. 1 │ DeepSeek API -- 100% 2 │ qwen3.5:35b-a3b-q8_0 (thinking) -- 92.5% 3 │ qwen3.5:35b-a3b-q4_K_M (thinking) -- 90.0% 4 │ qwen3.5:35b-a3b-q8_0 (no-think) -- 81.3% 5 │ qwen3.5:27b-q8_0 (thinking) -- 75.3% I expected the 27B dense model to score higher. Disclaimer: those numbers are from one-shot replies evaluations, the model was not put in a context where it could reiterate as an agent.
- throwdbaaway 7mo agoYours is the only benchmark that puts 35B A3B above 27B. Time for human judgement to verify? For example, if you look at the thinking traces, there might be logical inconsistencies in the prompts, which then tripped up the 27B more when reasoning. This will also be reflected in the score when thinking is disabled, but we can sort of debug with the thinking traces.
- antirez 7mo agoI inspected manually and indeed the 27B is doing worse, but I believe it could be due to the exact GGUF in the ollama repository and/or with the need of adjusting the parameters. I'll try more stuff.
- alansaber 7mo agoMaybe a reductive question but are there any thinking models that don't (relatively) add much latency?
- _qua 7mo agoFor roughly equivalent memory sizes, how does one choose between the bit depth and the model size?
- moffkalast 7mo agoAs a rule of thumb the larger the model is, the more you can quantize it without losing performance, but smaller models will run faster. It usually always makes sense to pick the larger model at a lower quant, as long as the speed is acceptable. Smaller models also use a smaller KV cache, so longer contexts are more viable. It really depends on what your use case is. Imo though, going below 4 bits for anything that's less than 70B is not worth the degradation. BF/FP16 and Q8 are usually indistinguishable except for vision encoders (mmproj) and for really small models, like under 2B.
- RandomGerm4n 7mo ago9b with 4bits runs with around 60 tok/s on my RTX 4070 with 12GB VRAM and 35b-A3B runs with around 14 tok/s and partial offloading. For roleplaying I prefer the faster 9b Version but for coding tasks both aren't really usable and Claude is still way better especially if you manage to persuade your employer to give you unlimited access.
- ac29 7mo ago> 35b-A3B runs with around 14 tok/s and partial offloading FYI, this is what I am seeing for pure CPU inference so something is likely off with your setup. Test setup is intel 13500 w/ 6 threads and 64GB DDR4 ram, a newer system should be much faster
- brainless 7mo agoLocal models, particularly the new ones would be really useful in many situations. They are not for general chat but if tools use them in specific agents, the results are awesome. I built https://github.com/brainless/dwata https://github.com/brainless/dwata to submit for Google Gemini Hackathon, and focused on an agent that would replace email content with regex to extract financial data. I used Gemini 3 Flash. After submitting to the contest, I kept working on branch: reverse-template-based-financial-data-extraction to use Ministral 3:3b. I moved away from regex detection to a reverse template generation. Like Jinja2 syntax but in reverse, from the source email. Financial data extraction now works OK ish and I am constantly improving this to aim for a launch soon. I will try with Qwen 3.5 Small, maybe 4b model. Both Ministral 3:3b and Qwen 3.5 Small:4b will fit on the smallest Mac Mini M4 or a RTX 3060 6GB (I have these devices). dwata should be able to process all sorts of financial data, transaction and meta-data (vendor, reference #), at a pretty nice speed. Keep it running a couple hours and you can go through 20K or 30K emails. All local!
- d4rkp4ttern 7mo agoFor every new interesting open model I try to test PP (prompt processing) and TG (token gen) speeds via llama-cpp/server in Claude Code (which can have at least 15-30K tokens context due system prompt and tools etc), on my good old M1 Max 64GB MacBook. With the latest llama-cpp build from source and latest unsloth quants, the TG speed of Qwen3.5-30B-A3B is around half of Qwen3-30B-A3B (with 33K tokens initial Claude Code context), so the older Qwen3 is much more usable. Qwen3-30B-A3B (Q4_K_M): - PP: 272 tok/s | TG: 25 tok/s @ 33k depth - KV cache: f16 - Cache reuse: follow-up delta processed in 0.4s Qwen3.5-35B-A3B (Q4_K_M): - PP: 395 tok/s | TG: 12 tok/s @ 33k depth - KV cache: q8_0 - Cache reuse: follow-up delta processed in 2.7s (requires --swa-full) Qwen3.5's sliding window attention uses significantly less RAM and delivers better response quality, but at 33k context depth it generates at half the tok/s of the standard-attention Qwen3-30B. Full llama-server and Claude-Code setup details here for these and other open LLMs: https://pchalasani.github.io/claude-code-tools/integrations/local-llms/#qwen35-35b-a3b--smart-general-purpose-moe https://pchalasani.github.io/claude-code-tools/integrations/...
- regularfry 7mo agoI definitely get the impression there's something not quite right with qwen3.5 in llama.cpp. It's impressive but just a bit off. A patch landed yesterday which helped though.
- ranger_danger 7mo agoWhich patch are you referring to?
- jadbox 7mo agoUsing llama.cpp and the 9b q4 xl model, it is on Thinking mode by default and runs without stopping. The only way to force it to stop is to set the thinking budget to -1. (Which is weird as the docs say 0 should be valid)
- xrd 7mo agoI wanted to submit a fix to the site as I couldn't compile llama.cpp without `sudo apt install nvidia-cuda-toolkit-gcc`. Anyone know where to do that?
- singpolyma3 7mo agoDoes anyone know what the quantization is with ollama models? They always just list parameter count. I'm also a bit unsure of the trade offs between smaller quant vs smaller model
- paoliniluis 7mo agorun ollama show <name_of_model>:<parameters> and you'll get the info. E.g. ollama show qwen3.5:0.8b Model architecture qwen35 parameters 873.44M context length 262144 embedding length 1024 quantization Q8_0 requires 0.17.1 Capabilities completion vision tools thinking Parameters presence_penalty 1.5 temperature 1 top_k 20 top_p 0.95 License Apache License Version 2.0, January 2004
- edg5000 7mo agoHow does 397B-A17B compare against frontier? Did anybody try? Probably needs serious HW that most people don't have.
- sosodev 7mo agoI’ve tried it via openrouter. It’s very good, but for some tasks frontier models are still significantly better. For me, the 122b model is good enough on my own hardware that the downsides can be worked around for the sake of privacy and cost savings.
- ilaksh 7mo agoAnyone providing hosted inference for 9B? I'm just trying to save the operational effort of renting a GPU since this is a business use case that doesn't have real GPUs available right now. I don't see the small ones on OpenRouter. Maybe there will be a runpod serverless or normal pod template or something. Also does 9b or 9b 8 bit or 6bit run with very low latency on a 4090?
- mongrelion 7mo agoBy anyone do you mean a well-established business or any entity willing to serve you?
- benbojangles 7mo agoI'm running Qwen3.5:0.8b locally on an Orangepi Zero 2w using llama.cpp, runs just fine on cpu only. If I want vulkan GPU I have run qwen3.5:2b locally on a meta quest 3 with zeroclaw and saved myself hundreds of $$$ buying a low power computer. I recommend people stop shopping around for inflated mac minis and look at getting a used android phone to load local models on.
- chr15m 7mo agoIt's also working in Ollama now. The 27B model is absolutely cracked on an RTX 3090. Feels close to frontier American models for writing code.
- kdmtctl 7mo agoWill it run on an old 4xV100 Tesla rig? Looking something to start with, this can be available, but too inexperienced to understand all fp* nuances.
- Western0 7mo ago1. how creating image on small 7-12B LLM 2. how creating a voice 3. how earning bilion dolars in 2 week?
- bradley13 7mo agoI have it running locally, but speed is a problem. I have the 35GB model running on a PC with 64GB, a fairly new processor and a mid-level GPU. Ask a question, go drink a coffee. I mean, it's great that so many models are open-source and readily available. That is hugely important. Running models locally protects your data. But speed is a problem, and likely to remain a problem for the foreseeable future.
- PeterStuer 7mo agoI am running both Qwen-coder-next and Qwen 3.5 locally. Not too bad, but I always have Opus 4.6 checking their output as the Qwen family tends to hallucinate non existing library features in amounts similar to the Claude 3.5 / GPT 4 era. The combo of free long running tasks on Qwen overnight with steering and corrections from Opus works for me. I guess I could just do Opus/Sonnet for my Claude Code back-end, but I specifically want to keep local open weights models in the loop just in case the hosted models decide to quit on e.g. non-US users.
- brcmthrowaway 7mo agoHow did they solve the hallucination? Reasoning tokens?
- gwangee 7mo agoQwen 3.5 is a really good local model. I'm using it with personal assistant(https://github.com/daegwang/atombot https://github.com/daegwang/atombot) every day!
- tasuki 7mo agoHow does one choose between "fewer parameters and less quantization" vs "more parameters and more quantization" ?
- paoliniluis 7mo agojust finding the perfect spot between accuracy of the answers/available VRAM/tokens per second
- tasuki 7mo agoOk, say I have 14GB VRAM. What is the tradeoff between using 9B with 8-bit params vs 27B with 3-bit params?
- causal 7mo ago3-bit 27B will almost certainly be better. 4-bits is usually the limit below-which you start to see more steep drop-offs, but you also get diminishing returns above 6-bits. So I'd still rather pack in more params at 3-bits. 9B will be faster, however.
- causal 7mo agoYou COULD even do Qwen3.5-35B-A3B-GGUF. UD-IQ3-XXS is only 13.1GB, which might outperform both in both intelligence and certainly speed (only 3B activated): https://huggingface.co/unsloth/Qwen3.5-35B-A3B-GGUF https://huggingface.co/unsloth/Qwen3.5-35B-A3B-GGUF To accommodate cache you will need to offload a few feed-forward layers to the CPU. Will still be quite fast. Edit: Actually 27B does a little better than 35B on most benchmarks- 35B will still be much faster.
- andai 7mo agoSee also: https://unsloth.ai/docs/models/qwen3.5/gguf-benchmarks https://unsloth.ai/docs/models/qwen3.5/gguf-benchmarks
- labcomputer 7mo agoThere were some benchmarks a few years ago from, IIRC, the people behind either llama.cpp or Ollama (I forget which). The basic rule of thumb is that more parameters is always better, with diminishing returns as you get down to 2-3 bits per parameter. This is purely based on model quality, not inference speed.
- segmondy 7mo agoIt's truly an amazing model from the small models all the way to 397B. I wish they had released one as a FIM model.
- aplomb1026 7mo ago[flagged]
- lasgawe 7mo agoa clear guide. thanks for that.
- veritascap 7mo agoHow does scaffolding work with these local models? Skills, commands, rules, etc. do they all work similarly? (It’s probably obvious but I haven’t delved into local LLMs yet.)
- rurban 7mo agoWe did run it locally on a free H100, and it performed awfully. With vLLM and opencode. Now we are running gpt-oss-120b which is better, but still far behind opus 4.6, the only coding model which is better than our most experienced senior dev. gpt-5.3-codex is more like on the sonnet level on complicated C code. Bearable, but still many stupidities. gpt-oss is hilariously stupid, but might work for typescript, react, python simple tasks. For vision qwen is the best, our goto vision model.
- reissbaker 7mo agoHow does it compare at vision tasks to Kimi K2.5?
- adsharma 7mo agoSo many variants of these models. The ggufs from unsloth don't work with ollama. Perhaps wait for a bit for the latest llama.cpp to be picked up by downstream projects. If you're on a 16GB Mac mini, what's a good variant to run?
- jedisct1 7mo agoQwen3.5-27B works amazingly well with https://swival.dev https://swival.dev now that the unsloth quants have fixed the tool calling issues. I still like and mainly use Qwen3-Coder-Next, though, as it seems to be generally more reliable.
- latrine5526 7mo agoI have a 5090d and got ~140 token/s output when running qwen-3.5-9b-heretic in lmstudio. I disabled the thinking and configured the translate plugin on my browser to use the lmstudio API. It performs way better than Google Translate in accuracy. The speed is a little slower, but sufficient for me.
- devonkelley 7mo ago[dead]
- disqard 7mo agoThank you for articulating this point! I've tried self-hosting, but found it underwhelming at the second category.
- computerex 7mo agoYou can use my new golang inference engine to run variants of Qwen 3.5 faster than llama.cpp: https://github.com/computerex/dlgo https://github.com/computerex/dlgo