Will it run? / Code Llama 70B / Mac Studio M5 Ultra (256GB)

Can the Mac Studio M5 Ultra (256GB) run Code Llama 70B?

Fast Yes, at about 25 tokens/sec (estimated). Replies stream faster than you can read.

25estimated tokens/sec
40.5 GBmemory needed
192 GBavailable to the model
1228.8 GB/smemory bandwidth
ollama run codellama:70b

Check the Mac Studio M5 Ultra (256GB) price →

How we got this number

Each generated token reads the whole model from memory once: 39 GB. The Mac Studio M5 Ultra (256GB) moves 1228.8 GB/s, so the ceiling is 32 tokens/sec. Real machines reach a fraction of that ceiling; we use 80%, calibrated against a measured Mac run. Send us your real numbers and we'll replace the estimate.

Faster machines for Code Llama 70B

Mac Studio M5 Ultra (96GB)25 tok/s$5,499Check price →
Mac Studio M5 Max (40-core GPU, 64GB)13 tok/s$3,799Check price →
Mac mini M5 Pro (64GB)6.3 tok/sCheck price →
NVIDIA DGX Spark (128GB)4.9 tok/sCheck price →

Other models on the Mac Studio M5 Ultra (256GB)

Nemotron 3.5 lightning 30B (A3B)Fast120+ tok/s
Gemma 3 12BFast120+ tok/s
Qwen 3 30B (A3B)Fast120+ tok/s
Gemma 4 26B (A4B)Fast120+ tok/s
Qwen3.5 35B (A3B)Fast120+ tok/s
Phi 3 14BFast120+ tok/s