← CanIRunLocal · All hardware · All models

Can I run Qwen3-Coder-Next 80B-A3B (MoE) locally?

Alibaba · 80B parameters (3B active) · coding.

Best for Coding. Also Reasoning & math.

Ollama weight files: Q4_K_M 52 GB (qwen3-coder-next:latest); Q8_0 85 GB (qwen3-coder-next:q8_0).

Qwen3-Coder-Next is Alibaba's coding-agent model, separate from Qwen3-Next 80B and from Qwen3-Coder 30B. Apache-2.0. The card says 80B parameters in total and 3B activated, with a native context of 262,144 tokens (256K on the Ollama tag list). Safetensors count is 79,674,391,296 (79.67B). The config is Qwen3NextForCausalLM (model_type qwen3_next): 48 layers, 512 experts, 10 active, hidden size 2048. Text only. The card says it does not emit thinking blocks. Tags checked 2026-11-11 on ollama.com/library/qwen3-coder-next/tags. qwen3-coder-next:latest and :q4_K_M are one file (digest ca06e9e4087c), 52GB, 256K. :q8_0 is 85GB. llama.cpp uses unsloth/Qwen3-Coder-Next-GGUF (Q4_K_M 48.53 GB). UD and IQ packs in that repo are a different recipe and are not summed into the Q4 size. MLX uses Qwen3-Coder-Next-4bit and 8bit. vLLM uses Qwen/Qwen3-Coder-Next or Qwen3-Coder-Next-FP8.

Yes on 37 machines in this list. The smallest is M1 Max (32c GPU) 64GB: Q4_K_M, about 47.2 GB, roughly 84 tokens per second, via LM Studio. lms get mlx-community/Qwen3-Coder-Next-4bit

Setup on DGX Spark 128GB (NVIDIA, ASUS, Dell, Lenovo, HP, MSI, Acer, Gigabyte)

Open Qwen3-Coder-Next 80B-A3B (MoE) in the checker

Tip: pair it with a small draft model for 1.1–1.5× faster replies with identical output, e.g. mlx_lm.generate --model mlx-community/Qwen3-Coder-Next-4bit --draft-model mlx-community/Qwen2.5-0.5B-Instruct-4bit. The draft must share the tokenizer. Measured on an M4: Qwen 2.5 3B 1.24–1.48×, 7B 1.13–1.19×.

Hardware that fits

HardwareRuntimeQuantMemoryFitSpeedCommand
M1 Max (32c GPU) 64GB Can it run?LM StudioMLX 4bit47.2 GBfits in fast memory~84 tok/slms get mlx-community/Qwen3-Coder-Next-4bit
M2 Max (30c GPU) 64GB Can it run?LM StudioMLX 4bit47.2 GBfits in fast memory~84 tok/slms get mlx-community/Qwen3-Coder-Next-4bit
M2 Max (38c GPU) 64GB Can it run?LM StudioMLX 4bit47.2 GBfits in fast memory~84 tok/slms get mlx-community/Qwen3-Coder-Next-4bit
M2 Ultra 64GB Can it run?LM StudioMLX 4bit47.2 GBfits in fast memory~144 tok/slms get mlx-community/Qwen3-Coder-Next-4bit
M3 Max (40c GPU) 64GB Can it run?LM StudioMLX 4bit47.2 GBfits in fast memory~84 tok/slms get mlx-community/Qwen3-Coder-Next-4bit
M4 Max (40c GPU) 64GB Can it run?LM StudioMLX 4bit47.2 GBfits in fast memory~108 tok/slms get mlx-community/Qwen3-Coder-Next-4bit
M4 Pro 64GB Can it run?LM StudioMLX 4bit47.2 GBfits in fast memory~61 tok/slms get mlx-community/Qwen3-Coder-Next-4bit
Mac Studio M4 Max (40c GPU) 64GB Can it run?LM StudioMLX 4bit47.2 GBfits in fast memory~108 tok/slms get mlx-community/Qwen3-Coder-Next-4bit
Mac Studio M5 Max (40c GPU) 64GB Can it run?LM StudioMLX 4bit47.2 GBfits in fast memory~118 tok/slms get mlx-community/Qwen3-Coder-Next-4bit
DGX Spark 64GB (ASUS, Dell, HP, MSI, Acer, Gigabyte) Can it run?OllamaQ4_K_M54.4 GBfits in fast memory~81 tok/sollama run qwen3-coder-next:latest
M2 Max (38c GPU) 96GB Can it run?OllamaQ4_K_M54.4 GBfits in fast memory~74 tok/sollama run qwen3-coder-next:latest
M3 Max (30c GPU) 96GB Can it run?OllamaQ4_K_M54.4 GBfits in fast memory~58 tok/sollama run qwen3-coder-next:latest
Mac Studio M3 Ultra (60c GPU) 96GB Can it run?OllamaQ4_K_M54.4 GBfits in fast memory~132 tok/sollama run qwen3-coder-next:latest
Mac Studio M3 Ultra (80c GPU) 96GB Can it run?OllamaQ4_K_M54.4 GBfits in fast memory~132 tok/sollama run qwen3-coder-next:latest
Mac Studio M5 Ultra (64c GPU) 96GB Can it run?OllamaQ4_K_M54.4 GBfits in fast memory~172 tok/sollama run qwen3-coder-next:latest
Mac Studio M5 Ultra (80c GPU) 96GB Can it run?OllamaQ4_K_M54.4 GBfits in fast memory~172 tok/sollama run qwen3-coder-next:latest
M2 Ultra 128GB Can it run?OllamaQ8_087.3 GBfits in fast memory~88 tok/sollama run qwen3-coder-next:q8_0
M3 Max (40c GPU) 128GB Can it run?OllamaQ8_087.3 GBfits in fast memory~48 tok/sollama run qwen3-coder-next:q8_0
M4 Max (40c GPU) 128GB Can it run?OllamaQ8_087.3 GBfits in fast memory~64 tok/sollama run qwen3-coder-next:q8_0
Mac Studio M4 Max (40c GPU) 128GB Can it run?OllamaQ8_087.3 GBfits in fast memory~64 tok/sollama run qwen3-coder-next:q8_0
Mac Studio M5 Max (40c GPU) 128GB Can it run?OllamaQ8_087.3 GBfits in fast memory~70 tok/sollama run qwen3-coder-next:q8_0
DGX Spark 128GB (NVIDIA, ASUS, Dell, Lenovo, HP, MSI, Acer, Gigabyte) Can it run?OllamaQ8_087.3 GBfits in fast memory~49 tok/sollama run qwen3-coder-next:q8_0
M2 Ultra 192GB Can it run?OllamaQ8_087.3 GBfits in fast memory~88 tok/sollama run qwen3-coder-next:q8_0
2x Mac Studio M5 Max (40c GPU) 128GBllama.cppQ4_K_M GGUF50.9 GBfits in fast memory~115 tok/sllama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M --rpc node2:50052 -c 8192 # run rpc-server on each other node
Mac Studio M3 Ultra (60c GPU) 256GB Can it run?OllamaQ8_087.3 GBfits in fast memory~90 tok/sollama run qwen3-coder-next:q8_0
Mac Studio M3 Ultra (80c GPU) 256GB Can it run?OllamaQ8_087.3 GBfits in fast memory~90 tok/sollama run qwen3-coder-next:q8_0
Mac Studio M5 Ultra (64c GPU) 256GB Can it run?OllamaQ8_087.3 GBfits in fast memory~121 tok/sollama run qwen3-coder-next:q8_0
Mac Studio M5 Ultra (80c GPU) 256GB Can it run?OllamaQ8_087.3 GBfits in fast memory~121 tok/sollama run qwen3-coder-next:q8_0
2x DGX Spark 128GBllama.cppQ4_K_M GGUF50.9 GBfits in fast memory~73 tok/sllama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M --rpc node2:50052 -c 8192 # run rpc-server on each other node
4x Mac Studio M5 Max (40c GPU) 128GBllama.cppQ4_K_M GGUF50.9 GBfits in fast memory~101 tok/sllama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node
2x Mac Studio M5 Ultra (80c GPU) 256GBllama.cppQ4_K_M GGUF50.9 GBfits in fast memory~224 tok/sllama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M --rpc node2:50052 -c 8192 # run rpc-server on each other node
Mac Studio M3 Ultra (80c GPU) 512GB Can it run?OllamaQ8_087.3 GBfits in fast memory~90 tok/sollama run qwen3-coder-next:q8_0
Mac Studio M5 Ultra (80c GPU) 512GB Can it run?OllamaQ8_087.3 GBfits in fast memory~121 tok/sollama run qwen3-coder-next:q8_0
4x DGX Spark 128GBllama.cppQ4_K_M GGUF50.9 GBfits in fast memory~65 tok/sllama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node
4x Mac Studio M5 Ultra (80c GPU) 256GBllama.cppQ4_K_M GGUF50.9 GBfits in fast memory~198 tok/sllama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node
2x Mac Studio M5 Ultra (80c GPU) 512GBllama.cppQ4_K_M GGUF50.9 GBfits in fast memory~224 tok/sllama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M --rpc node2:50052 -c 8192 # run rpc-server on each other node
4x Mac Studio M5 Ultra (80c GPU) 512GBllama.cppQ4_K_M GGUF50.9 GBfits in fast memory~198 tok/sllama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node

Can I run Qwen3-Coder-Next 80B-A3B (MoE) locally? · Embed this

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Speeds are for short chats. Long conversations (around 8k tokens) run about 10–15% slower because the model rereads its memory of the chat for every word. How we estimate. Data updated 2026-11-20.

A project by OnDevice Labs · llms.txt · How we estimate