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

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

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

52estimated tokens/sec
20.5 GBmemory needed
192 GBavailable to the model
1228.8 GB/smemory bandwidth
ollama run codellama:34b

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

How we got this number

Each generated token reads the whole model from memory once: 19 GB. The Mac Studio M5 Ultra (256GB) moves 1228.8 GB/s, so the ceiling is 65 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 34B

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

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

ornith 1.5 9BFast120+ tok/s
Granite 4.2 8BFast120+ tok/s
Nemotron 3.5 lightning 30B (A3B)Fast120+ tok/s
ornith 9BFast120+ tok/s
lfm 2.5 8B (A1B)Fast120+ tok/s
minicpm v4.5 8BFast120+ tok/s