Model comparison

GPT-4.1 nano vs StarCoder 2 7B

GPT-4.1 nano has enough public results to be ranked (#322); StarCoder 2 7B does not yet, so treat this comparison as directional.

Last verified . 1 shared benchmarks.

GPT-4.1 nano OpenAI

27.7

Rank #322 Confirmed

StarCoder 2 7B NVIDIA

36.5

Unranked Sparse

Summary

  • They share 1 benchmark with published results for both. GPT-4.1 nano scores higher in 0 categories and StarCoder 2 7B in 1 category; one gap is clear of the uncertainty.
  • The widest gap is in coding, where StarCoder 2 7B leads 34.2 to 23.8.
  • StarCoder 2 7B has downloadable open weights; the other is API-only.

Side by side

GPT-4.1 nano and StarCoder 2 7B specifications
GPT-4.1 nanoStarCoder 2 7B
ProviderOpenAINVIDIA
Noometry Index27.736.5
Released2025-04-142024-02-20
WeightsProprietaryOpen
Context window1.05M—
Max output33K—
Input $ / M tokens$0.10—
Output $ / M tokens$0.40—
Results tracked387

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding StarCoder 2 7B leads

GPT-4.1 nano: 23.8 (#325), StarCoder 2 7B: 34.2

Coding benchmarks
BenchmarkGPT-4.1 nanoStarCoder 2 7B
Aider Polyglot8.9%—
SciCode25.9%—
WeirdML19%—
LMArena Coding1306—
BigCodeBench Complete—27.7%
HumanEval+—29.9%

Agentic & Tool Use Not comparable

GPT-4.1 nano: 26.3 (#98), StarCoder 2 7B: —

Agentic & Tool Use benchmarks
BenchmarkGPT-4.1 nanoStarCoder 2 7B
Berkeley Function Calling Leaderboard33%—

Reasoning Not comparable

GPT-4.1 nano: 8.6 (#344), StarCoder 2 7B: —

Reasoning benchmarks
BenchmarkGPT-4.1 nanoStarCoder 2 7B
Epoch Capabilities Index129.6292.92
ARC-AGI-20%—
Kagi LLM Benchmark33.3%—
ARC-AGI-10%—
CritPt0%—
LMArena Hard Prompts1286—
DTBench52.5%—
LMCA5.5%—
WinoGrande—57.1%

Math Not comparable

GPT-4.1 nano: 25.5 (#246), StarCoder 2 7B: —

Math benchmarks
BenchmarkGPT-4.1 nanoStarCoder 2 7B
OTIS Mock AIME 2024-202528.9%—
Omni-MATH36.7%—
LMArena Math1274—
MATH Level 570%—
FrontierMath (Feb 2025 set)1%—
GSM8K—32.7%

Knowledge Not comparable

GPT-4.1 nano: 21.8 (#268), StarCoder 2 7B: —

Knowledge benchmarks
BenchmarkGPT-4.1 nanoStarCoder 2 7B
GPQA Diamond48.9%—
SimpleQA Verified6%—
MMLU-Pro55%—
GPQA (HELM)50.7%—
LMArena Expert1272—
ARC (AI2) Challenge—38.7%
MMLU—38.8%

Multimodal Not comparable

GPT-4.1 nano: 28.6 (#108), StarCoder 2 7B: —

Multimodal benchmarks
BenchmarkGPT-4.1 nanoStarCoder 2 7B
LMArena Vision1063—

Multilingual Not comparable

GPT-4.1 nano: 41.8 (#200), StarCoder 2 7B: —

Multilingual benchmarks
BenchmarkGPT-4.1 nanoStarCoder 2 7B
LMArena Non-English1260—
LMArena Chinese1270—
LMArena German1288—
LMArena Japanese1199—
LMArena Russian1261—

Instruction Following Not comparable

GPT-4.1 nano: 68.0 (#188), StarCoder 2 7B: —

Instruction Following benchmarks
BenchmarkGPT-4.1 nanoStarCoder 2 7B
IFEval84.3%—
LMArena Instruction Following1267—

Long Context Not comparable

GPT-4.1 nano: 23.7 (#291), StarCoder 2 7B: —

Long Context benchmarks
BenchmarkGPT-4.1 nanoStarCoder 2 7B
Fiction.LiveBench25%—
LMArena Longer Query1283—

Writing & Preference Not comparable

GPT-4.1 nano: 40.7 (#238), StarCoder 2 7B: —

Writing & Preference benchmarks
BenchmarkGPT-4.1 nanoStarCoder 2 7B
LMArena Text1285—
LMArena Creative Writing1260—
EQ-Bench Creative Writing946—
WildBench81.2%—
LMArena Multi-Turn1277—

Frequently asked questions

Is GPT-4.1 nano better than StarCoder 2 7B?

GPT-4.1 nano has enough public results to be ranked (#322); StarCoder 2 7B does not yet, so treat this comparison as directional.

Is GPT-4.1 nano or StarCoder 2 7B better for coding?

StarCoder 2 7B scores higher on coding benchmarks: 34.2 versus 23.8 in the Noometry coding category.

How many benchmarks do GPT-4.1 nano and StarCoder 2 7B share?

1 benchmark has published results for both models. GPT-4.1 nano has 38 scored results on Noometry and StarCoder 2 7B has 7.

Related comparisons

Go deeper