Comparisons of Small Open Source AI Models (4B-40B)
Open source AI models with between 4B to 40B parameters.
Models are considered open source (also commonly referred to as open weights) where their weights are accessible to download. This allows self-hosting on your own infrastructure and enables customizing the model such as through fine-tuning.
For more details including relating to our methodology, see our FAQs.
Highlights
Openness
Artificial Analysis Openness Index: Score
Intelligence
Artificial Analysis Intelligence Index
Intelligence Evaluations
Agentic real-world work tasks, (Elo-500)/2000
Agentic tool use
Agentic coding & terminal use
Coding
Reasoning & knowledge
Scientific reasoning
Physics reasoning
Knowledge
1 - hallucination rate
Long context reasoning
Agentic knowledge work, Elo
Agentic SaaS workflows
Legal agentic work, task all-pass rate
Agentic business operations
Instruction following
Long-horizon agentic tasks
Kubernetes incident root-cause analysis
Visual reasoning
Size
Model Size: Total and Active Parameters
Intelligence vs. Active Parameters
Intelligence vs. Total Parameters
Context Window
Context Window
Further details
Weights | Provider Benchmarks | ||||||||
|---|---|---|---|---|---|---|---|---|---|
Qwen3.6 27B (Reasoning) | 37 | 27.8B | 262k | $0.9 | 55 | +3 | |||
Qwen3.6 35B A3B (Reasoning) | 32 | 36B 3B active at inference time | 262k | $0.4 | 148 | +6 | |||
Qwen3.6 27B (Non-reasoning) | 30 | 27.8B | 262k | $0.9 | 57 | +2 | |||
Gemma 4 31B (Reasoning) | 29 | 30.7B | 256k | - | 36 | +9 | |||
Gemma 4 26B A4B (Reasoning) | 26 | 25.2B 3.8B active at inference time | 256k | $0.1 | - | +5 | |||
Qwen3.6 35B A3B (Non-reasoning) | 24 | 36B 3B active at inference time | 262k | $0.6 | 178 | +5 | |||
Qwen3.5 35B A3B (Non-reasoning) | 24 | 36B 3B active at inference time | 262k | $0.4 | 162 | ||||
EXAONE 4.5 33B | 23 | 34.4B | 262k | - | - | - | |||
Gemma 4 12B (Reasoning) | 22 | 12B | 256k | $0.1 | 108 | ||||
Gemma 4 31B (Non-reasoning) | 22 | 30.7B | 256k | $0.2 | 45 | +5 | |||
Qwen3.5 9B (Reasoning) | 21 | 9.7B | 262k | $0.1 | 58 | ||||
Nemotron Cascade 2 30B A3B | 21 | 31.6B 3B active at inference time | 1M | - | - | - |