← CanIRunLocal · All hardware

What local LLMs run on M3 8GB?

With 8 GB unified memory (about 5.4 GB usable by the GPU), these are the best open models that fit. The top pick is Phi-4 Mini 3.8B at Q8_0 (~4.9 GB, ~20 tok/s): ollama run phi4-mini:3.8b-q8_0.

Best for coding: Code Llama 7B (codellama:7b-instruct-q4_K_M), Qwen 2.5 Coder 1.5B (qwen2.5-coder:1.5b-instruct-q8_0).

Runtimes available for this hardware: Ollama, LM Studio, llama.cpp, MLX.

Open the interactive checker for M3 8GB
#ModelQuantMemory neededFitSpeedCommand
1Phi-4 Mini 3.8BQ8_04.9 GBfits in fast memory~20 tok/sollama run phi4-mini:3.8b-q8_0
2Gemma 3 4BQ4_K_M4.2 GBfits in fast memory~24 tok/sollama run gemma3:4b
3Qwen3 4BQ8_05.2 GBfits in fast memory~18 tok/sollama run qwen3:4b-q8_0
4Llama 3.2 3BQ8_04.2 GBfits in fast memory~24 tok/sollama run llama3.2:3b-instruct-q8_0
5DeepSeek R1 Distill Qwen 1.5BQ8_02.6 GBfits in fast memory~42 tok/sollama run deepseek-r1:1.5b-qwen-distill-q8_0
6Qwen3 1.7BQ8_02.9 GBfits in fast memory~36 tok/sollama run qwen3:1.7b-q8_0
7Llama 3.2 1BQ8_02 GBfits in fast memory~62 tok/sollama run llama3.2:1b
8Gemma 3 1BQ8_01.8 GBfits in fast memory~73 tok/sollama run gemma3:1b-it-q8_0
9tev1 4B (Together AI, decision)Default5.2 GBfits in fast memory~18 tok/sollama run tev1:4b
10Qwen3 0.6BQ8_01.5 GBfits in fast memory~96 tok/sollama run qwen3:0.6b-q8_0
11Code Llama 7BQ4_K_M5 GBfits in fast memory~20 tok/sollama run codellama:7b-instruct-q4_K_M
12Qwen 2.5 3BQ8_04.1 GBfits in fast memory~24 tok/sollama run qwen2.5:3b-instruct-q8_0

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-14.

A project by OnDevice Labs · llms.txt