# Atlas with Qwen3-Coder 30B (local via Ollama): the Default Local Setup in 2026

> Qwen3-Coder 30B runs 30B total parameters with just 3.3B activated per token, giving a 256K context on a 19GB local download for free.

Qwen3-Coder 30B (local via Ollama) is the default local coding model for Atlas. It is a 30B mixture-of-experts with only 3.3B active parameters, a 256K token context window, and a 19GB download, running entirely on your machine at no per-token cost. Inside Atlas it is the strongest all-round choice for developers who want real agentic coding without sending code to any API, and its honest limit is that it sits clearly behind frontier models on hard multi-file refactors.

## Key takeaways

- Qwen3-Coder 30B has 30B total parameters with just 3.3B activated per token, so it runs at roughly 3B-model speed while reasoning at 30B-model quality.
- The 19GB Q4_K_M download fits a 24GB GPU or a 32GB Apple Silicon machine.
- The context window is 256K tokens natively, extendable to 1M via extrapolation.
- Pricing is free, self-hosted, and pairing it with `ollama` embeddings keeps code and vectors on the machine.
- It is clearly behind Claude Opus 4.8 and GPT-5.6 on hard multi-file refactors, and the 480B variant that closes the gap needs roughly 250GB of memory.

## What makes Qwen3-Coder 30B the default local model for Atlas?

Qwen3-Coder 30B is the default local coding model for Atlas because of its parameter shape: 30B total parameters with just 3.3B activated per token, so it runs at roughly 3B-model speed while reasoning at 30B-model quality. Pricing is free, self-hosted, via `ollama pull qwen3-coder:30b`.

Local models usually force a choice between speed and capability. The mixture-of-experts design in Qwen3-Coder 30B avoids that trade by activating only 3.3B of its 30B parameters on any given token. In practice, that means an Atlas TUI session stays responsive on consumer hardware while the model still handles multi-step agent work. Atlas fans out work to subagents that can run in the foreground or in parallel background sessions, and the low active-parameter count is what makes running several local turns at once realistic rather than theoretical.

## How much VRAM does Qwen3-Coder 30B need to run locally?

Qwen3-Coder 30B needs enough memory for a 19GB Q4_K_M download, which fits a 24GB GPU or a 32GB Apple Silicon machine. That 19GB footprint buys a 256K native context window, which is unusually large for a model that runs on a single consumer card.

The hardware math for Qwen3-Coder 30B is the whole reason it is the default. A 24GB GPU is the top of the consumer tier, and a 32GB Apple Silicon machine is a common developer laptop. Both host the 19GB Q4_K_M quantization comfortably. Verify the machine is ready with `atlas device`, which reports whether Ollama and a GPU were detected, then confirm Atlas can see the model with `atlas models ollama`. If neither check passes, the model will fall back to painfully slow CPU inference and the Atlas session will feel unusable.

## Is a 256K context window enough for Atlas codebase search?

A 256K token context window is enough for most Atlas codebase-search work, and Qwen3-Coder 30B provides exactly that natively, extendable to 1M via extrapolation. Atlas searches code with hybrid semantic and keyword retrieval fused by reciprocal rank fusion, so retrieved results are dense rather than padded.

Context budget is where most local models fail an agent harness. Qwen3-Coder 30B's 256K native window absorbs a large retrieval result set, a plan, and a long tool-call history without truncation. That matters because Atlas indexes code by AST declarations using tree-sitter, not blind line windows, so each retrieved chunk is a real declaration rather than an arbitrary slice, and the model gets more signal per token. Set the model's limit in atlas.json to { "context": 262144, "output": 65536 } so Atlas does not truncate prompts before the model does.

## Can you run Atlas fully offline with Qwen3-Coder 30B?

Yes. Qwen3-Coder 30B pairs with Atlas's local-first embeddings: set the codebase index embedding provider to `ollama` and neither your code nor its vectors ever leave the machine. Combined with the free self-hosted model, that gives a fully offline Atlas at zero per-token cost.

Running Atlas fully offline requires two things to be local, not one. The model is the obvious half, served at http://localhost:11434/v1 through the ollama provider block. The other half is the index: Atlas can build its code index with local Ollama embeddings, keeping code off third-party servers. Once both are set, every part of the loop stays on the machine, and Atlas's safety behavior is unchanged. Every Atlas tool call is still permission-gated against allow, ask, and deny rules before it runs, and Atlas still snapshots file changes as git patches so edits can be diffed and rolled back.

## When should you pick a different model than Qwen3-Coder 30B?

Pick a different model than Qwen3-Coder 30B for hard multi-file refactors. Qwen3-Coder 30B is clearly behind Claude Opus 4.8 and GPT-5.6 on that work: it is a strong local model, not a frontier one, and pretending otherwise wastes a lot of approval clicks.

The obvious upgrade path inside the same family is blocked by hardware. The 480B variant of Qwen3-Coder that closes most of the gap needs roughly 250GB of memory, which is out of reach for a workstation. So the practical escalation from Qwen3-Coder 30B is a hosted frontier model, not a bigger local one. Atlas lets you switch the active model and provider on the fly with favorites and recents, so a reasonable habit is to keep `ollama/qwen3-coder:30b` as the default and switch to a frontier model only when a refactor spans many files.

## Setup

1. Install Ollama, then run `ollama pull qwen3-coder:30b` (19GB).
2. Add the provider to atlas.json: "provider": { "ollama": { "npm": "@ai-sdk/openai-compatible", "name": "Ollama (local)", "options": { "baseURL": "http://localhost:11434/v1" }, "models": { "qwen3-coder:30b": { "name": "Qwen3-Coder 30B (local)", "limit": { "context": 262144, "output": 65536 } } } } }
3. Set the default: "model": "ollama/qwen3-coder:30b" in atlas.json.
4. Confirm Atlas sees it with `atlas models ollama`, then verify Ollama is detected on the machine with `atlas device`.
5. Optional: set the codebase index embedding provider to `ollama` so code and vectors both stay local.

## FAQ

### what is the best local model for atlas

Qwen3-Coder 30B (local via Ollama) is the default local coding model for Atlas. It is a 30B mixture-of-experts with 3.3B active parameters, a 256K context, and a 19GB download, all free and self-hosted.

### how much vram do i need for qwen3-coder 30b

Qwen3-Coder 30B is a 19GB download at Q4_K_M, which fits a 24GB GPU or a 32GB Apple Silicon machine. Run `atlas device` to confirm Ollama and a GPU were detected.

### how do i install qwen3-coder 30b for atlas

Install Ollama, run `ollama pull qwen3-coder:30b` (19GB), add the ollama provider block to atlas.json with baseURL http://localhost:11434/v1, set "model": "ollama/qwen3-coder:30b", then confirm with `atlas models ollama`.

### what is the context window of qwen3-coder 30b

Qwen3-Coder 30B has a 256K token context window natively, extendable to 1M via extrapolation. Register it with "limit": { "context": 262144, "output": 65536 } so Atlas does not truncate prompts early.

### is qwen3-coder 30b as good as claude opus

No. Qwen3-Coder 30B is clearly behind Claude Opus 4.8 and GPT-5.6 on hard multi-file refactors. It is a strong local model, not a frontier one, and the 480B variant that closes most of the gap needs roughly 250GB of memory.

### can atlas run completely offline

Yes. Run Qwen3-Coder 30B through Ollama at http://localhost:11434/v1 and set the codebase index embedding provider to `ollama`. Neither your code nor its vectors leave the machine, and the model is free to self-host.

### why does qwen3-coder 30b feel faster than other 30b models

Qwen3-Coder 30B is a mixture-of-experts model with only 3.3B of its 30B parameters activated per token, so inference runs at roughly 3B-model speed while quality tracks a 30B model.

---

Canonical HTML: https://runatlas.sh/resources/models/qwen3-coder-30b-local
Source of truth: aeo_pages row `/resources/models/qwen3-coder-30b-local` (segment: Models) (this file is generated from it, never hand-edited).
Licence: Atlas is proprietary with a free core. It is not open source and there is no public source repository.
