dexiio

Best local LLM for coding on a Apple M3 Max (64GB) (2026)

All figures assume an f16 KV cache, a 0.6 GB display reserve on the GPU, and 64 GB of DDR5 system RAM for the offload tiers. Tune these in the calculator.

The verdict

Qwen3 Coder 30B A3B Q8_0

Fits on GPU at 32K · Coding score 9/10 · ≈ 45 tok/s

Purpose-built agentic coder. Best local fill-in-the-middle and tool-calling under 70B; useless at small talk.

llama-server -m Qwen3-Coder-30B-A3B-Instruct-Q8_0.gguf -c 32768 --flash-attn -ngl 99

Worthy alternates

Qwen3.5 27B Q8_0

Fits on GPU · ≈ 9 tok/s · Coding 8/10

The dense 24GB workhorse. If you want one model on a 3090 and no surprises, it's this.

Qwen3.5 35B A3B Q8_0

Fits on GPU · ≈ 44 tok/s · Coding 8/10

The meta pick, full stop. Near-dense-30B quality at 3B-active speed, and expert offload puts it on 8 GB cards.

Tune this for your exact RAM and settings in the calculator → · All models on the Apple M3 Max (64GB)

Frequently asked questions

What is the best local LLM for coding on a Apple M3 Max (64GB)?

Qwen3 Coder 30B A3B at Q8_0 — it scores 9/10 for coding and runs as "Fits on GPU" at 32K context on the Apple M3 Max (64GB).

How much context do I need for coding?

We recommend 32K tokens for coding (minimum 16K). These picks are computed at 32K.

How fast will it run on a Apple M3 Max (64GB)?

Roughly 45 tokens/sec for Qwen3 Coder 30B A3B — fast for interactive use.

Do I need more than 48 GB of VRAM for coding?

No — the pick above needs 35.1 GB of VRAM at 32K.

What settings should I use?

Start with our command: llama-server -m Qwen3-Coder-30B-A3B-Instruct-Q8_0.gguf -c 32768 --flash-attn -ngl 99 — then tune context and KV quant in the fit calculator.