Enter opens the highlighted result. Esc closes.

Gemma 3 27B vs Llama 3.1 70B Instruct

Llama 3.1 70B Instruct leads Gemma 3 27B on the Artificial Analysis Intelligence Index, 6.6 to 4.9, and Gemma 3 27B costs 1.9x less per output token ($0.30 vs $0.56 per million). Updated October 22, 2026; 43 benchmarks have a result for both.

Gemma 3 27BGoogle
Coding
No data
Overall
31.4
Output $/M
$0.30
35
Llama 3.1 70B InstructMeta Llama
Coding
No data
Overall
24.3
Output $/M
$0.56
8
vs boards won of 43 shared

Gemma 3 27B or Llama 3.1 70B Instruct: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Gemma 3 27B for output tokens 1.9x cheaper ($0.30 vs $0.56 per million) and work measured by LiveCodeBench (Artificial Analysis run) or AA Intelligence Index, where it leads.

Shared results
43
Gemma 3 27B only
23
Llama 3.1 70B Instruct only
4
Like-for-like categories
7 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Gemma 3 27B not benchmarked, Llama 3.1 70B Instruct not benchmarked.
Widest category
Math, 18.7 points apart on average over 6 shared benchmarks.
Widest single gap
MATH level 5: Gemma 3 27B 74.0% against Llama 3.1 70B Instruct 36.7%, 37.4 points apart on a 0 to 100 scale.
Output price
Gemma 3 27B $0.30 against Llama 3.1 70B Instruct $0.56 per million output tokens, 1.9x apart.
Context window
Both take 131K tokens.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGemma 3 27BBarsLlama 3.1 70B InstructTies
Coding31
Intelligence11
Agentic work01
Reasoning51
Math60
Knowledge41
General163
All shared boards358
CodingLike-for-likeSix of these boards feed the Vibe Coding Index31
Coding benchmarks for Gemma 3 27B and Llama 3.1 70B Instruct
BenchmarkGemma 3 27BLlama 3.1 70B InstructLeader
Aider polyglot4.9%Not measuredOnly Gemma 3 27B measured
AA Coding Index10.1Not measuredOnly Gemma 3 27B measured
LiveCodeBench (Artificial Analysis run)13.7%23.2%Llama 3.1 70B Instruct
SciCode23.3%Not measuredOnly Gemma 3 27B measured
Terminal-Bench Hard (Artificial Analysis run)3.8%3.0%Gemma 3 27B
WeirdMLNot measured9.0%Only Llama 3.1 70B Instruct measured
LMArena Text: coding13221260Gemma 3 27B
LMArena Text: software and IT13541260Gemma 3 27B
SciCode0.0%Not measuredOnly Gemma 3 27B measured
Neither model has a result on the other 30 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Gemma 3 27B and Llama 3.1 70B Instruct
BenchmarkGemma 3 27BLlama 3.1 70B InstructLeader
AA Intelligence Index4.96.6Llama 3.1 70B Instruct
Epoch Capabilities Index130.0125.9Gemma 3 27B
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemma 3 27B and Llama 3.1 70B Instruct
BenchmarkGemma 3 27BLlama 3.1 70B InstructLeader
AA Agentic Index0.1Not measuredOnly Gemma 3 27B measured
τ²-Bench Telecom10.5%15.2%Llama 3.1 70B Instruct
BALROGNot measured27.9%Only Llama 3.1 70B Instruct measured
TheAgentCompanyNot measured6.9%Only Llama 3.1 70B Instruct measured
Berkeley Function Calling Leaderboard (BFCL)29.5%Not measuredOnly Gemma 3 27B measured
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index51
Reasoning benchmarks for Gemma 3 27B and Llama 3.1 70B Instruct
BenchmarkGemma 3 27BLlama 3.1 70B InstructLeader
GPQA Diamond (Artificial Analysis run)42.8%40.9%Gemma 3 27B
Humanity's Last Exam (Artificial Analysis run)4.4%4.5%Llama 3.1 70B Instruct
GPQA Diamond (Epoch AI run)47.7%44.2%Gemma 3 27B
LMArena Text: hard prompts13401241Gemma 3 27B
LMArena Text: expert13041209Gemma 3 27B
LMArena Text: hard prompts in English13531261Gemma 3 27B
LMArena Vision: diagrams1156Not measuredOnly Gemma 3 27B measured
LMArena Vision: homework1160Not measuredOnly Gemma 3 27B measured
Kagi LLM Benchmark35.1%Not measuredOnly Gemma 3 27B measured
Neither model has a result on the other 13 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index60
Math benchmarks for Gemma 3 27B and Llama 3.1 70B Instruct
BenchmarkGemma 3 27BLlama 3.1 70B InstructLeader
AA Math Index20.74.0Gemma 3 27B
AIME 2025 (Artificial Analysis run)20.7%4.0%Gemma 3 27B
OTIS Mock AIME22.5%3.6%Gemma 3 27B
MATH level 574.0%36.7%Gemma 3 27B
LMArena Text: math13121252Gemma 3 27B
LMArena Text: mathematical work13271253Gemma 3 27B
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index41
Knowledge benchmarks for Gemma 3 27B and Llama 3.1 70B Instruct
BenchmarkGemma 3 27BLlama 3.1 70B InstructLeader
MMLU Pro (Artificial Analysis run)66.9%67.6%Llama 3.1 70B Instruct
MMLUNot measured80.1%Only Llama 3.1 70B Instruct measured
GeoBench52.0%Not measuredOnly Gemma 3 27B measured
LMArena Text: science13831276Gemma 3 27B
LMArena Text: medicine and healthcare13911257Gemma 3 27B
LMArena Text: legal and government13751283Gemma 3 27B
LMArena Text: business and finance13601235Gemma 3 27B
FACTS Benchmark Suite29.1%Not measuredOnly Gemma 3 27B measured
Neither model has a result on the other 10 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for Gemma 3 27B and Llama 3.1 70B Instruct
BenchmarkGemma 3 27BLlama 3.1 70B InstructLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index163
General benchmarks for Gemma 3 27B and Llama 3.1 70B Instruct
BenchmarkGemma 3 27BLlama 3.1 70B InstructLeader
IFBench31.8%34.4%Llama 3.1 70B Instruct
Long context reasoning (AA-LCR)7.3%Not measuredOnly Gemma 3 27B measured
DTBench52.5%60.0%Llama 3.1 70B Instruct
LMCA12.3%14.8%Llama 3.1 70B Instruct
Fiction.LiveBench33.3%Not measuredOnly Gemma 3 27B measured
Creative writing (Lech Mazur)79.9%Not measuredOnly Gemma 3 27B measured
LMArena Text13581261Gemma 3 27B
LMArena Text: instruction following13211231Gemma 3 27B
LMArena Text: creative writing13451232Gemma 3 27B
LMArena Vision1165Not measuredOnly Gemma 3 27B measured
LMArena Text: English13771294Gemma 3 27B
LMArena Text: non-English13341219Gemma 3 27B
LMArena Text: Chinese13461215Gemma 3 27B
LMArena Text: German13621222Gemma 3 27B
LMArena Text: Japanese12871132Gemma 3 27B
LMArena Text: Korean13081140Gemma 3 27B
LMArena Text: French13681262Gemma 3 27B
LMArena Text: Spanish13491253Gemma 3 27B
LMArena Text: Russian13491234Gemma 3 27B
LMArena Text: Polish1345Not measuredOnly Gemma 3 27B measured
LMArena Text: multi-turn13451256Gemma 3 27B
LMArena Text: longer queries13331241Gemma 3 27B
LMArena Text: writing and language13471236Gemma 3 27B
LMArena Text: entertainment and media13201230Gemma 3 27B
LMArena Vision: English1188Not measuredOnly Gemma 3 27B measured
LMArena Vision: Chinese1164Not measuredOnly Gemma 3 27B measured
LMArena Vision: reading text1156Not measuredOnly Gemma 3 27B measured
LMArena Vision: humor1166Not measuredOnly Gemma 3 27B measured
LMArena Vision: captioning1151Not measuredOnly Gemma 3 27B measured
LMArena Vision: recognizing things1196Not measuredOnly Gemma 3 27B measured
LMArena Vision: creative writing1177Not measuredOnly Gemma 3 27B measured
Neither model has a result on the other 15 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemma 3 27B and Llama 3.1 70B Instruct
BenchmarkGemma 3 27BLlama 3.1 70B InstructLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Gemma 3 27B$0.0002Fits in one request
Llama 3.1 70B Instruct$0.0008Fits in one request

Gemma 3 27B costs less

Repository review

50K input + 3K output tokens

Gemma 3 27B$0.0049Fits in one request
Llama 3.1 70B Instruct$0.030Fits in one request

Gemma 3 27B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 27B$0.019Exceeds the context window
Llama 3.1 70B Instruct$0.118Exceeds the context window

Gemma 3 27B costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Gemma 3 27B and Llama 3.1 70B Instruct
SpecificationGoogle Gemma 3 27BMeta Llama 3.1 70B Instruct
MakerGoogleMeta Llama
WeightsOpen weightsOpen weights
ReleasedMarch 12, 2025July 23, 2024
Context window131K131K
Input $/Mtok$0.08$0.56
Output $/Mtok$0.30$0.56
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 27B better than Llama 3.1 70B Instruct for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 3 27B for output tokens 1.9x cheaper ($0.30 vs $0.56 per million) and work measured by LiveCodeBench (Artificial Analysis run) or AA Intelligence Index, where it leads.

Which is cheaper, Gemma 3 27B or Llama 3.1 70B Instruct?

Gemma 3 27B costs $0.08 per million input tokens and $0.30 per million output tokens; Llama 3.1 70B Instruct costs $0.56 and $0.56. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemma 3 27B or Llama 3.1 70B Instruct?

Neither: both take 131K tokens.

How many benchmarks is the Gemma 3 27B vs Llama 3.1 70B Instruct comparison based on?

43 benchmarks have a result for both models as of October 22, 2026. Gemma 3 27B's coding index rests on 0 independent benchmarks and Llama 3.1 70B Instruct's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next