Local AI Bench

Can You Run Qwen3-1.7B on M4 Max 64 GB?

Q8_0 · llama.cpp · 512-token input · 640-token context window

Ran successfully

Measured Run recorded 2026-11-29 UTC with llama.cpp 1.1.0 (build 12774, commit 171527522). The estimated working allocation is 2.8 GB for Qwen3-1.7B in Q8_0.

187.9 tok/s measured in llama.cpp 1.1.0 (build 12774, commit 171527522) on 2026-11-29 The GPU shares its 64 GB pool with macOS.

Adjust configuration
Estimated weights
1.8 GB
Estimated FP16 cache
0.1 GB
Estimated overhead
0.9 GB
Estimated GPU budget
41.6–48.0 GB

Context sensitivity

Estimated
Context capacityCacheTotal allocation
4,096 tokens0.47 GB3.28 GB
8,192 tokens0.94 GB3.79 GB
16,384 tokens1.88 GB4.83 GB
32,768 tokens3.76 GB6.89 GB

Recorded tests

Model / hardwareRuntimePrompt / windowDecodeSource
Qwen3-1.7BM4 Max 64 GBllama.cpp1.1.0 (build 12774, commit 171527522)Q8_0512 / 640187.9 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)Q5_K_M512 / 640206.7 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 GBmlxmlx-lm 0.32.2 / mlx 0.32.54bit512 / 8,192313.2 tok/sMeasured2026-11-29 UTC
Qwen3-1.7BM4 Max 64 GBollama0.40.16Q4_K_M512 / 8,192222.4 tok/sMeasured2026-11-29 UTC

Related profiles

Frequently asked questions

Does Qwen3-1.7B fit on M4 Max?

Ran successfully for Q8_0 with 640 context tokens. The verdict comes from an observed run.

How fast is generation?

187.9 tok/s measured in llama.cpp 1.1.0 (build 12774, commit 171527522) on 2026-11-29

How much difference does context make?

At 640 tokens, the estimated FP16 attention cache is 0.07 GB. The weight allocation stays around 1.83 GB when only context changes.