Model guide
Qwen3-Coder-Next 80B A3B
Qwen3-Coder-Next is an 80B stored model aimed at coding-agent work, even though only a small part is active per token. Its hybrid layers change cache behavior, but the weight download remains substantial. Use it for a supported high-memory coding setup and require a real patch-and-test result before trusting an integration.
At a glance
- Parameters
- 80B total / 3B active
- Accepts
- Text · Code
- Returns
- Text, including code
- Published context limit
- 262,144 tokens
- Model format
- safetensors · GGUF
- Software and download hosts
- Ollama · MLX. Follow the exact setup below; this list does not establish support for every format, input type or software version.
- Suggested compression
- Q4_K_M
- Model-weight download
- Q4_K_M weights · 48.41 GB across 4 partsQwen (model publisher)Part 1Part 2Part 3Part 4
- Languages
- Unknown
- License
- Apache-2.0
Will it fit?
Qwen3-Coder-Next 80B A3B · Q4_K_M download. Fit depends on your computer, the app you run it in and the conversation length you need.
Check on your computerBest for
- Use an existing high-memory workstation to test a patch in a disposable repository. Check both the failing test and the files the agent modified.
Choose something else when
- The selected weights occupy 48.41 GB. Estimate space for the code context as well.
First setup
Check a representative task
Test a bounded code-and-tests result before connecting a coding agent to a real repository.
Write a Python function second_distinct(values) that returns the second-smallest distinct integer in a list, or None if there are fewer than two distinct values. Do not modify the input. Include tests for [], [4], [4, 4], [5, 2, 5, 3], and [-1, -3, -1]. Use only the standard library. Return code only.
Check the result: The five results are None, None, None, 3 and -1. Execute the tests in a disposable file and check that the input list is unchanged. Review the generated code before running it.
Passing this example does not validate native tool calls, shell access or repository editing. Exercise those through the actual client in a disposable project.
This creates a 4,096-token copy of qwen3-coder-next named qwen3-coder-next-80b-a3b-short-context. Save the following as a file named Modelfile in your working folder:
FROM qwen3-coder-next
PARAMETER num_ctx 4096
Then run these commands from that folder:
ollama pull qwen3-coder-next
ollama create qwen3-coder-next-80b-a3b-short-context -f ./Modelfile
ollama run qwen3-coder-next-80b-a3b-short-context
Run the task check. While the model is loaded, run ollama ps in another terminal and check CONTEXT and PROCESSOR.
The recorded Ollama package is Q4_K_M: 51.74 GB of model weights. Use Ollama 0.15.5 or a supporting newer release. A Hugging Face GGUF or MLX checkpoint is a separate representation; choose the matching source and runner in the memory calculator.
See Ollama context settings and the Modelfile instructions.
Open LM Studio’s Discover tab, search for Qwen/Qwen3-Coder-Next-GGUF, and download Qwen3-Coder-Next-Q4_K_M/Qwen3-Coder-Next-Q4_K_M-00001-of-00004.gguf (Q4_K_M, 48.41 GB across all parts). Download every part of this quantization into the same folder; open the first part. See the download files. Select the file in Chat, set context to 4,096, then load it. Run the task check. If it will not load, open LM Studio Model Will Not Load.
Open a terminal in the extracted llama.cpp release folder. On Windows, replace ./llama-server below with .\llama-server.exe:
./llama-server -hf Qwen/Qwen3-Coder-Next-GGUF -hff Qwen3-Coder-Next-Q4_K_M/Qwen3-Coder-Next-Q4_K_M-00001-of-00004.gguf -c 4096 --host 127.0.0.1 --port 8080
The server downloads the selected model. Wait for the model to load, then open http://127.0.0.1:8080 in your browser. Run the task check and inspect the result against its acceptance criteria. Keep the server terminal open; press Ctrl+C there to stop the server. The file list identifies the exact download. Download every part of this quantization into the same folder; open the first part. If the command fails: Unknown architecture? Update the runner. Allocation failed? Retry with less context or a smaller weight file.
Load the model, start a fresh chat and time your usual prompt. Record time until the first useful word and time until the full answer. Note the processor, context and output length when comparing another run.
