Local AI Bench

M4 Max 64 GB

64 GB unified memory · 546 GB/s memory bandwidth

M4 Max uses a shared memory pool for the CPU and GPU. The operating system and other applications draw from the same capacity. This configuration has 40 GPU cores.

Below, successful runs are ordered by generation speed. Compare the prompt and window before comparing tokens per second. Manufacturer specifications

Measured speed ranking

Model / hardwareRuntimePrompt / windowDecodeSource
Qwen3-0.6BM4 Max 64 GBmlxmlx-lm 0.32.2 / mlx 0.32.54bit512 / 8,192480.0 tok/sMeasured2026-11-28 UTC
Qwen3-0.6BM4 Max 64 GBmlxmlx-lm 0.32.2 / mlx 0.32.58bit512 / 8,192401.8 tok/sMeasured2026-11-29 UTC
Qwen3-0.6BM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q4_K_M512 / 640364.0 tok/sMeasured2026-11-29 UTC
Qwen3-0.6BM4 Max 64 GBmlxmlx-lm 0.32.2 / mlx 0.32.54bit4,096 / 8,192356.5 tok/sMeasured2026-11-28 UTC
Qwen3-0.6BM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q8_0512 / 640354.9 tok/sMeasured2026-11-29 UTC
Qwen3-0.6BM4 Max 64 GBollama0.40.16Q4_K_M512 / 8,192354.1 tok/sMeasured2026-11-29 UTC
Qwen3-0.6BM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q5_K_M512 / 640343.5 tok/sMeasured2026-11-29 UTC
Qwen3-1.7BM4 Max 64 GBmlxmlx-lm 0.32.2 / mlx 0.32.54bit512 / 8,192313.2 tok/sMeasured2026-11-29 UTC
Qwen3-0.6BM4 Max 64 GBollama0.40.16Q4_K_M4,096 / 8,192268.6 tok/sMeasured2026-11-28 UTC
Qwen3-0.6BM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q8_04,096 / 4,224257.9 tok/sMeasured2026-11-29 UTC
Qwen3-1.7BM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q4_K_M512 / 640248.7 tok/sMeasured2026-11-29 UTC
Qwen3-1.7BM4 Max 64 GBollama0.40.16Q4_K_M512 / 8,192222.4 tok/sMeasured2026-11-29 UTC
Qwen3-1.7BM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q5_K_M512 / 640206.7 tok/sMeasured2026-11-29 UTC
Qwen3-1.7BM4 Max 64 GBmlxmlx-lm 0.32.2 / mlx 0.32.58bit512 / 8,192204.5 tok/sMeasured2026-11-29 UTC
Qwen3-1.7BM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q8_0512 / 640187.9 tok/sMeasured2026-11-29 UTC
Qwen3-0.6BM4 Max 64 GBmlxmlx-lm 0.32.2 / mlx 0.32.54bit16,384 / 32,768171.8 tok/sMeasured2026-11-28 UTC
Qwen3-4BM4 Max 64 GBmlxmlx-lm 0.32.2 / mlx 0.32.54bit512 / 8,192159.3 tok/sMeasured2026-11-29 UTC
gemma-3-4b-itM4 Max 64 GBmlxmlx-lm 0.32.2 / mlx 0.32.54bit512 / 8,192148.3 tok/sMeasured2026-11-29 UTC
Qwen3-0.6BM4 Max 64 GBollama0.40.16Q4_K_M16,384 / 32,768145.1 tok/sMeasured2026-11-28 UTC
Qwen3-0.6BM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q8_016,384 / 16,512143.8 tok/sMeasured2026-11-29 UTC
Qwen3-4BM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q4_K_M512 / 640133.4 tok/sMeasured2026-11-29 UTC
gemma-3-4b-itM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q4_K_M512 / 640131.9 tok/sMeasured2026-11-29 UTC
gemma-3-4b-itM4 Max 64 GBollama0.40.16Q4_K_M512 / 8,192117.3 tok/sMeasured2026-11-29 UTC
Qwen3-4BM4 Max 64 GBollama0.40.16Q4_K_M512 / 8,192116.8 tok/sMeasured2026-11-29 UTC
gemma-3-4b-itM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q5_K_M512 / 640104.2 tok/sMeasured2026-11-29 UTC
Qwen3-4BM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q5_K_M512 / 640103.1 tok/sMeasured2026-11-29 UTC
DeepSeek-R1-Distill-Qwen-7BM4 Max 64 GBmlxmlx-lm 0.32.2 / mlx 0.32.54bit512 / 8,19295.7 tok/sMeasured2026-11-29 UTC
Llama-3.1-8B-InstructM4 Max 64 GBmlxmlx-lm 0.32.2 / mlx 0.32.54bit512 / 8,19290.7 tok/sMeasured2026-11-29 UTC
Qwen3-4BM4 Max 64 GBmlxmlx-lm 0.32.2 / mlx 0.32.58bit512 / 8,19288.4 tok/sMeasured2026-11-29 UTC
Qwen3-8BM4 Max 64 GBmlxmlx-lm 0.32.2 / mlx 0.32.54bit512 / 8,19288.1 tok/sMeasured2026-11-29 UTC
gemma-3-4b-itM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q8_0512 / 64085.5 tok/sMeasured2026-11-29 UTC
Qwen3-4BM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q8_0512 / 64084.8 tok/sMeasured2026-11-29 UTC
DeepSeek-R1-Distill-Qwen-7BM4 Max 64 GBollama0.40.16Q4_K_M512 / 8,19282.9 tok/sMeasured2026-11-29 UTC
Llama-3.1-8B-InstructM4 Max 64 GBollama0.40.16Q4_K_M512 / 8,19276.9 tok/sMeasured2026-11-29 UTC
Mistral-Nemo-Instruct-2407M4 Max 64 GBollama0.40.16Q4_K_M512 / 8,19254.0 tok/sMeasured2026-11-29 UTC
Qwen3-14BM4 Max 64 GBollama0.40.16Q4_K_M512 / 8,19244.4 tok/sMeasured2026-11-29 UTC
phi-4M4 Max 64 GBollama0.40.16Q4_K_M512 / 8,19244.3 tok/sMeasured2026-11-29 UTC
DeepSeek-R1-Distill-Qwen-14BM4 Max 64 GBollama0.40.16Q4_K_M512 / 8,19244.1 tok/sMeasured2026-11-29 UTC

Model fit and limits

Open a configuration for the memory breakdown and its runtime conditions.

ModelEncoding / backendWindowOutcomeEvidence
SmolLM2-135M-InstructQ4_K_M · ollama8,192Fits GPU budgetEstimated
Qwen2.5-0.5B-InstructQ4_K_M · ollama8,192Fits GPU budgetEstimated
SmolLM2-360M-InstructQ4_K_M · ollama8,192Fits GPU budgetEstimated
gemma-3-1b-itQ4_K_M · ollama8,192Fits GPU budgetEstimated
Qwen3-0.6BQ8_0 · llama.cpp640Ran successfullyMeasured2026-11-29 · 1.1.0 (build 12774, commit 171527522)
Qwen3-1.7BQ8_0 · llama.cpp640Ran successfullyMeasured2026-11-29 · 1.1.0 (build 12774, commit 171527522)
gemma-3-4b-itQ8_0 · llama.cpp640Ran successfullyMeasured2026-11-29 · 1.1.0 (build 12774, commit 171527522)
DeepSeek-R1-Distill-Qwen-7B4bit · mlx8,192Ran successfullyMeasured2026-11-29 · mlx-lm 0.32.2 / mlx 0.32.5
Qwen3-4B8bit · mlx8,192Ran successfullyMeasured2026-11-29 · mlx-lm 0.32.2 / mlx 0.32.5
Llama-3.1-8B-Instruct4bit · mlx8,192Ran successfullyMeasured2026-11-29 · mlx-lm 0.32.2 / mlx 0.32.5
Qwen3-8B4bit · mlx8,192Ran successfullyMeasured2026-11-29 · mlx-lm 0.32.2 / mlx 0.32.5
gemma-3-12b-itQ4_K_M · ollama8,192Fits GPU budgetEstimated
Mistral-Nemo-Instruct-2407Q4_K_M · ollama8,192Ran successfullyMeasured2026-11-29 · 0.40.16
DeepSeek-R1-Distill-Qwen-14BQ4_K_M · ollama8,192Ran successfullyMeasured2026-11-29 · 0.40.16
Qwen3-14BQ4_K_M · ollama8,192Ran successfullyMeasured2026-11-29 · 0.40.16
phi-4Q4_K_M · ollama8,192Ran successfullyMeasured2026-11-29 · 0.40.16
gpt-oss-20bMXFP4 · ollama8,192Fits GPU budgetEstimated
Mistral-Small-24B-Instruct-2501Q4_K_M · ollama8,192Fits GPU budgetEstimated
Qwen3.6-27BQ4_K_M · ollama8,192Fits GPU budgetEstimated
Qwen3.8-27BQ4_K_M · ollama8,192Fits GPU budgetEstimated
gemma-3-27b-itQ4_K_M · ollama8,192Fits GPU budgetEstimated
Qwen3-30B-A3BQ4_K_M · ollama8,192Fits GPU budgetEstimated
Qwen3.6-35B-A3BQ4_K_M · ollama8,192Fits GPU budgetEstimated
Qwen3-32BQ4_K_M · ollama8,192Fits GPU budgetEstimated
DeepSeek-R1-Distill-Qwen-32BQ4_K_M · ollama8,192Fits GPU budgetEstimated
Llama-3.3-70B-InstructQ2_K · ollama8,192Fits GPU budgetEstimated
gpt-oss-120bMXFP4 · ollama8,192Exceeds GPU budgetEstimated

Frequently asked questions

How much memory can a model use?

The calculator budgets 65–75% of the 64 GB of unified memory for GPU work. Query the Metal recommended working set on the individual machine for a more specific limit.

What does the speed ranking measure?

The table sorts 38 records by output tokens per second. Prompt length, representation and runtime are shown beside each result.

Does a smaller model always decode faster?

Active parameters, quantization kernels, attention length and memory bandwidth all affect output speed. Compare runs under the same conditions.