Apple MacBook Air M2 24GB

Can it run local AI models? Check which LLMs work best with 24GB RAM.

Specifications

RAM
24 GB
Form Factor
laptop
Year
2022

Recommended Models

Top 10 models ranked by performance. Click any model to expand details or view full compatibility.

Memory Usage21.4 GB
Weights
KV Cache
Overhead
Context Length131,072 tokens
Install with Ollama:
ollama run qwen3:30b-a3b
View full compatibility
Memory Usage16.6 GB
Weights
KV Cache
Overhead
Context Length32,768 tokens
Install with Ollama:
ollama run gpt-oss:20b
View full compatibility
Memory Usage13.2 GB
Weights
KV Cache
Overhead
Context Length16,384 tokens
Install with Ollama:
ollama run gemma3:12b
View full compatibility
Memory Usage9.2 GB
Weights
KV Cache
Overhead
Context Length131,072 tokens
Install with Ollama:
ollama run mistral-nemo
View full compatibility
Memory Usage7.4 GB
Weights
KV Cache
Overhead
Context Length131,072 tokens
Install with Ollama:
ollama run qwen3:8b-q5_k_m
View full compatibility
Memory Usage7.4 GB
Weights
KV Cache
Overhead
Context Length131,072 tokens
Install with Ollama:
ollama run deepseek-r1:8b-q5_k_m
View full compatibility
Memory Usage7.3 GB
Weights
KV Cache
Overhead
Context Length131,072 tokens
Install with Ollama:
ollama run llama3.1:8b-q5_k_m
View full compatibility
Memory Usage7.2 GB
Weights
KV Cache
Overhead
Context Length131,072 tokens
Install with Ollama:
ollama run qwen2.5:7b-q5_k_m
View full compatibility
Memory Usage7.2 GB
Weights
KV Cache
Overhead
Context Length131,072 tokens
Install with Ollama:
ollama run qwen2.5-coder:7b-q5_k_m
View full compatibility
Memory Usage4.9 GB
Weights
KV Cache
Overhead
Context Length131,072 tokens
Install with Ollama:
ollama run qwen3:4b-q5_k_m
View full compatibility