← CanIRunLocal · All hardware · All models
Qwen 2.5 Coder 1.5B at Q8_0 on Mac Studio M5 Ultra (80c GPU) 512GB: 2.3 GB needed versus 384.0 GB usable; try ollama run qwen2.5-coder:1.5b-instruct-q8_0.
Yes. Qwen 2.5 Coder 1.5B fits in fast memory on Mac Studio M5 Ultra (80c GPU) 512GB at Q8_0 (2.3 GB needed, 384.0 GB usable), about 280 tok/s (estimate).
Hardware: Mac Studio M5 Ultra (80c GPU) 512GB · Model: Qwen 2.5 Coder 1.5B
Mac Studio M5 Ultra (80c GPU) 512GB has 512 GB of unified memory and 1200 GB/s of memory bandwidth. The checker leaves macOS a share of unified memory, so Ollama can use 384.0 GB. Qwen 2.5 Coder 1.5B (1.54B, Alibaba) at Q8_0 is a 1.6 GB download and needs 2.3 GB with headroom for about 8k tokens.
| Best quant | Q8_0 |
|---|---|
| Download size | 1.6 GB |
| Memory needed | 2.3 GB |
| Usable fast memory | 384.0 GB |
| Fit | fits in fast memory |
| Estimated speed | ~280 tok/s (estimate) |
| Command | ollama run qwen2.5-coder:1.5b-instruct-q8_0 |
| Weights at Q8_0 | 1.6 GB |
|---|---|
| Context / KV cache (~8k tokens) | 0.68 GB |
| Total needed | 2.3 GB |
| Usable unified memory | 384.0 GB |
| Headroom | 381.7 GB left |
Weights are the listed download size. The context line is the checker's allowance for about 8,192 tokens, not a measured KV cache. Total needed rounds that sum to 0.1 GB.
About 32,768 tokens (estimate). 8,192 × (382.4 GB left after the weights ÷ 0.68 GB for about 8,192 tokens). That product is past the model's own context, so the safe length stops at 32,768 tokens (32K). This scales the checker's context allowance. It is not a measured run.
Every quant this checker lists for the command below. Yes fits in fast memory with at least 1 GB spare. Tight means under 1 GB spare, partial offload, or a raised Mac GPU limit. Speeds are estimates from memory bandwidth, not measured benchmarks. How we estimate
| Quant | Size | Fits | Est. tok/s |
|---|---|---|---|
| Q8_0 picked | 1.6 GB | yes | ~280 |
| Q5_K_M | 1.1 GB | yes | ~325 |
| Q4_K_M | 0.99 GB | yes | ~337 |
Avoid 4-bit KV-cache compression (--kv-bits 4) on Qwen 2.5. It turned 3B's output into gibberish in testing. 8-bit kept output nearly identical but was 2–14% slower on MLX, so it only helps when you need the memory.
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. Speeds are for short chats. Long conversations (around 8k tokens) run about 10–15% slower because the model rereads its memory of the chat for every word. How we estimate. Data updated 2026-11-25.
A project by OnDevice Labs · llms.txt · How we estimate