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.

Alibaba logoQwen3.8 27B (xhigh) and Alibaba logoQwen3.8 27B (medium) are the highest intelligence Small open source models, defined as those with 4B-40B parameters, followed by Alibaba logoQwen3.8 27B (low) & Institute of Foundation Models logoK2 Horizon MoVA 36B A4B.
Artificial Analysis Openness Index · Higher is better
Artificial Analysis Intelligence Index · Higher is better
Trainable parameters in billions

Openness

Artificial Analysis Openness Index: Score

Openness Index assesses model openness on a 0 to 100 normalized scale (higher is more open)

Intelligence

Artificial Analysis Intelligence Index

Artificial Analysis Intelligence Index v4.3.2 incorporates 10 evaluations: AA-Briefcase v1.1, GDPval-AA v2.1, AutomationBench-AA, Terminal-Bench 4.0, SciCode, Humanity's Last Exam, GDP.pdf, CritPt, AA-Omniscience, AA-LCR v1.1
Estimate (independent evaluation forthcoming)

Evaluations

Intelligence evaluations measured independently by Artificial Analysis · Higher is better
See more

Agentic knowledge work, (Elo-500)/2000

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

SciCodeUnder review

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

No data available

Agentic business operations

Agentic interactive 3D experiences, (Elo-500)/2000

No data available

Kubernetes incident root-cause analysis

MLCR-AAUpdated

Medical long context reasoning

Visual reasoning

Size

Model Size: Total and Active Parameters

Comparison between total model parameters and parameters active during inference (billions)

Intelligence Index vs. Active Parameters

Artificial Analysis Intelligence Index · Active parameters at inference time (billions)
Most attractive quadrant
Pareto line

Intelligence Index vs. Total Parameters

Artificial Analysis Intelligence Index · Size in parameters (billions)
Most attractive quadrant
Pareto line

Context Window

Context Window

Context window: tokens limit · Higher is better

Further details

Weights
Provider Benchmarks
Qwen3.8 27B (Xhigh)
Alibaba logoAlibaba
34
27B
256k
$0.5
42
DeepInfraSelf-hostedCoreWeave
+9
Qwen3.8 27B (Medium)
Alibaba logoAlibaba
28
27B
256k
$0.5
49
Alibaba Cloud
Qwen3.8 27B (Low)
Alibaba logoAlibaba
26
27B
256k
$0.5
51
Alibaba Cloud
K2 Horizon MoVA 36B A4B
Institute of Foundation Models logoInstitute of Foundation Models
25
36B
4B active at inference time
524k
-
-
-
G9v3-39A5B
AI9Stars logoAI9Stars
22
39B
5B active at inference time
131k
-
-
-
K2 Horizon 7B
Institute of Foundation Models logoInstitute of Foundation Models
21
7B
524k
-
-
-
Qwen3.8 27B (Non-reasoning)
Alibaba logoAlibaba
20
27B
256k
$0.5
46
Alibaba CloudMultiverse ComputingWafer
+3
Qwen3.6 35B A3B (Reasoning)
Alibaba logoAlibaba
18
36B
3B active at inference time
262k
$0.6
140
Alibaba CloudSiliconFlowDeepInfra
+5
Muse Glimmer (High)
Meta logoMeta
17
30B
131k
$0.2
124
Together AIDeepInfraSystalyzeSelf-hosted
Gemma 4 26B A4B (Reasoning)
Google logoGoogle
17
25.2B
3.8B active at inference time
256k
$0.1
79
NovitaGoogleSystalyze
+4
Qwen3.6 35B A3B (Non-reasoning)
Alibaba logoAlibaba
15
36B
3B active at inference time
262k
$0.6
156
ScalewayCoreWeaveDeepInfra
+4
Gemma 4 31B (Reasoning)
Google logoGoogle
15
30.7B
256k
$0
36
CoreWeaveModularNovita
+9