Skip to content
ReviewRamble

The weekly brief

AI, reviewed, in your inbox.

  • New reviews of tools, models, MCP servers and repos, with the verdict up front
  • Re-checked prices and ratings when something changes
  • New analysis pieces as they are published

Models, agents, MCP servers and the tools actually worth your time.

One email a week. Unsubscribe with the link in any brief. How we use your email

Analysis Open Source Gems

Qwen vs DeepSeek vs Llama for Local Coding: Pick by Memory, Not by Family

Share this page:XLinkedInFacebookRedditWhatsAppEmail

By ReviewRamble editors ·

Quick verdict

For most people with one decent GPU or a 32 GB Mac, Qwen3.8-27B is the local coding model to try first. DeepSeek-V4.1-Flash is the stronger coder, but its full checkpoint is around 765 GB, so at home it means either a cut-down build on a 128 GB workstation or paying for the API. Llama 4 is the one to skip for new coding work: Meta has moved on to its Muse models and stopped releasing Llama.

Screenshot of the Qwen3.8-27B website
Qwen3.8-27B, official site

The bigger point is that "Qwen or DeepSeek or Llama" is the wrong question. Each name covers models from a few billion parameters to several hundred billion. Compare the specific checkpoints that fit your memory, and test them on your own code.

The three at a glance

Qwen3.8-27BDeepSeek-V4.1-FlashLlama 4 Scout
Our rating4.54.23.2
DesignDense, 27B parametersMixture of experts, 763B in total, about 8B active per token when readingMixture of experts, 109B in total, 17B active
LicenceApache 2.0MITLlama 4 Community License (not open source)
Weights at 4-bitAbout 16.5 GBNo practical 4-bit home build; a code-focused 2-bit build is 72.1 GB plus a 110.6 GB lookup file on SSDAbout 58 to 65 GB
Realistic home machine24 GB GPU, or a 32 GB Mac128 GB unified-memory workstation with a fast SSDOne 80 GB GPU
Still updatedYes, Qwen ships regularlyYes, last update October 2026No, Meta has released no Llama model since April 2025

Start with memory, because it decides everything

A model's weights take roughly its parameter count times the bits per parameter, divided by eight. A 27B model at 4 bits is about 14 GB in theory; the popular Q4_K_M build of Qwen3.8-27B is 16.6 GB because some layers stay at higher precision. On top of that comes the KV cache, which grows with every token of context, plus the runtime itself, your operating system and whatever editor and browser you have open.

On a Mac this bites harder, because the GPU and everything else share one pool of unified memory. A model that leaves 2 GB free will load, then slow to a crawl as macOS starts swapping. As a working rule, leave at least a quarter of your memory free after the weights are loaded, and more if you want long context for a whole repository.

Qwen3.8-27B: the sensible default

Qwen3.8-27B is a dense model, so every one of its 27 billion parameters works on every token. That makes it slower per token than a mixture-of-experts model of similar size, but it also means the 16.5 GB 4-bit build is the whole model: no expert files on disk, no surprises. It reads images as well as text, handles 262,144 tokens of context natively, and its weights are Apache 2.0, so commercial use needs nobody's permission.

Alibaba's own table gives it 61.7 on SWE-bench Pro and 42.2 on DeepSWE 1.1, a big step from Qwen3.6-27B's 13.3 on the latter. Alibaba ran those tests itself, mostly inside the Claude Code harness, so treat them as a direction rather than a ranking.

The more useful evidence comes from people running it. One user on the model's Hugging Face page ran it through Ollama behind OpenCode on a 32 GB Mac mini, on 11 small coding-agent tasks including planted prompt injections and a wrong test. It passed 10, the same score Claude Code got with Sonnet 5.5 and Opus 5.5, but its median time per task was 104 seconds against 7.9 and 10.2. That is the honest trade: close to frontier results on small jobs, at roughly ten times the wait.

Screenshot of the OpenCode website
OpenCode, official site

Two rough edges are reported in the same discussions. With thinking switched off, some users see endless tool-call loops on harder tasks, and the model card itself warns that lower reasoning effort causes more failed attempts in agent loops. One user also reported the 4-bit build crashing on the second message in LM Studio on a 48 GB MacBook Pro. Keep thinking on for agent work, and try Ollama or llama.cpp if one runtime misbehaves.

Screenshot of the Ollama website
Ollama, official site

DeepSeek-V4.1-Flash: the stronger coder, mostly through the API

DeepSeek-V4.1-Flash is built for agentic coding. DeepSeek reports 77.0% on DeepSWE v1.1 for the October update, above the 74.0% it lists for Anthropic's Opus 5 in the same table, though those are DeepSeek's own runs and we have seen no independent replication.

Being a mixture of experts helps speed, not storage. Only about 8 billion parameters work on each token it reads, but all 763 billion still have to live somewhere, and the published checkpoint is about 765 GB. That is more than an eight-way H100 server holds.

There is one route to a desk. ISTA-DASLab's Coder GGUF build deletes half the experts and squeezes the rest to about 2 bits: a 72.1 GB model in fast memory, plus a 110.6 GB lookup table read from SSD. The lab says it keeps 94.8% of the full model's SWE-bench score, and Strata's release notes measure about 20 to 22 tokens a second on a 128 GB Ryzen AI Max or an Apple M5 Max. The price is everything that is not code: its English prose and non-English output drop sharply, and the lab itself calls the release experimental.

For most teams the API is the realistic way to use it, at $0.15 per million input tokens off-peak. Weigh that against DeepSeek's privacy policy, which says data is stored in China and may be used for training unless you opt out. If that rules it out, self-hosting the full model is a data-centre project, not a laptop one.

Llama 4: a large ecosystem behind a finished line

Llama made local AI mainstream, and its tooling is everywhere. But for coding in December 2026 the family has little to offer. Llama 4 Scout has 109 billion parameters, needs about 58 to 65 GB at 4-bit, and was a mid-sized model by 2025 standards; independent tests found its advertised 10-million-token context falls apart well before that. Maverick is larger still. Meta has released no Llama model since April 2025 and has moved to its Muse models, so neither will improve.

The licence is also stricter than Qwen's or DeepSeek's: the Llama 4 Community License is not open source and carries naming and usage conditions. The case for Llama today is an existing pipeline already built around it, not a new coding setup.

What fits your machine

Memory you haveWhat to runExpect
16 GB GPU or 16 GB Macgpt-oss-20b or Gemma 4 26B A4B at 4-bit (14.4 GB)Fast answers, fine for explanations and single-file edits; weaker on multi-file changes
24 GB GPU or 32 GB MacQwen3.8-27B at 4-bitThe best balance today; slow but capable as an agent's model
48 to 64 GBQwen3.8-27B at 8-bit (29 GB) with long contextFewer quantisation errors and room for a whole small repository
128 GB unified memory and a fast NVMe driveDeepSeek-V4.1-Flash Coder GGUFStronger coding, around 20 tokens a second, poor prose
A server or a budgetDeepSeek or Qwen through an APIThe best results for the money, if your code may leave the building
Screenshot of the gpt-oss-20b website
gpt-oss-20b, official site

How to test them on your own code

Benchmarks tell you which model is worth downloading, not which one suits your repository. An afternoon of testing settles it.

  • Give every model the same tasks. Pick three real jobs: a small feature with tests, a genuine bug with its stack trace, and an "explain how this module fits together" question. Use identical wording for each.
  • Run the code. A model that writes tidy code which fails its tests has failed. Count passing tests, not impressions.
  • Test inside the agent you will actually use. The same model behaves differently in OpenCode, Cline or a plain chat.
  • Note the quantisation, the runtime, time to first token, tokens per second and whether your machine started swapping. A model that freezes your editor is not usable, however clever it is.
  • Include one trap: a test that is itself wrong, or an instruction hidden in a file, shows whether the model checks or just complies.

Our take

A smaller model inside a good loop, one that reads the right files, runs the tests and gets its work reviewed, beats a bigger model you can barely load. Start with Qwen3.8-27B if it fits, put DeepSeek behind an API for the hard problems if your data allows it, and leave Llama to the projects already built on it.

The ReviewRamble brief

AI, reviewed. Once a week, in your inbox.

The verdicts that matter across AI, robotics and tech, with what to use and what to skip. No hype, no digest of everything.

Models, agents, MCP servers and the tools actually worth your time.

One email a week. Unsubscribe with the link in any brief. How we use your email