Code Llama 34B Instruct on Apple M4 Max (36GB Unified)
Apple M4 Max (36GB Unified) handles Code Llama 34B Instruct well at 14 tok/s at Q4_K_M. A solid choice for this model.
Model Size
33.7B
Device VRAM
36 GB
Bandwidth
546 GB/s
Quantizations Tested
1
Performance by Quantization
Each row shows Code Llama 34B Instruct performance at a different quality level on Apple M4 Max (36GB Unified).
| Quantization | Speed | TTFT | Fits in VRAM | Rating | Confidence |
|---|---|---|---|---|---|
| Q4_K_M | 14 tok/s | 600ms | ✓ Yes | Good | estimated |
Notes
Q4_K_M
Q4 at 19GB in 36GB unified memory. 17GB headroom.
About Code Llama 34B Instruct
Code Llama 34B Instruct (33.7B) is a coding, ai coding model. Meta's dedicated 34B coding model. Still competitive for code generation but being surpassed by newer models like Qwen 2.5 Coder 32B. Shorter context window (16K) is a limitation for large codebases.
View all Code Llama 34B Instruct hardware options →About Apple M4 Max (36GB Unified)
Apple M4 Max (36GB Unified) has 36 GB at 546 GB/s. Available in MacBook Pro 16", Mac Studio.
See all models Apple M4 Max (36GB Unified) can run →Source: MLX performance estimates (2026-01-15)
Data last updated: 2026-03-01