Skip to content
Local AI Wizard
Your machine
Theme

Qwen3 Coder 30B A3B

Alibaba · Qwen/Qwen3-Coder-30B-A3B-Instruct

Q4 file 18.6 GB (Q4_K_M) · runs well from 32 GB · Weights license: Apache 2.0

Measured speed206–346 tok/sQ4_K_M · 3 machines · 2 sources · all rows
Memory needed~23 GBQ4 weights + working room, before the machine's reserve
Parameters30.5 Bmanufacturer specification · 3.3B active
Context262,144 tokensPublished for this model

Quality

No result in LiveBench 2026-06-25, LMArena 2026-10-22 Not in LiveBench 2026-06-25 or LMArena 2026-10-22

Reported by the publisher

The publisher's card states no benchmark result for this checkpoint (read 2026-10-25). not published on the card · read 2026-10-25

Run it

Run it

File Q4_K_M · 18.6 GB · unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF · What is Q4?

Measured 206–346 tok/s · Q4_K_M · 3 machines · 2 sources · all rows

ollama run hf.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q4_K_M
  1. Install Ollama
  2. Run the command above
  3. Ask: Explain what a context window is, in two sentences.

Runs on

Fast memory holds it 42

The planning estimate fits the memory the model can use quickly: graphics card VRAM, or unified memory within the macOS GPU share.

Show all 42

Within memory, outside the fast part 51

Within the machine's memory, outside its fast part: on a graphics card the layers that do not fit run on the CPU from PC RAM (the listed RAM, or 32 GB assumed); on a Mac, above the macOS default GPU share. Not a speed figure.

Show all 51

One memory tier short 9

The same machines with the next memory size up would hold it in fast memory.

Show all 9

Qwen3 Coder 30B A3B is a text model from Alibaba with 30.5B parameters, 3.3B of them active per token (mixture of experts). It reads up to 262,144 tokens of context. Its Q4 weights plus working room come to about 23 GB before the machine's reserve; the smallest reference machines whose fast memory holds that are Mac mini M4 · 32 GB unified (~31 GB with its reserve) and RTX 5090 · 32 GB VRAM (~25 GB with its reserve). We collected 30 downloadable GGUF and MLX files from 2 publisher sources; the most downloaded GGUF source is unsloth's. It has no result in LiveBench 2026-06-25, so no quality score is shown.

Hardware profiles grouped by the Q4 planning estimate on each machine (dedicated GPUs reserve 2 GB; unified and system memory 25%, 2 to 8 GB): the fast memory holds it, it is within memory but outside the fast part (layers offloaded to PC RAM, or above the macOS GPU share), or the machine is one memory tier short. Each card opens its hardware profile. Not a measured fit or speed.

On the reference machines

Qwen3 Coder 30B A3B on the reference machines
Where Q4 sits
Mac mini M2 · 8 GB unifiedLarger than its memoryNo file on the site's quant ladder fits the fast memory at 8,192 tokensNo file in the previous column~25 GBLarger than its memoryNo file on the site's quant ladder fits the fast memory at 8,192 tokensNo file in the previous column
Mac mini M4 · 16 GB unifiedLarger than its memoryNo file on the site's quant ladder fits the fast memory at 8,192 tokensNo file in the previous column~27 GBLarger than its memoryNo file on the site's quant ladder fits the fast memory at 8,192 tokensNo file in the previous column
Mac mini M4 · 24 GB unifiedLarger than its memoryNo file on the site's quant ladder fits the fast memory at 8,192 tokensNo file in the previous column~29 GBLarger than its memoryNo file on the site's quant ladder fits the fast memory at 8,192 tokensNo file in the previous column
Mac mini M4 · 32 GB unifiedFast memory holds itQ4_K_MGGUF · 18.6 GB · needs ~32 GB16,384 tokens~31 GBFast memory holds itQ4_K_MGGUF · 18.6 GB · needs ~32 GB16,384 tokens
Mac mini M5 Pro · 64 GB unifiedFast memory holds itQ8_0GGUF · 32.5 GB · needs ~48 GB65,536 tokens~31 GBFast memory holds itQ8_0GGUF · 32.5 GB · needs ~48 GB65,536 tokens
Mac Studio M5 Max · 128 GB unifiedFast memory holds itQ8_0GGUF · 32.5 GB · needs ~48 GB262,144 tokens~31 GBFast memory holds itQ8_0GGUF · 32.5 GB · needs ~48 GB262,144 tokens
Mac Studio · M5 Ultra · 36-core CPU / 80-core GPU · 512 GB unifiedFast memory holds itQ8_0GGUF · 32.5 GB · needs ~48 GB262,144 tokens~31 GBFast memory holds itQ8_0GGUF · 32.5 GB · needs ~48 GB262,144 tokens
RTX 4060 · 8 GB VRAMIn memory, outside the fast partNo file on the site's quant ladder fits the fast memory at 8,192 tokensNo file in the previous column~25 GBIn memory, outside the fast partNo file on the site's quant ladder fits the fast memory at 8,192 tokensNo file in the previous column
RTX 3060 · 12 GB VRAMIn memory, outside the fast partNo file on the site's quant ladder fits the fast memory at 8,192 tokensNo file in the previous column~25 GBIn memory, outside the fast partNo file on the site's quant ladder fits the fast memory at 8,192 tokensNo file in the previous column
RTX 5080 · 16 GB VRAMIn memory, outside the fast partNo file on the site's quant ladder fits the fast memory at 8,192 tokensNo file in the previous column~25 GBIn memory, outside the fast partNo file on the site's quant ladder fits the fast memory at 8,192 tokensNo file in the previous column
RTX 4090 · 24 GB VRAMIn memory, outside the fast partIQ4_XSGGUF · 16.4 GB · needs ~23 GB16,384 tokens~25 GBIn memory, outside the fast partIQ4_XSGGUF · 16.4 GB · needs ~23 GB16,384 tokens
RTX 5090 · 32 GB VRAMFast memory holds itQ5_K_MGGUF · 21.7 GB · needs ~29 GB32,768 tokens~25 GBFast memory holds itQ5_K_MGGUF · 21.7 GB · needs ~29 GB32,768 tokens
DGX H100 · 8 × 80 GBFast memory holds itQ8_0GGUF · 32.5 GB · needs ~56 GB262,144 tokens~39 GBFast memory holds itQ8_0GGUF · 32.5 GB · needs ~56 GB262,144 tokens

The file column uses the site's quant ladder (Q8_0 to Q3_K_M, MLX 8 to 4-bit on a Mac): the largest collected file whose size × 1.2 plus the context cache and the machine's reserve fits the fast memory. Planning estimates, not measured runs.

Plan another quantization or context

Consider it for

Compare Qwen3 Coder 30B A3B using its publisher card. No overall score appears in the LiveBench 2026-06-25 snapshot.

Check first

The Q4 weights plus working room come to about 23 GB from 30.5B stated parameters, before the machine's reserve (Runs on adds it per machine). It is not a measured minimum; context, batch size, runtime and quantization change actual memory use.

Versions to download

Files you can download for this checkpoint. The section opens on the most downloaded collected GGUF source, unsloth, at Q4_K_M. On a Mac it opens on the most downloaded MLX source. Sizes are the Hub's published bytes. What is Q4?

unsloth

unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF · Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.gguf · 18.6 GB

Run this file

ollama run hf.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q4_K_M
llama-server -hf unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q4_K_M
lms get https://huggingface.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF
  • mlx-lm: mlx-lm runs MLX repositories; pick the MLX version on a Mac

Quality scores on this page belong to the original checkpoint; these files are not scored or ranked. File sizes read 2026-10-23 · download counts read 2026-10-17 · commands: Hugging Face Hub docs: Use Ollama with any GGUF model · llama.cpp server README (-hf <user>/<model>[:quant]) · LM Studio docs: lms get with a Hugging Face URL · mlx-lm README (mlx_lm.generate --model)

Fine-tunes, adapters and other versions97 fine-tunes
Quantized versions
180
Fine-tunes
97
Adapters · merges
62 · 6

Browse them on the Hugging Face model tree · read 2026-10-23

Uncensored and abliterated versions4

Some community uploads remove the model's safety refusals. Quality may drop, the original publisher does not support them, claims about them are the uploader's, and the original license still applies. This site never recommends or ranks them.

4 derivative repositories have “uncensored” or “abliterated” in their name (read 2026-10-23).

Measured speed

Tokens per second by machine

Output tok/s · 4 machines · every row in the table · What is a token?

RTX 5090 · Q4_K_M, 346.27 ± 3.49 · Q4_K_M · llama.cpp CUDA · llama.cpp commit 3e4dfa8f3 (b11658)346.3
RTX 4090 24 GB · Q4_K_M, 265.96 ± 2.53 · Q4_K_M · llama.cpp CUDA · llama.cpp commit 3e4dfa8f3 (b11658)266.0
RTX 3090 24 GB · Q4_K_M, 206.29 ± 1.40 · Q4_K_M · llama.cpp CUDA · llama.cpp commit 3e4dfa8f3 (b11658)206.3
DGX Spark · Q8_0, 61.06 ± 0.23 · Q8_0 · CUDA · llama.cpp 11fb327bf (7941); CUDA61.1
Measured speed
RTX 5090NVIDIA GeForce RTX 5090 · 32 GB (the card's only memory size; rented host)346.27 ± 3.49Q4_K_M0 / 128 · Single llama-bench processllama.cpp CUDAllama.cpp commit 3e4dfa8f3 (b11658)Flash Attention enabledunsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF/Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.ggufData: Local LLM Advisor (localllmadvisor.com) · CC BY 4.0 · 2026-10-25
RTX 4090 24 GBNVIDIA GeForce RTX 4090 · 24 GB (the card's only memory size; rented host)265.96 ± 2.53Q4_K_M0 / 128 · Single llama-bench processllama.cpp CUDAllama.cpp commit 3e4dfa8f3 (b11658)Flash Attention enabledunsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF/Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.ggufData: Local LLM Advisor (localllmadvisor.com) · CC BY 4.0 · 2026-10-25
RTX 3090 24 GBNVIDIA GeForce RTX 3090 · 24 GB (the card's only memory size; rented host)206.29 ± 1.40Q4_K_M0 / 128 · Single llama-bench processllama.cpp CUDAllama.cpp commit 3e4dfa8f3 (b11658)Flash Attention enabledunsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF/Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.ggufData: Local LLM Advisor (localllmadvisor.com) · CC BY 4.0 · 2026-10-25
DGX SparkDGX Spark · 1× NVIDIA GB1061.06 ± 0.23Q8_00 / 32 · Not reported by llama-benchCUDAllama.cpp 11fb327bf (7941); CUDAFlash Attention enabledggml-org/Qwen3-Coder-30B-A3B-Instruct-Q8_0-GGUFllama.cpp bench · 2026-09-25

Sources: llama.cpp bench · Data: Local LLM Advisor (localllmadvisor.com) · CC BY 4.0 · not estimated

How to run

The memory needed above is the Q4 load before a machine's reserve. Formula: parameters × 0.625 bytes, plus 20% working allowance; each machine then adds its system reserve: 25% of unified or system memory, 2 to 8 GB, or 2 GB per GPU on dedicated cards. This is neither measured VRAM nor checkpoint download size.

Q4 planning estimate only. Check checkpoint format, runtime support, KV cache, context, batch size and offload before choosing hardware.

Evidence level: Generic estimate only; no execution reproduced by this site.

Publisher sampling defaults
temperature 0.7 · top_p 0.8 · top_k 20 · repetition_penalty 1.05generation_config.json · read 2026-10-23source
Chat template markers
tool calls · no thinking markersmarkers found in the template, not a test of the feature · read 2026-10-23source
Before downloading
  1. Check the exact checkpoint and license linked here.
  2. Confirm a compatible runtime and precision or quantization for your platform.
  3. Allow for context, batch size and any extra media components beyond the weights.

Technical details

What the source and the catalog store for this checkpoint. Missing fields are left out, never zero.

Task and modality
language and reasoning · text
Count and basis
30.5B · manufacturer specification · 3.3B activeQwen/Qwen3-Coder-30B-A3B-Instruct model card (Hugging Face) · read 2026-10-17source
Context
262,144 tokens published for this modelQwen/Qwen3-Coder-30B-A3B-Instruct model card (Hugging Face) · read 2026-10-17source
Architecture
MoEQwen/Qwen3-Coder-30B-A3B-Instruct model card (Hugging Face) · read 2026-10-17source
Runtime and precision
No local execution verified.
Commercial use
Allowed Apache License 2.0 text (SPDX) · read 2026-10-18license text
Every stored field12 fields
Revision checked
b2cff646eb4bb1d68355c01b18ae02e7cf42d120
Architecture
Qwen3MoeForCausalLM
Library
transformers
Hub task tag
text-generation
Formats
safetensors
Access
Open download
Publisher kind
Official
Tensor evidence
floating-tensor-elements · 30.53B · BF16checked 2026-09-26
Repository created
2025-07-31creation is not the model's release
Repository updated
2025-12-03a commit is not a release date
Hub downloads (30 days) · likes
745,049 · 1,307this repository only · read 2026-10-25
Catalog state
Hub config or weights found; no inventory benchmark link

Sources

Identity and published specifications come from the checkpoint page. Benchmark scores belong to the named release and do not measure speed on your computer.

Catalog reviewed: 2026-10-17. Benchmark release: 2026-06-25; snapshot collected: 2026-10-18.