Model comparison

GPT-4.1 vs StarCoder 2 7B

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

Last verified . 1 shared benchmarks.

GPT-4.1 OpenAI

35.9

Rank #219 Confirmed

StarCoder 2 7B NVIDIA

37.0

Unranked Sparse

Summary

  • They share 1 benchmark with published results for both. GPT-4.1 scores higher in 0 categories and StarCoder 2 7B in 1 category, but none of those gaps is larger than the uncertainty.
  • StarCoder 2 7B has downloadable open weights; the other is API-only.

Side by side

GPT-4.1 and StarCoder 2 7B specifications
GPT-4.1StarCoder 2 7B
ProviderOpenAINVIDIA
Noometry Index35.937.0
Released2025-04-142024-02-20
WeightsProprietaryOpen
Context window1.05M—
Max output33K—
Input $ / M tokens$2—
Output $ / M tokens$8—
Results tracked527

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

Category by category

Coding Too close to call

GPT-4.1: 34.4 (#238), StarCoder 2 7B: 34.8

Coding benchmarks
BenchmarkGPT-4.1StarCoder 2 7B
SWE-bench Verified48.5%—
SWE-bench Verified (bash only)39.6%—
Aider Polyglot52.4%—
WeirdML39%—
LMArena Coding1391—
BigCodeBench Complete—27.7%
CadEval42%—
ALE-Bench558.1—
HumanEval+—29.9%

Agentic & Tool Use Not comparable

GPT-4.1: 34.7 (#43), StarCoder 2 7B: —

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

Reasoning Not comparable

GPT-4.1: 11.7 (#339), StarCoder 2 7B: —

Reasoning benchmarks
BenchmarkGPT-4.1StarCoder 2 7B
Epoch Capabilities Index136.7893.56
ARC-AGI-20.4%—
SimpleBench27%—
Kagi LLM Benchmark52.3%—
ARC-AGI-15.5%—
Chess Puzzles6%—
EnigmaEval2.2%—
LMArena Hard Prompts1384—
DTBench68.3%—
LMCA25.6%—
ForecastBench61.5—
WinoGrande—57.1%

Math Not comparable

GPT-4.1: 22.3 (#280), StarCoder 2 7B: —

Math benchmarks
BenchmarkGPT-4.1StarCoder 2 7B
FrontierMath (Tiers 1-3)6%—
OTIS Mock AIME 2024-202538.3%—
Omni-MATH47.1%—
LMArena Math1370—
MATH Level 583%—
FrontierMath (Feb 2025 set)5.5%—
FrontierMath Tier 4 (v1)0%—
GSM8K—32.7%

Knowledge Not comparable

GPT-4.1: 37.1 (#160), StarCoder 2 7B: —

Knowledge benchmarks
BenchmarkGPT-4.1StarCoder 2 7B
GPQA Diamond66.9%—
Humanity's Last Exam5.4%—
SimpleQA Verified31.1%—
MMLU-Pro81.1%—
Vectara Hallucination Rate5.6%—
GPQA (HELM)65.9%—
LMArena Expert1364—
ARC (AI2) Challenge—38.7%
MMLU—38.8%

Multimodal Not comparable

GPT-4.1: 38.2 (#67), StarCoder 2 7B: —

Multimodal benchmarks
BenchmarkGPT-4.1StarCoder 2 7B
LMArena Vision1211—
GeoBench72%—

Multilingual Not comparable

GPT-4.1: 49.4 (#133), StarCoder 2 7B: —

Multilingual benchmarks
BenchmarkGPT-4.1StarCoder 2 7B
LMArena Non-English1370—
LMArena Chinese1382—
LMArena French1382—
LMArena German1381—
LMArena Japanese1319—
LMArena Korean1339—
LMArena Russian1377—
LMArena Spanish1376—

Instruction Following Not comparable

GPT-4.1: 71.3 (#153), StarCoder 2 7B: —

Instruction Following benchmarks
BenchmarkGPT-4.1StarCoder 2 7B
IFEval83.8%—
LMArena Instruction Following1367—

Long Context Not comparable

GPT-4.1: 40.0 (#163), StarCoder 2 7B: —

Long Context benchmarks
BenchmarkGPT-4.1StarCoder 2 7B
Fiction.LiveBench63.9%—
LMArena Longer Query1385—

Writing & Preference Not comparable

GPT-4.1: 57.6 (#125), StarCoder 2 7B: —

Writing & Preference benchmarks
BenchmarkGPT-4.1StarCoder 2 7B
LMArena Text1383—
LMArena Creative Writing1363—
EQ-Bench Creative Writing1420—
WildBench85.4%—
LMArena Multi-Turn1398—

Frequently asked questions

Is GPT-4.1 better than StarCoder 2 7B?

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

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

They score almost the same on coding (34.4 vs 34.8); test both on your own repository before choosing.

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

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

Related comparisons

Go deeper