Model comparison

GPT-4o mini vs Llama 3.1-70B

Llama 3.1-70B is the stronger model overall, scoring 29.6 to 25.5 on the Noometry Index. GPT-4o mini costs 1.5× less per token, which makes it the better buy when Llama 3.1-70B's lead doesn't matter for your workload.

Last verified . 34 shared benchmarks.

GPT-4o mini OpenAI

25.5

Rank #343 Confirmed

Llama 3.1-70B Meta

29.6

Rank #308 Confirmed

Summary

  • They share 34 benchmarks with published results for both. GPT-4o mini scores higher in 4 categories and Llama 3.1-70B in 5 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where Llama 3.1-70B leads 21.6 to 8.7.
  • The biggest single-benchmark swing is MATH Level 5: 52.6% for GPT-4o mini and 36.7% for Llama 3.1-70B.
  • GPT-4o mini is cheaper at $0.15 / $0.60 per million input/output tokens, against $0.40 / $0.40 for Llama 3.1-70B.
  • Llama 3.1-70B has downloadable open weights; the other is API-only.

Side by side

GPT-4o mini and Llama 3.1-70B specifications
GPT-4o miniLlama 3.1-70B
ProviderOpenAIMeta
Noometry Index25.529.6
Released2024-07-182024-07-23
WeightsProprietaryOpen
Context window128K128K
Max output16K4K
Input $ / M tokens$0.15$0.40
Output $ / M tokens$0.60$0.40
Results tracked6035

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

Category by category

Coding Llama 3.1-70B leads

GPT-4o mini: 22.0 (#335), Llama 3.1-70B: 30.3 (#296)

Coding benchmarks
BenchmarkGPT-4o miniLlama 3.1-70B
WeirdML11.8%9%
BigCodeBench Instruct46.1%46.1%
LMArena Coding12901260
BigCodeBench Complete57.4%54.8%
Aider Polyglot3.6%—
LiveBench Coding43.1%—
HumanEval+83.5%—
MBPP+72.2%—

Agentic & Tool Use GPT-4o mini leads

GPT-4o mini: 27.5 (#101), Llama 3.1-70B: 25.1 (#112)

Agentic & Tool Use benchmarks
BenchmarkGPT-4o miniLlama 3.1-70B
BALROG17.4%27.9%
TheAgentCompany—6.9%

Reasoning Llama 3.1-70B leads

GPT-4o mini: 8.7 (#347), Llama 3.1-70B: 21.6 (#220)

Reasoning benchmarks
BenchmarkGPT-4o miniLlama 3.1-70B
LMArena Hard Prompts12671241
DTBench54.4%60%
LMCA10.4%14.8%
Epoch Capabilities Index126.56125.92
ARC-AGI-20%—
SimpleBench10.7%—
Kagi LLM Benchmark28.8%—
Chess Puzzles0%—
LiveBench Reasoning32.8%—
Mystery Game Puzzles12%—
LiveBench Data Analysis50%—
LiveBench41.3%—
PIQA88.7%—

Math Llama 3.1-70B leads

GPT-4o mini: 10.4 (#314), Llama 3.1-70B: 13.5 (#304)

Math benchmarks
BenchmarkGPT-4o miniLlama 3.1-70B
OTIS Mock AIME 2024-20256.9%3.6%
Omni-MATH28%21%
LMArena Math12671252
MATH Level 552.6%36.7%
FrontierMath (Tiers 1-3)0.7%—
LiveBench Math36.3%—
GSM8K91.3%—

Knowledge Llama 3.1-70B leads

GPT-4o mini: 17.7 (#284), Llama 3.1-70B: 24.2 (#269)

Knowledge benchmarks
BenchmarkGPT-4o miniLlama 3.1-70B
GPQA Diamond37.7%44.2%
MMLU-Pro60.3%65.3%
GPQA (HELM)36.8%42.6%
LMArena Expert12351209
MMLU81.8%80.1%
SimpleQA Verified8.3%—
Confabulations37.2%—
BoolQ88.7%—

Multimodal Not comparable

GPT-4o mini: 25.9 (#122), Llama 3.1-70B: —

Multimodal benchmarks
BenchmarkGPT-4o miniLlama 3.1-70B
LMArena Vision1066—
Video-MME64.8%—
GeoBench64%—
VPCT34%—

Multilingual GPT-4o mini leads

GPT-4o mini: 42.0 (#199), Llama 3.1-70B: 38.8 (#225)

Multilingual benchmarks
BenchmarkGPT-4o miniLlama 3.1-70B
LMArena Non-English12661219
LMArena Chinese12651215
LMArena French12971261
LMArena German12721222
LMArena Japanese12161132
LMArena Korean11951140
LMArena Russian12751234
LMArena Spanish12761253

Instruction Following Llama 3.1-70B leads

GPT-4o mini: 61.9 (#239), Llama 3.1-70B: 65.3 (#223)

Instruction Following benchmarks
BenchmarkGPT-4o miniLlama 3.1-70B
IFEval78.2%82.1%
LMArena Instruction Following12581231
LiveBench Instruction Following56.8%—

Long Context GPT-4o mini leads

GPT-4o mini: 39.1 (#186), Llama 3.1-70B: 37.6 (#214)

Long Context benchmarks
BenchmarkGPT-4o miniLlama 3.1-70B
LMArena Longer Query12891241

Writing & Preference GPT-4o mini leads

GPT-4o mini: 39.5 (#248), Llama 3.1-70B: 35.4 (#267)

Writing & Preference benchmarks
BenchmarkGPT-4o miniLlama 3.1-70B
LMArena Text12861261
LMArena Creative Writing12681232
EQ-Bench Creative Writing873784
WildBench79.1%75.8%
LMArena Multi-Turn12851256
Short-Story Creative Writing67.2%—
LiveBench Language28.6%—

Frequently asked questions

Is GPT-4o mini better than Llama 3.1-70B?

Llama 3.1-70B is the stronger model overall, scoring 29.6 to 25.5 on the Noometry Index. GPT-4o mini costs 1.5× less per token, which makes it the better buy when Llama 3.1-70B's lead doesn't matter for your workload.

Which is cheaper, GPT-4o mini or Llama 3.1-70B?

GPT-4o mini is cheaper. It lists at $0.15 per million input tokens and $0.60 per million output tokens; Llama 3.1-70B lists at $0.40 and $0.40.

Is GPT-4o mini or Llama 3.1-70B better for coding?

Llama 3.1-70B scores higher on coding benchmarks: 30.3 versus 22.0 in the Noometry coding category.

Which has the bigger context window?

Both accept 128K tokens.

How many benchmarks do GPT-4o mini and Llama 3.1-70B share?

34 benchmarks have published results for both models. GPT-4o mini has 60 scored results on Noometry and Llama 3.1-70B has 35.

Related comparisons

Go deeper