LM Studio Community·Qwen 2.5·Qwen2ForCausalLM

Qwen2.5 Coder 14B Instruct MLX 4bit — Hardware Requirements & GPU Compatibility

ChatCode

An MLX 4-bit quantized version of Alibaba's Qwen2.5 Coder 14B Instruct, converted by LM Studio Community for Apple Silicon Macs. Qwen2.5 Coder 14B is a capable mid-size coding model that handles code generation, completion, and explanation across many popular programming languages. The 4-bit quantization makes this model very accessible on Apple Silicon, fitting comfortably on Macs with 16GB or more of unified memory. It offers a strong balance of coding ability and resource efficiency, making it a practical everyday coding assistant for developers running local models on macOS.

104.3K downloads 3 likesNov 202433K context

Specifications

Publisher
LM Studio Community
Family
Qwen 2.5
Parameters
2.3B
Architecture
Qwen2ForCausalLM
Context Length
32,768 tokens
Vocabulary Size
152,064
Release Date
2024-11-13
License
Apache 2.0

Get Started

How Much VRAM Does Qwen2.5 Coder 14B Instruct MLX 4bit Need?

Select a quantization to see compatible GPUs below.

QuantizationBitsVRAM
Q2_K3.401.7 GB
Q3_K_M3.901.8 GB
Q4_04.001.9 GB
Q3_K_L4.101.9 GB
Q4_K_M4.802.1 GB
Q5_05.002.1 GB
Q5_K_M5.702.4 GB
Q6_K6.602.6 GB
Q8_08.003.0 GB

Which GPUs Can Run Qwen2.5 Coder 14B Instruct MLX 4bit?

Q4_K_M · 2.1 GB

Qwen2.5 Coder 14B Instruct MLX 4bit (Q4_K_M) requires 2.1 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 3+ GB is recommended. Using the full 33K context window can add up to 6.0 GB, bringing total usage to 8.1 GB. 35 GPUs can run it, including NVIDIA GeForce RTX 5090, NVIDIA GeForce RTX 3090 Ti.

Which Devices Can Run Qwen2.5 Coder 14B Instruct MLX 4bit?

Q4_K_M · 2.1 GB

33 devices with unified memory can run Qwen2.5 Coder 14B Instruct MLX 4bit, including NVIDIA DGX H100, NVIDIA DGX A100 640GB.

Related Models

Frequently Asked Questions

How much VRAM does Qwen2.5 Coder 14B Instruct MLX 4bit need?

Qwen2.5 Coder 14B Instruct MLX 4bit requires 2.1 GB of VRAM at Q4_K_M, or 3.0 GB at Q8_0. Full 33K context adds up to 6.0 GB (8.1 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 2.3B × 4.8 bits ÷ 8 = 1.4 GB

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

KV Cache + Overhead 6.7 GB (at full 33K context)

VRAM usage by quantization

2.1 GB
8.1 GB

Learn more about VRAM estimation →

What's the best quantization for Qwen2.5 Coder 14B Instruct MLX 4bit?

For Qwen2.5 Coder 14B Instruct MLX 4bit, Q4_K_M (2.1 GB) offers the best balance of quality and VRAM usage. Q5_0 (2.1 GB) provides better quality if you have the VRAM. The smallest option is Q2_K at 1.7 GB.

VRAM requirement by quantization

Q2_K
1.7 GB
Q4_0
1.9 GB
Q4_K_M
2.1 GB
Q5_0
2.1 GB
Q5_K_M
2.4 GB
Q8_0
3.0 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

Can I run Qwen2.5 Coder 14B Instruct MLX 4bit on a Mac?

Qwen2.5 Coder 14B Instruct MLX 4bit requires at least 1.7 GB at Q2_K, 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 Qwen2.5 Coder 14B Instruct MLX 4bit locally?

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

How fast is Qwen2.5 Coder 14B Instruct MLX 4bit?

At Q4_K_M, Qwen2.5 Coder 14B Instruct MLX 4bit can reach ~1395 tok/s on AMD Instinct MI300X. On NVIDIA GeForce RTX 4090: ~314 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 ÷ 2.1 × 0.55 = ~1395 tok/s

Estimated speed at Q4_K_M (2.1 GB)

~1395 tok/s
~314 tok/s
~1043 tok/s
~862 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 Qwen2.5 Coder 14B Instruct MLX 4bit?

At Q4_K_M, the download is about 1.39 GB. The full-precision Q8_0 version is 2.31 GB. The smallest option (Q2_K) is 0.98 GB.