The Model Index
Up to four models

Llama 3.1 vs GPT-4.1 nano

On the index (GPT-4 = 100), Llama 3.1 scores 110 and GPT-4.1 nano 109. Side by side on the same third-party tests, with price and context. The link in your address bar shares this exact comparison.

Next to Llama 3.1
Presets
Llama 3.1
11094–127
WeightsOpen
ReleasedJul 2024
Price in / out–
Context–
Core tests taken1 of 9
GPT-4.1 nano
10993–125
WeightsClosed
ReleasedApr 2025
Price in / out$0.10 / $0.40
Context1.05M
Core tests taken2 of 9

Llama 3.1 and GPT-4.1 nano are too close to call (1 point apart, within the uncertainty), ahead on 1 of 1 shared core tests.

Test by testthird-party results

Llama 3.1GPT-4.1 nano
0%25%50%75%100%REASONING & KNOWLEDGEGPQA Diamond (Epoch AI)GPQA Diamond (Epoch AI)MATHSAIME-style maths (OTIS mock)AIME-style maths (OTIS mock)MATH (level 5)MATH (level 5)CODINGWeirdMLWeirdMLAGENTSDTBenchDTBench
Every result as a table
TestLlama 3.1GPT-4.1 nano
Reasoning & knowledge
GPQA Diamond (Epoch AI)50.9%48.9%
Maths
AIME-style maths (OTIS mock)9.7%28.9%
MATH (level 5)49.8%70.0%
Coding
WeirdML21.4%19.0%
Agents
DTBench61.4%52.5%

Tests at least two of these models have taken. Bold rows are the core tests.

This page as a chartDownload PNG