LM Studio Community·Qwen·Qwen3MoeForCausalLM

Qwen3 Coder 30B A3B Instruct MLX 5bit — Hardware Requirements & GPU Compatibility

ChatCode

An MLX 5-bit quantized version of Alibaba's Qwen3 Coder 30B A3B Instruct, converted by LM Studio Community for Apple Silicon Macs. This mixture-of-experts model has 30.5 billion total parameters but activates only a fraction per token, giving it strong code generation performance with better efficiency than a comparably sized dense model. The 5-bit quantization provides a middle ground between quality and memory usage, making it suitable for M-series Macs with 32GB or more of unified memory. It handles code completion, generation, refactoring, and explanation tasks well across a wide range of programming languages.

190.6K downloads 5 likesAug 2025262K context

Specifications

Publisher
LM Studio Community
Family
Qwen
Parameters
30.5B
Architecture
Qwen3MoeForCausalLM
Context Length
262,144 tokens
Vocabulary Size
151,936
Release Date
2025-08-01
License
Apache 2.0

Get Started

How Much VRAM Does Qwen3 Coder 30B A3B Instruct MLX 5bit Need?

Select a quantization to see compatible GPUs below.

QuantizationBitsVRAM
IQ2_XXS2.208.8 GB
IQ2_M2.7010.7 GB
IQ3_XXS3.1012.2 GB
Q2_K3.4013.4 GB
Q3_K_S3.5013.8 GB
Q3_K_M3.9015.3 GB
Q4_04.0015.7 GB
IQ4_XS4.3016.8 GB
Q4_14.5017.6 GB
Q4_K_S4.5017.6 GB
IQ4_NL4.5017.6 GB
Q4_K_M4.8018.7 GB
Q5_K_S5.5021.4 GB
Q5_K_M5.7022.1 GB
Q6_K6.6025.6 GB
Q8_08.0030.9 GB

Which GPUs Can Run Qwen3 Coder 30B A3B Instruct MLX 5bit?

Q4_K_M · 18.7 GB

Qwen3 Coder 30B A3B Instruct MLX 5bit (Q4_K_M) requires 18.7 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 25+ GB is recommended. Using the full 262K context window can add up to 12.8 GB, bringing total usage to 31.5 GB. 6 GPUs can run it, including NVIDIA GeForce RTX 5090, NVIDIA GeForce RTX 3090 Ti.

Which Devices Can Run Qwen3 Coder 30B A3B Instruct MLX 5bit?

Q4_K_M · 18.7 GB

21 devices with unified memory can run Qwen3 Coder 30B A3B Instruct MLX 5bit, including NVIDIA DGX H100, NVIDIA DGX A100 640GB, Mac Mini M4 Pro (24 GB).

Related Models

Frequently Asked Questions

How much VRAM does Qwen3 Coder 30B A3B Instruct MLX 5bit need?

Qwen3 Coder 30B A3B Instruct MLX 5bit requires 18.7 GB of VRAM at Q4_K_M, or 30.9 GB at Q8_0. Full 262K context adds up to 12.8 GB (31.5 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 30.5B × 4.8 bits ÷ 8 = 18.3 GB

KV Cache + Overhead 0.4 GB (at 2K context + ~0.3 GB framework)

KV Cache + Overhead 13.2 GB (at full 262K context)

VRAM usage by quantization

18.7 GB
31.5 GB

Learn more about VRAM estimation →

Can NVIDIA GeForce RTX 4090 run Qwen3 Coder 30B A3B Instruct MLX 5bit?

Yes, at Q5_K_M (22.1 GB) or lower. Higher quantizations like Q6_K (25.6 GB) exceed the NVIDIA GeForce RTX 4090's 24 GB.

What's the best quantization for Qwen3 Coder 30B A3B Instruct MLX 5bit?

For Qwen3 Coder 30B A3B Instruct MLX 5bit, Q4_K_M (18.7 GB) offers the best balance of quality and VRAM usage. Q5_K_S (21.4 GB) provides better quality if you have the VRAM. The smallest option is IQ2_XXS at 8.8 GB.

VRAM requirement by quantization

IQ2_XXS
8.8 GB
Q3_K_S
13.8 GB
Q4_1
17.6 GB
Q4_K_M
18.7 GB
Q5_K_S
21.4 GB
Q8_0
30.9 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

Can I run Qwen3 Coder 30B A3B Instruct MLX 5bit on a Mac?

Qwen3 Coder 30B A3B Instruct MLX 5bit requires at least 8.8 GB at IQ2_XXS, which exceeds the unified memory of most consumer Macs. You would need a Mac Studio or Mac Pro with a high-memory configuration.

Can I run Qwen3 Coder 30B A3B Instruct MLX 5bit locally?

Yes — Qwen3 Coder 30B A3B Instruct MLX 5bit can run locally on consumer hardware. At Q4_K_M quantization it needs 18.7 GB of VRAM. Popular tools include Ollama, LM Studio, and llama.cpp.

How fast is Qwen3 Coder 30B A3B Instruct MLX 5bit?

At Q4_K_M, Qwen3 Coder 30B A3B Instruct MLX 5bit can reach ~156 tok/s on AMD Instinct MI300X. On NVIDIA GeForce RTX 4090: ~35 tok/s. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.

tok/s = (bandwidth GB/s ÷ model GB) × efficiency

Example: AMD Instinct MI300X5300 ÷ 18.7 × 0.55 = ~156 tok/s

Estimated speed at Q4_K_M (18.7 GB)

~156 tok/s
~35 tok/s
~116 tok/s
~96 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

What's the download size of Qwen3 Coder 30B A3B Instruct MLX 5bit?

At Q4_K_M, the download is about 18.32 GB. The full-precision Q8_0 version is 30.53 GB. The smallest option (IQ2_XXS) is 8.40 GB.