Best Ollama models for coding
Code completion, small fixes and explanations without sending your code anywhere. Sorted by the memory your computer needs.
Checked 2 Dec 2026
16 GB
32 GB
Devstral Small 2 24B
ollama run devstral-small-2:24b Coding agents that edit several files
Gemma 4 26B (A4B)
ollama run gemma4:26b High-quality writing and editing
Qwen3.6 35B (A3B)
ollama run qwen3.6:35b Building and fixing small websites and scripts
Qwen3.8 27B
ollama run qwen3.8:27b Professional writing and research summaries
64 GB
128 GB +
Other jobs: Write and reply · Summarise · Chat with my files · Read images · Maths and reasoning
Get 25 prompts free
Join the weekly Drops email and get our prompt pack straight away: 25 ready-to-paste prompts for email, writing, social posts, admin and research. No spam, unsubscribe any time.