The local LLM landscape has changed rapidly. A year ago, running a capable model locally required enthusiast-grade hardware and significant quality compromises. In 2026, well-quantised 14B models run adequately on 16GB RAM machines, and the quality on coding and reasoning tasks is genuinely impressive. This Ollama model guide cuts through the noise and tells you which models to run, on what hardware, and why.
Reading Model Specs
Parameters
The parameter count (7B, 14B, 32B, 70B) is the rough capability indicator. More parameters generally means better reasoning at the cost of higher memory requirements and slower inference.
Quantisation
Quantised versions trade a small quality reduction for dramatic size reduction:
- Q4_K_M – 4-bit, medium quality. The sweet spot for most uses. ~55% of FP16 size.
- Q5_K_M – 5-bit, slightly better quality. ~65% of FP16 size.
- Q8_0 – 8-bit, near-full quality.
- IQ (iMatrix) – Importance-weighted quantisation. Often better than standard quants at same size.
RAM Requirements by Model Size (Q4_K_M)
# Approximate requirements:
# 7B: ~4-5GB (CPU: 8GB RAM, GPU: 6GB VRAM)
# 14B: ~9-10GB (CPU: 16GB RAM, GPU: 10GB VRAM)
# 32B: ~20GB (CPU: 32GB RAM, GPU: 24GB VRAM)
# 70B: ~40GB (CPU: 64GB RAM, GPU: 48GB+ VRAM)
ollama ps # Check memory usage
Best Models by Use Case (2026)
Coding – Qwen2.5-Coder
The best local coding model in 2026. Outperforms significantly larger general models on code tasks.
ollama pull qwen2.5-coder:7b # For 8GB RAM
ollama pull qwen2.5-coder:14b # Best quality/speed balance
ollama pull qwen2.5-coder:32b # Best results if hardware permits
ollama run qwen2.5-coder:14b
Coding – DeepSeek-Coder-V2
ollama pull deepseek-coder-v2:16b
Reasoning – DeepSeek-R1
Uses chain-of-thought reasoning (shows its thinking process). Excels at complex problem solving, maths, and multi-step reasoning.
ollama pull deepseek-r1:7b # Fast, surprisingly capable
ollama pull deepseek-r1:14b # Good balance
ollama pull deepseek-r1:32b # Excellent reasoning
General Purpose – Llama 3.x
ollama pull llama3.2:3b # Very fast, basic tasks
ollama pull llama3.2:8b # Good general purpose
ollama pull llama3.1:8b # Still excellent value
ollama pull llama3.3:70b # Best quality if hardware permits
Security/Pentesting Tasks
ollama pull qwen2.5-coder:14b # Code analysis, PoC writing
ollama pull deepseek-r1:14b # Attack chain reasoning
ollama pull llama3.1:8b # Quick lookups, fast turnaround
Ollama Commands
ollama list # List all pulled models
ollama pull qwen2.5-coder:14b # Pull a model
ollama run qwen2.5-coder:14b # Interactive session
ollama show qwen2.5-coder:14b # Details: size, parameters, quantisation
ollama rm llama2:7b # Remove a model
ollama cp qwen2.5-coder:14b my-model # Copy/rename
# Via API
curl http://localhost:11434/api/generate -d '{
"model": "qwen2.5-coder:14b",
"prompt": "Explain SSRF vulnerabilities",
"stream": false
}'
Hardware Recommendations
Minimum (8GB RAM, no GPU)
ollama pull llama3.2:3b # Fast
ollama pull qwen2.5-coder:7b # Coding
ollama pull mistral:7b # General
Recommended (16GB RAM or 8-10GB VRAM)
ollama pull qwen2.5-coder:14b
ollama pull deepseek-r1:14b
ollama pull phi4:14b
Ideal (32GB RAM or 24GB VRAM)
ollama pull qwen2.5-coder:32b
ollama pull deepseek-r1:32b
Apple Silicon Performance
Apple Silicon Macs use unified memory shared between CPU and GPU, making them uniquely efficient for local LLMs. An M2 Pro with 32GB unified memory handles 32B models smoothly. Ollama uses Metal GPU acceleration automatically on Apple Silicon.
Conclusion
For most developers in 2026: start with qwen2.5-coder:14b if you have 16GB RAM and want coding assistance, or llama3.2:8b for something faster and general-purpose. Add deepseek-r1:14b when you need to think through complex problems. The quality improvements over the past 18 months mean these are genuinely useful daily tools, not just impressive demos.

Leave a Reply
You must be logged in to post a comment.