Local AI Guide
Run AI on Your MacBook Air M5
The complete guide to running open-source AI models locally on a 32GB MacBook Air. Zero cloud costs, total privacy, production-ready workflows.
MacBook Air M5 — AI Workstation Specs
Your hardware, your data, your models. Zero cloud costs during development.
Setup Guide — From Zero to Running Models
# Check your chip and RAMsystem_profiler SPHardwareDataType | grep -E 'Chip|Memory'# Expected output:# Chip: Apple M5# Memory: 32 GB# Check available disk space (need 50-100GB free)df -h /
Memory & Storage Management
The 75% Rule
Keep total model RAM under 24GB (75% of 32GB). The remaining 8GB is needed for macOS, apps, and Metal GPU overhead. Exceeding this causes memory swapping to SSD, which tanks performance.
Check Real-Time Usage
Use Activity Monitor → Memory tab to watch memory pressure. Green = good. Yellow = model too large. Red = swap city, kill the model.
Quantization Sweet Spots
Q4_K_M is the default recommendation — it cuts model size by ~75% with minimal quality loss. Q5_K_M gives ~5% better quality for ~25% more RAM. Only use Q8_0 for small models (≤8B).
1TB Storage Strategy
Budget ~100GB for AI models. Store 3-4 go-to models permanently, and rotate larger experimental models. Ollama models live in ~/.ollama, MLX models in ~/.cache/huggingface.
Close Competing Apps
When running 28GB+ models (like Mixtral), close Chrome/Arc, Docker, and Electron apps first. Each Chrome tab uses 100-300MB. Those 30 tabs? That's your 70B model.
Thermal Management
The M5 MacBook Air has no fan. During sustained inference, it may thermal throttle. For long-running tasks (fine-tuning, bulk processing), use a laptop stand with airflow or a cooling pad.
READY TO PUT AI TO WORK?
Adopt AI. Let federal programs help finance it.
Answer five questions to see what funding you may be eligible for — or book a free call.