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.
Openness
Artificial Analysis Openness Index: Score
Intelligence
Artificial Analysis Intelligence Index
Evaluations
Agentic knowledge work, (Elo-500)/2000
Knowledge
1 - hallucination rate
Agentic SaaS workflows
Agentic real-world work tasks, (Elo-500)/2000
Reasoning & knowledge
Professional document reasoning, All-pass
Agentic coding & terminal use
Long context reasoning
Coding
Physics reasoning
Agentic scientific research workflows in a terminal
Agentic software engineering in open-source repositories
Quantitative analysis on spreadsheets & documents
Legal agentic work, Hallucination-Gated All-Pass Rate
Agentic business operations
Agentic interactive 3D experiences, (Elo-500)/2000
Kubernetes incident root-cause analysis
Medical long context reasoning
Visual reasoning
Size
Model Size: Total and Active Parameters
Intelligence Index vs. Active Parameters
Intelligence Index vs. Total Parameters
Context Window
Context Window
Further details
Weights | Provider Benchmarks | ||||||||
|---|---|---|---|---|---|---|---|---|---|
Qwen3.8 27B (Xhigh) | 34 | 27B | 256k | $0.5 | 42 | +9 | |||
Qwen3.8 27B (Medium) | 28 | 27B | 256k | $0.5 | 49 | ||||
Qwen3.8 27B (Low) | 26 | 27B | 256k | $0.5 | 51 | ||||
K2 Horizon MoVA 36B A4B | 25 | 36B 4B active at inference time | 524k | - | - | - | |||
G9v3-39A5B | 22 | 39B 5B active at inference time | 131k | - | - | - | |||
K2 Horizon 7B | 21 | 7B | 524k | - | - | - | |||
Qwen3.8 27B (Non-reasoning) | 20 | 27B | 256k | $0.5 | 46 | +3 | |||
Qwen3.6 35B A3B (Reasoning) | 18 | 36B 3B active at inference time | 262k | $0.6 | 140 | +5 | |||
Muse Glimmer (High) | 17 | 30B | 131k | $0.2 | 124 | ||||
Gemma 4 26B A4B (Reasoning) | 17 | 25.2B 3.8B active at inference time | 256k | $0.1 | 79 | +4 | |||
Qwen3.6 35B A3B (Non-reasoning) | 15 | 36B 3B active at inference time | 262k | $0.6 | 156 | +4 | |||
Gemma 4 31B (Reasoning) | 15 | 30.7B | 256k | $0 | 36 | +9 |