Qwen3-Coder-30B-A3B-HOPE-40pct-GGUF
quantized and compressed version of the smart coding model
2 min read
The model is an optimized version of the Mixture-of-Experts (MoE) architecture Qwen/Qwen3-Coder-30B-A3B-Instruct, trimmed by 40% using the HOPE (Higher-Order Pruning of Experts) algorithm. The total parameter count is reduced from ~30.5B to ~18.7B, and the GGUF format with Q4_K_M quantization weighs just 10.75 GB. It is built for local execution on PCs with 16 GB of system RAM without requiring a powerful graphics card. Compared to the base model, it features reduced resource consumption while maintaining full tokenization and development capabilities.
Key features
- Use of the HOPE method to reduce the number of experts in layers from 128 to 77.
- Retention of active experts per token (top_k = 8, about 3.3B active parameters) to maintain code generation quality.
- GGUF Q4_K_M format weighing 10.75 GiB, optimized for consumer hardware.
- Full compatibility with the standard BPE tokenizer (vocabulary size 151,936) from the original.
What you can do
- Run a local programming server via
llama.cppon a machine with 16 GB RAM. - Connect the model as a backend for AI assistants in IDEs, for example, via Cline in VS Code.
- Configure the context window (up to 12,288 tokens) and KV cache for comfortable codebase work.
Example
Running a local server via llama-server with Flash Attention support and thread limitation:
./llama-server \
-m qwen3-coder-pruned-Q4_K_M.gguf \
--port 8080 \
--ctx-size 12288 \
--cache-type-k q8_0 \
--cache-type-v q8_0 \
--flash-attn \
--threads 6 \
--threads-batch 12 \
--temp 0.6 \
--top-p 0.95 \
--min-p 0.01Read more
DetailsBase model: Qwen3MoeForCausalLM (48 layers)
Expert reduction: from 128 to 77 per layer (40% reduction)
Hardware requirements: 16 GB of system RAM (no dedicated graphics card strictly required)
Format and size: Q4_K_M GGUF (10.75 GiB)










Comments