Short answer
As of October 2026, the two strongest coding models that fit on one home machine are Alibaba's Qwen3.8-27B and Meta's Muse Glimmer-30B, both under the permissive Apache 2.0 licence. In their usual 4-bit versions each is roughly an 18 GB download, so you need a graphics card with 24 GB of memory or a computer with plenty of unified memory, such as a recent Mac.
Follow-up question What hardware do you really need?
An open-weight model is one whose trained files you can download and run on your own hardware, with no account, no per-token bill and no code leaving your machine. For coding, that matters if you work on private code, travel without a reliable connection, or simply want to learn how these systems behave up close.
The catch is size. The models at the top of the coding leaderboards are hosted only, and the largest open releases need server racks. But a middle class of models, around 27 to 30 billion parameters (the numbers a model learns during training), now fits on a single good home machine and handles real coding tasks.
The two best picks this fall
| Qwen3.8-27B | Muse Glimmer-30B | |
|---|---|---|
| Maker | Alibaba's Qwen team | Meta |
| Released | August 2026 | August 2026 |
| Licence | Apache 2.0 | Apache 2.0 |
| Size | 27 billion parameters | About 29.6 billion parameters |
| Download in Ollama (4-bit) | 18 GB | 18 GB |
| Context it can read | 262,144 tokens natively | 131,072 tokens |
| Input | Text and images | Text and images |
| SWE-bench Pro (maker's figure) | 61.7% | 51.2% |
SWE-bench Pro is a test made of real bug fixes and features in open-source projects. Both figures come from the makers, and Qwen's card shows Qwen3.8-27B ahead of Glimmer on several coding tests; Qwen even lists it above an older Claude model, Opus 4.6, on that test. Treat those as promising signs, not proof, and check them on your own code.
Apache 2.0 is a permissive licence: you may use either model at work, change it and ship products with it, as long as you keep the licence notice.
Starting one with Ollama
Ollama is a free tool that downloads models and runs them on your computer behind a simple command. Once it is installed, two commands get you a working coding setup:
# Download (about 18 GB) and chat with Qwen3.8 27B
ollama run qwen3.8
# Or start a coding agent that uses the local model
ollama launch claude --model qwen3.8
The second line, shown on Ollama's model page, starts Claude Code with the local model in place of Anthropic's servers; the same page lists OpenCode as another option. Swap in muse-glimmer to try Meta's model instead. If you prefer llama.cpp for Glimmer, Meta's card notes that you need build b10353 or newer.
Then give it a task you can check:
Read src/cart.py and tests/test_cart.py. Add a function that applies a percentage discount to the cart total, rounding to two decimals. Write three tests for it, including a 0% and a 100% discount, run them, and show me the diff.Try it: Run the prompt above with Qwen3.8 and with Muse Glimmer on the same small project, and note which one passes its own tests first and how long each took on your machine.
Local models are slower than hosted ones and make more mistakes on long, multi-step work, so start with focused tasks: one function, one test file, one bug. Both models think before answering by default; Qwen lets you switch that off per request when you want quick replies.
What hardware do you really need?
The rule is simple: the model file has to fit in your graphics card's memory, or in the shared unified memory of an Apple-silicon Mac, with room left over for the conversation. That leftover room holds the context, the code and messages the model is reading, and long contexts take a lot of it.
| Your machine | What to expect |
|---|---|
| 16 GB of graphics or unified memory | Too small for these 18 GB builds; use a smaller model or a hosted one |
| Graphics card with 24 GB | The target for Meta's 16.8 GB Glimmer build; Qwen's 18 GB build fits with a modest context |
| Graphics card with 32 GB | Room for Meta's higher-quality 19.7 GB Glimmer build and longer contexts |
| Mac with ample unified memory | Ollama offers MLX builds for Apple silicon at the same 18 GB size |
| 64 GB or more | Enough for full-precision versions: Qwen's bf16 build is 56 GB |
The 4-bit builds store each parameter in about half a byte instead of two, which is how a 27-billion-parameter model shrinks to about 18 GB. Meta says its 4-bit Glimmer builds lose little or no accuracy on agent tasks; for Qwen, judge for yourself on your own tasks.
What will not fit at home are the giants. Meta's Muse Spark Open, for example, has 816 billion parameters, which even at half a byte each is roughly 400 GB of weights, a job for data-centre graphics cards. For those, a hosted API is the practical route.
If you are buying hardware for this, memory matters more than raw speed. A card or Mac with more memory runs bigger models and longer contexts; a faster chip with too little memory simply cannot load them.
Sources
- Qwen/Qwen3.8-27B — Qwen (Alibaba) on Hugging Face, August 5, 2026
- qwen3.8 - Ollama library — Ollama
- Muse Glimmer Model Card (meta-models/Muse-Glimmer-30B-GGUF) — Meta Superintelligence Lab (Hugging Face), August 12, 2026
Sources for the articles linked in the text
Each linked article has its own page, with its sources and its date.
- What is Qwen-7B, and why did Alibaba give its model away?
- Qwen-7B (official repository README) — Alibaba Cloud (QwenLM on GitHub), August 3, 2023
- Alibaba rolls out open-sourced AI model to take on Meta's Llama 2 — Reuters, August 3, 2023
- What is Claude, Anthropic's new AI assistant?
- Introducing Claude — Anthropic, March 14, 2023
- Google-backed Anthropic launches Claude, an AI chatbot that's easier to talk to — The Verge, March 14, 2023
- Constitutional AI: Harmlessness from AI Feedback — arXiv (Anthropic), December 15, 2022
- What is Ollama, and how does it let you run AI models on your own Mac?
- Ollama repository: README, models.json and website page (commit b43ddd8, 8 July 2023) — GitHub (jmorganca/ollama), July 8, 2023
- Ollama v0.0.1 release — GitHub (jmorganca/ollama), July 8, 2023
- Large language models are having their Stable Diffusion moment — Simon Willison's Weblog, March 11, 2023
- What are Claude 3.7 Sonnet and Claude Code, and what can they do?
- Claude 3.7 Sonnet and Claude Code — Anthropic, February 24, 2025
- Anthropic launches a new AI model that 'thinks' as long as you want — TechCrunch, February 24, 2025
- What is llama.cpp, and how can a large language model run on a laptop?
- llama.cpp README (commit 73c6ed5, 10 March 2023) — GitHub (Georgi Gerganov), March 10, 2023
- llama.cpp README (commit da1a4ff, 11 March 2023) — GitHub (Georgi Gerganov), March 11, 2023
From the Guide to Artificial Intelligence, by Robert Scales, published by Holistic Hybrid Inc. Share and adapt it under CC BY-NC-SA 4.0: credit the guide, link to https://guidetoartificialintelligence.com/en/learn/open-coding-models-run-at-home/, no commercial use without permission, and keep the same licence.