banner

Qwen3-Coder-30B-A3B-Instruct โ€” IQ2_M GGUF (agentic-verified)

An IQ2_M (imatrix) quant of Qwen/Qwen3-Coder-30B-A3B-Instruct at ~10 GB โ€” runs on a normal laptop, stays a capable agentic coder at 2-bit. Weights & training ยฉ Qwen (Apache-2.0); independent quant + eval, full credit. (Other quants: unsloth โ€” this one adds an independent agentic eval, the exact test set, and configurable-context Modelfiles.)

๐Ÿ“ฆ The quant

Qwen3-Coder-30B-A3B-Instruct-IQ2_M.gguf โ€” ~10 GB, imatrix-quantized (2-bit "I-quant": smallest size that stays sharp; needs the bundled imatrix, a touch more CPU than K-quants). 30B total / 3B active (MoE โ†’ fast inference despite the size).

๐Ÿงฎ Will it fit? (RAM/VRAM cheat-sheet)

Total โ‰ˆ 10 GB weights + KV-cache (grows with context):

you have context you can run
12 GB ~8โ€“16K
16 GB ~32โ€“64K
24 GB ~128K
32 GB+ full native (262K)

๐Ÿง  Context size (262K native)

Configurable โ€” Modelfiles at 8K / 32K / 128K / 256K included; full guide in CONTEXT.md.

ollama create qc-128k -f Modelfile-128k && ollama run qc-128k
# or per-session:  >>> /set parameter num_ctx 262144

๐Ÿš€ How to run it

ollama run hf.co/KikoCis/Qwen3-Coder-30B-A3B-Instruct-IQ2_M-GGUF   # default 32K
llama-server -m Qwen3-Coder-30B-A3B-Instruct-IQ2_M.gguf -c 131072 --jinja

Recommended sampling: temperature 0.7, top_p 0.8. Agentic use: this model emits the <function=...> (OpenHands/Qwen-Coder) tool format. In OpenHands / Qwen-Agent it's native. In a Claude-Code-style harness, inject tool defs as TEXT in that format โ€” relying on the native tools param yields empty output (that fix took it from 0 โ†’ solving tasks here).

โš ๏ธ Good to know

  • Strengths: agentic coding โ€” at IQ2 it still does clean multi-step tool use + writes correct code (verified, see below).
  • Limits: 2-bit is lossy vs the fp16; for max fidelity use a higher quant. It's a coder, English-centric.
  • The agentic tool-format note above matters โ€” without it, it looks "broken" when it isn't.

๐Ÿ“Š Evaluation methodology (so the number is reproducible)

Local agentic SWE-bench Verified probe, Claude Code + agent-bridge harness (terminal-bench/Docker), temp 0.7 / top_p 0.8, tool format openhands.

probe score what it is
swe-mix (ranking) 3/30 6 continuity anchors + 24 discriminating (15ร— "1-4 h" + 9ร— "15 min-1 h", 10 repos). Exact instances in swe_mix.json.
django-6 (legacy/easy) 4/6 the original easy probe (saturated)

On swe-mix, the 3 solved are the easier "anchor" tasks; the "1โ€“4 h" instances are out of reach for a 10 GB model in a 20-min agent budget (expected). This ranks models head-to-head on the same set โ€” not 1:1 with the official SWE-bench leaderboard. Per-instance pass/fail and the imatrix are reproducible from the artifacts here.

๐Ÿ—’๏ธ Changelog

  • 2026-06-28 โ€” v1: IQ2_M release + context Modelfiles + agentic eval.

๐Ÿ“š Credit & license

Model, weights, training: ยฉ Qwen โ€” Qwen3-Coder-30B-A3B-Instruct. IQ2_M imatrix quant + context Modelfiles + eval: KikoCis. Apache-2.0 (same as upstream). No weights modified.

Downloads last month
401
GGUF
Model size
31B params
Architecture
qwen3moe
Hardware compatibility
Log In to add your hardware

2-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for KikoCis/Qwen3-Coder-30B-A3B-Instruct-IQ2_M-GGUF

Quantized
(154)
this model