← CanIRunLocal · All hardware · All models

Can a M3 Max (30c GPU) 36GB run Code Llama 7B?

Yes. Code Llama 7B fits in fast memory on M3 Max (30c GPU) 36GB at Q8_0 (8.1 GB needed, 27.0 GB usable), about 33 tok/s (estimate).

Hardware: M3 Max (30c GPU) 36GB · Model: Code Llama 7B

M3 Max (30c GPU) 36GB has 36 GB of unified memory and 300 GB/s of memory bandwidth. The checker leaves macOS a share of unified memory, so Ollama can use 27.0 GB. Code Llama 7B (6.74B, Meta) at Q8_0 is a 7.2 GB download and needs 8.1 GB with headroom for about 8k tokens.

Best quantQ8_0
Download size7.2 GB
Memory needed8.1 GB
Usable fast memory27.0 GB
Fitfits in fast memory
Estimated speed~33 tok/s (estimate)
Commandollama run codellama:7b-instruct-q8_0
Open M3 Max (30c GPU) 36GB in the checker

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Data updated 2026-10-23.

A project by OnDevice Labs · llms.txt