Cohere on Apple M4

Can I run Command R 35B on an Mac Studio M4 Max 128GB?

Yes. Command R 35B at Q4_K_M uses 30.7 GB of the 96.0 GB available on a Mac Studio M4 Max 128GB, and runs at about 14.0 tokens per second. You can push the context to 60K.

Runs comfortably

30.7 GB of 96.0 GB · 32%
096 GB
Weights 20.1 GB
KV cache 10.0 GB
Runtime overhead 0.6 GB

Command R 35B at Q4_K_M leaves 65.3 GB spare on a Mac Studio M4 Max 128GB. There is room to raise the context length or move up a quantisation level.

Generation14.0tok/s
Prompt processing204tok/s
Max context60Ktokens
KV per 1K tokens0GB

Every quantisation of Command R 35B on a Mac Studio M4 Max 128GB

Highlighted row is the highest quality that still fits at 8K context.

QuantisationbpwWeights TotalVerdictMax ctxtok/s
FP16 / BF16 16.00 65.2 GB 75.7 GB Runs comfortably 24K 5.00
INT8 / W8A8 8.50 33.7 GB 44.3 GB Runs comfortably 49K 9.07
Q8_0 (GGUF) 8.50 33.7 GB 44.3 GB Runs comfortably 49K 9.07
FP8 (E4M3) 8.00 32.6 GB 43.2 GB Runs comfortably 50K 9.33
Q6_K 6.56 26.7 GB 37.3 GB Runs comfortably 55K 11.0
Q5_K_M 5.67 23.1 GB 33.7 GB Runs comfortably 58K 12.5
AWQ 4-bit 4.25 23.0 GB 33.6 GB Runs comfortably 58K 12.5
GPTQ 4-bit 4.25 23.0 GB 33.6 GB Runs comfortably 58K 12.5
MXFP4 4.25 23.0 GB 33.6 GB Runs comfortably 58K 12.5
Q5_K_S 5.52 22.5 GB 33.1 GB Runs comfortably 58K 12.7
Q4_K_M 4.85 20.1 GB 30.7 GB Runs comfortably 60K 14.0
Q4_K_S 4.58 19.1 GB 29.7 GB Runs comfortably 61K 14.5
Q4_0 4.55 19.0 GB 29.6 GB Runs comfortably 61K 14.6
IQ4_XS 4.25 17.9 GB 28.5 GB Runs comfortably 62K 15.3
Q3_K_M 3.91 16.7 GB 27.3 GB Runs comfortably 63K 16.1
IQ3_M 3.70 15.9 GB 26.5 GB Runs comfortably 64K 16.7
IQ3_XXS 3.06 13.7 GB 24.2 GB Runs comfortably 65K 18.8
Q2_K 2.63 12.1 GB 22.7 GB Runs comfortably 67K 20.4
IQ2_XXS 2.06 10.1 GB 20.7 GB Runs comfortably 68K 23.2
IQ1_M 1.75 9.0 GB 19.5 GB Runs comfortably 69K 25.0

Also worth checking