Can Mac Studio M5 Max (128 GB) run Command R+ 104B?

Yes. Mac Studio M5 Max (128 GB) runs Command R+ 104B at Q4_K_M with a 16K context, using 65.8 GB of 98.0 GB usable memory at an estimated 9.0–12.2 tok/s. The largest context that still fits at Q4_K_M is 128K.

Asking through an AI agent? Point it at llms.txt or the JSON API.

Open in calculator
Fits comfortablyQ4_K_M · 16K context
9.0–12.2 tok/s
65.8 GBof 98.0 GB usable memory
67% used
Weights58.4 GBKV cache4.0 GBOverhead3.4 GB
32.2 GB free

Every quantization on Studio M5 Max 128GB

Q4_K_M (4-bit)
command-r-plus:104b-08-2024-q4_K_M
58.4 GB
real file size
65.8 GBFits comfortably128K
9.0–12.2 tok/s
Calibrated
Q6_K (6-bit)
command-r-plus:104b-08-2024-q6_K
79.3 GB
real file size
87.6 GBTight fit32K
6.4–8.6 tok/s
Calibrated
Q8_0 (8-bit)
command-r-plus:104b-q8_0
103 GB
real file size
112 GBPartial offload—
1.5–3.4 tok/s
Estimate
FP16 / BF16 (16-bit)
command-r-plus:104b-fp16
193 GB
real file size
203 GBToo large—
—

Mac Studio M5 Max (128 GB) has 98.0 GB usable for models out of 128 GB of unified memory. Max context is the longest window that still loads without spilling out of that memory. The label under each speed says whether it was measured, scaled from measurements on this hardware, or modelled.

Command R+ 104B on Studio M5 Max 128GB by runtime

Command
Ollama
Q4_K_M
command-r-plus:104b-08-2024-q4_K_M
58.4 GB
real file size
65.8 GBFits comfortably9.0–12.2 tok/s
LM Studio
Q4_K_M
lmstudio-community/c4ai-command-r-plus-08-2024-GGUF
58.4 GB
real file size
65.8 GBFits comfortably9.0–12.2 tok/sNot in LM Studio's catalog. Search for lmstudio-community/c4ai-command-r-plus-08-2024-GGUF in the app's Discover tab.
llama.cpp
Q4_K_M
lmstudio-community/c4ai-command-r-plus-08-2024-GGUF
58.4 GB
real file size
65.8 GBFits comfortably9.0–12.2 tok/s
MLX
4-bit
mlx-community/c4ai-command-r-plus-08-2024-4bit
54.4 GB
real file size
61.6 GBFits comfortably6.8–11.3 tok/s

Each runtime loads its own build, so sizes differ. Ollama, LM Studio and llama.cpp use GGUF files, MLX its own format. Numbers above this table are for Ollama.

Cost per 1M tokens at 1M tokens/day

Local on Studio M5 Max 128GB
$4.89

$5.17/mo power + $5,100 hardware over 36 months

Rented cloud GPU
$9.73

1x A100 SXM (80 GB) on RunPod at $1.39/hr

OpenRouter API
$4.38

$2.50 in / $10.00 out per 1M

Counting the hardware, running locally beats the API above 1.1M tokens/day. Assumes 75% input and 25% output tokens, one request at a time. Rent on RunPod · Open on OpenRouter

Questions and answers

Can Mac Studio M5 Max (128 GB) run Command R+ 104B?

Yes. Mac Studio M5 Max (128 GB) runs Command R+ 104B at Q4_K_M with a 16K context, using 65.8 GB of 98.0 GB usable memory at an estimated 9.0–12.2 tok/s. The largest context that still fits at Q4_K_M is 128K.

How fast is Command R+ 104B on Mac Studio M5 Max (128 GB)?

About 9.0–12.2 tok/s at Q4_K_M. Scaled from 3 published llama.cpp measurements on this chip.

How much context can Command R+ 104B use on Mac Studio M5 Max (128 GB)?

At Q4_K_M the largest context that fits is 128K tokens. Q6_K: 32K.