DevPik Logo
qwenlocal-llmopen-sourceai-codingself-hostingdeveloper-toolsllmollama

Qwen 3.8 27B: The Best Local LLM for Coding Yet?

A 27B dense multimodal model that fits on a gaming GPU, scores 61.7% on SWE-Bench Pro, and ships under Apache 2.0. The verified numbers, the hardware you need, and where the hype outruns the evidence.

ByMuhammad TayyabPublished:11 min read
Back to Blog
Qwen 3.8 27B: The Best Local LLM for Coding Yet?

The short answer

Qwen3.8-27B is, right now, the strongest local LLM for coding that most people can actually run. Not the strongest open model in absolute terms — that title belongs to models you cannot fit on a consumer GPU — but the best combination of capability and hardware reality available today.

The specifics that matter:

  • 27.78B dense parameters, natively multimodal, Apache 2.0 licensed
  • Runs in ~17 GB as a 4-bit quant — fits a 24 GB card with room for context
  • 262,144-token native context, extendable to 1M via YaRN
  • Released August 14, 2026, weights on Hugging Face day one

The catch, and there is one: "runs locally" and "matches a frontier model" are two different claims, and only the first is verifiable. This guide covers what the benchmarks actually say, exactly what hardware you need, and where the enthusiasm outruns the evidence.

What Alibaba released

Two models, same generation, very different audiences.

Qwen3.8-27B is the one that matters for local use. It is a dense 27.78-billion-parameter model — not a mixture-of-experts — which is precisely why it runs on consumer hardware. It is natively multimodal, tagged Image-Text-to-Text on Hugging Face, so it reasons over screenshots, charts, and UI mockups rather than text alone. Apache 2.0 means you can download it, run it, fine-tune it, and ship products on it with no licensing conversation.

Qwen3.8-2.4T-A95B is the Max-class sibling: 2.4 trillion parameters with 95B active, which Unsloth describes as rivalling GPT-5.6 Sol. Also open-weight. Also completely impractical locally — full-precision storage alone runs to 4.9 TB.

The dense-versus-MoE distinction is the whole story of why the 27B is interesting. A 27B dense model has predictable memory behaviour and quantizes cleanly. That is what makes a frontier-adjacent model fit on a gaming GPU.

Community uptake was immediate — 91,917 downloads in the first month on the Hugging Face repo alone.

The benchmarks, honestly

Qwen's published results for the 27B at release:

BenchmarkQwen3.8-27B
SWE-Bench Pro61.7%
QwenSWEBench79.0%
DeepSWE 1.142.2%

Alibaba's headline claim is that the 27B outperforms Qwen3.7-Plus overall while being dramatically smaller, with particular strength in real-world coding, agentic workflows, and office tasks.

61.7% on SWE-Bench Pro from a 27B model is a genuinely strong result — this is a benchmark where models an order of magnitude larger were scoring lower not long ago.

Now the part worth being careful about. You will see this model described as "Opus-level locally" or "basically frontier performance for free". Treat that as enthusiasm, not measurement. The DeepSWE 1.1 score of 42.2% is the useful reality check: GLM 5.3 scores 66.9 on the same benchmark and DeepSeek V4 Flash scores 54.4. Both are far larger models you cannot run locally, and both are well ahead.

The accurate framing is: exceptional for 27B parameters, competitive with models several times its size, and not equivalent to the closed frontier. That is still a remarkable thing to have running on your own GPU for free.

Hardware — what you actually need

This is the section that decides whether the model is relevant to you.

Unsloth's Qwen3.8 guide, confirming the 27B runs locally in 17GB of RAM or VRAM
Unsloth's Qwen3.8 guide, confirming the 27B runs locally in 17GB of RAM or VRAM
SetupFeasible?Notes
24 GB VRAM (RTX 4090/3090)✅ Yes4-bit quant lands at 14–17 GB. The mainstream Q4_K_M is 16.8 GB. Comfortable.
32 GB VRAM/RAM✅ ComfortableRoom for longer context without renegotiating settings
48–64 GB✅ IdealHigher quants, full context, no compromises
16 GB⚠️ TightSmaller quants only, quality drops noticeably
Apple Silicon, 24 GB+ unified✅ Yes4-bit GGUF works well through llama.cpp, LM Studio or Ollama
Under 16 GB❌ PainfulSpilling into system RAM drops throughput to a few tokens/sec

Two things people forget:

Budget for KV cache. Add 1–3 GB on top of the weights at everyday context lengths, and it scales with context. A model that fits at 4K context may not fit at 128K.

NVFP4 beats GGUF on Blackwell. If you have a 50-series card, the NVFP4 build is substantially faster than an ordinary GGUF quant. On older hardware the GGUF is the practical download.

If you are shopping for hardware specifically: 24 GB VRAM is the threshold that makes this model comfortable, and that is the cheapest entry to genuinely capable local coding today.

How to run it

Three routes, in order of how little you need to know.

Ollama — the fastest path. One pull and it serves an OpenAI-compatible API on port 11434, so any tool that speaks that dialect can drive it.

Qwen3.8 in the Ollama model library
Qwen3.8 in the Ollama model library

LM Studio — best if you want to compare quants before committing. Its catalog shows which files fit your actual system memory, which saves the download-then-discover cycle. Our LM Studio vs Ollama comparison covers which fits your workflow — short version, LM Studio to pick the quant, Ollama to serve it.

llama.cpp or Unsloth — most control. Unsloth ships Dynamic V3.0 quants with day-zero support, plus Developer Role Support for agentic tools like Codex, MTP for faster inference, and improved nested-object tool-call parsing. If you are driving this from a coding agent, those matter.

Pointing a coding agent at it is where a local model stops being a toy — our Codex + Ollama guide walks the configuration, including the wire_api setting that silently breaks setups.

For hosted use without the hardware, Qwen Cloud is preparing a managed Qwen3.8-27B with 1M context by default and built-in tools. It was listed as coming soon at the time of writing.

Is it really "Opus locally"?

No, and the claim does the model a disservice by setting up a comparison it cannot win.

Here is what is actually true, and it is impressive enough:

What Qwen3.8-27B genuinely delivers. Frontier-adjacent coding on hardware you already own, at zero marginal cost per prompt, with no data leaving your machine, under a licence that permits commercial use and fine-tuning. Multimodal input means you can hand it a screenshot and get a layout back. That combination did not exist locally a year ago.

What it does not. It trails larger open models substantially on agentic benchmarks — 42.2 on DeepSWE 1.1 against GLM 5.3's 66.9 is not a rounding error. Long multi-step agent runs are where the gap shows, because that is where a smaller model's errors compound.

Where the "Opus-level" impression comes from is one-shot generation tasks — build me a landing page, build me a game in Three.js. On those, a 27B model with good post-training genuinely can produce output that looks frontier-class, because the task fits in a single pass and does not stress long-horizon planning. That is a real capability and it is also the most flattering possible test.

The practical read: use it as your default for local work, and keep an API key for the hardest 10–20% of tasks. That is the same conclusion we reached about running open models through Codex and Ollama, and it has not changed.

How it compares to other local coding models

ModelParamsRuns on 24 GB?Notes
Qwen3.8-27B27.78B dense✅ YesMultimodal, Apache 2.0, best all-round local pick
DeepSeek V4 Flash284B❌ No (166.9 GB)Stronger, but hosted or serious hardware only
GLM 5.3743B❌ NoWeights pending; far beyond consumer hardware
Kimi K3Very large❌ NoOpen-weights leader, not a local option
Qwen3.8-2.4T-A95B2.4T (95B active)❌ No4.9 TB at full precision

The pattern is clear once you lay it out: the models that beat Qwen3.8-27B are all models you cannot run. Among things that actually fit on consumer hardware, it does not currently have a serious rival — dense architecture, clean quantization, multimodal input, and a permissive licence is a combination nothing else in that size class matches.

That is why "best local LLM for coding" is a defensible claim even though "Opus-level" is not.

Verdict, and sources

Download it if you have 24 GB of VRAM or unified memory, want capable coding assistance with no per-token cost, care about code never leaving your machine, or need a model you can legally fine-tune and ship on.

Skip it if you have under 16 GB (the experience will frustrate you), you need the last few points of capability on hard multi-step agent work, or your workflow depends on the very long autonomous runs where larger models still win.

The broader significance is the size class, not the scores. A 27B dense model that handles vision, holds 262K tokens of context, does credible agentic coding, and fits on a gaming GPU under Apache 2.0 is a meaningful shift in what "local AI" means. Twelve months ago the local option was a clear compromise. It now costs you the top 10–20% of hard tasks, and nothing else.

Sources

Verified against Qwen's own model card and Unsloth's guide on August 15, 2026. Benchmark figures are vendor-published; independent evaluations will follow. Quantized file sizes vary by build — check the specific GGUF before downloading.

Frequently Asked Questions

What is the best local LLM for coding?
For hardware most people own, Qwen3.8-27B is currently the strongest option. It is a 27.78B dense, natively multimodal model under Apache 2.0 that runs in about 17GB as a 4-bit quant, fitting comfortably on a 24GB GPU, and scores 61.7% on SWE-Bench Pro. Larger open models like DeepSeek V4 Flash and GLM 5.3 outperform it, but neither runs on consumer hardware — DeepSeek V4 Flash alone is 166.9GB. Among models that genuinely fit on a gaming GPU or Apple Silicon Mac, Qwen3.8-27B has no serious rival right now.
How much VRAM does Qwen 3.8 27B need?
About 17GB for the mainstream 4-bit quant — Q4_K_M measures 16.8GB, and 4-bit builds generally land between 14 and 17GB. A 24GB card such as an RTX 4090 or 3090 runs it comfortably. Add 1–3GB on top for KV cache at everyday context lengths, scaling upward as context grows, so a model that fits at 4K may not fit at 128K. 32GB gives breathing room, and 48–64GB lets you run higher quants at full context without compromise.
Can Qwen 3.8 27B run on a Mac?
Yes, on Apple Silicon with roughly 24GB or more of unified memory. A 4-bit GGUF build runs well through llama.cpp, LM Studio, or Ollama. LM Studio is often the better choice on Mac because it defaults to MLX-format models where available, which use Apple's unified memory more efficiently than GGUF. With 16GB you can technically load a smaller quant, but quality degrades and you will be tight on context.
Is Qwen 3.8 27B free?
Yes. The weights are published on Hugging Face under the Apache 2.0 licence, which is genuinely permissive — you can download, run, modify, fine-tune, redistribute, and use it commercially with no separate agreement or fee. Running it locally costs only your own electricity and hardware. Alibaba is also preparing a hosted Qwen Cloud version with 1M context by default, which will be paid, but the self-hosted route has no cost attached.
Is Qwen 3.8 27B as good as Claude Opus?
No. That claim circulates but the benchmarks do not support it. Qwen3.8-27B scores 42.2% on DeepSWE 1.1, against 66.9 for GLM 5.3 and 54.4 for DeepSeek V4 Flash — both open models substantially larger than it, and both well ahead. Where the impression comes from is one-shot generation tasks like building a landing page or a Three.js scene, where a well-post-trained 27B can produce output that looks frontier-class because the task fits in a single pass. On long multi-step agent work, the gap is real and visible.
How do I run Qwen 3.8 27B locally?
The simplest route is Ollama — pull the model and it serves an OpenAI-compatible API on port 11434 that any compatible tool can drive. LM Studio is better if you want to compare quantizations first, since its catalog shows which files fit your actual system memory before you download. For maximum control, llama.cpp or Unsloth's Dynamic V3.0 quants work well, and Unsloth adds Developer Role Support for agentic tools like Codex plus improved tool-call parsing. On Blackwell GPUs, the NVFP4 build is notably faster than a standard GGUF.
Does Qwen 3.8 27B support images?
Yes. It is natively multimodal, tagged Image-Text-to-Text on Hugging Face, meaning it accepts images alongside text and returns text. Practically, you can feed it screenshots, charts, or UI mockups and have it reason over them — for example handing it a design screenshot and asking for the layout implementation. This is unusual for a model in this size class and is one of the clearer advantages over text-only local alternatives like GLM 5.3, which has no vision capability at all.
What is the difference between Qwen3.8-27B and Qwen3.8-2.4T-A95B?
Size and practicality. Qwen3.8-27B is a 27.78B dense model designed to run on consumer hardware — around 17GB as a 4-bit quant. Qwen3.8-2.4T-A95B is the Max-class mixture-of-experts model with 2.4 trillion total parameters and 95B active, which Unsloth describes as rivalling GPT-5.6 Sol. Both are open-weight, but the 2.4T model requires roughly 4.9TB of storage at full precision and is aimed at datacentre deployment. If you want something to run yourself, the 27B is the only realistic choice of the two.
Muhammad Tayyab

Written by

Muhammad Tayyab

CEO & Founder at Mergemain

Muhammad Tayyab builds free, privacy-first developer tools at DevPik. He writes about AI trends, developer tools, and web technologies.

More Articles