Enter opens the highlighted result. Esc closes.

gpt-oss-120b vs Llama 3.1 8B Instruct

gpt-oss-120b leads Llama 3.1 8B Instruct on the Artificial Analysis Intelligence Index, 11.6 to 6.9, and Llama 3.1 8B Instruct costs 6.3x less per output token ($0.08 vs $0.50 per million). Updated October 22, 2026; 45 benchmarks have a result for both.

gpt-oss-120bOpenAI
Coding
No data
Overall
50.0
Output $/M
$0.50
45
Llama 3.1 8B InstructMeta Llama
Coding
No data
Overall
17.9
Output $/M
$0.08
0
vs boards won of 45 shared

gpt-oss-120b or Llama 3.1 8B Instruct: which to pick

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

Compare them on price, context and the boards below.

Shared results
45
gpt-oss-120b only
36
Llama 3.1 8B Instruct only
6
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
gpt-oss-120b not benchmarked, Llama 3.1 8B Instruct not benchmarked.
Widest category
Math, 66.9 points apart on average over 5 shared benchmarks.
Widest single gap
AIME 2025 (Artificial Analysis run): gpt-oss-120b 93.4% against Llama 3.1 8B Instruct 4.3%, 89.1 points apart on a 0 to 100 scale.
Output price
gpt-oss-120b $0.50 against Llama 3.1 8B Instruct $0.08 per million output tokens, 6.3x 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
Categorygpt-oss-120bBarsLlama 3.1 8B InstructTies
Coding60
Intelligence20
Agentic work10
Reasoning60
Math50
Knowledge50
General200
All shared boards450
CodingLike-for-likeSix of these boards feed the Vibe Coding Index60
Coding benchmarks for gpt-oss-120b and Llama 3.1 8B Instruct
Benchmarkgpt-oss-120bLlama 3.1 8B InstructLeader
Aider polyglot41.8%Not measuredOnly gpt-oss-120b measured
SWE-bench Verified26.0%Not measuredOnly gpt-oss-120b measured
AA Coding Index30.45.4gpt-oss-120b
LiveCodeBench (Vals AI)83.2%Not measuredOnly gpt-oss-120b measured
SWE-bench Verified (Vals AI)33.6%Not measuredOnly gpt-oss-120b measured
LiveCodeBench (Artificial Analysis run)87.8%11.6%gpt-oss-120b
SciCode34.0%Not measuredOnly gpt-oss-120b measured
Terminal-Bench Hard (Artificial Analysis run)23.5%0.8%gpt-oss-120b
Terminal-Bench18.7%Not measuredOnly gpt-oss-120b measured
WeirdML48.2%1.7%gpt-oss-120b
ALE-Bench575.6Not measuredOnly gpt-oss-120b measured
LMArena Text: coding13791195gpt-oss-120b
LMArena Text: software and IT13871195gpt-oss-120b
SciCode7.7%Not measuredOnly gpt-oss-120b measured
Neither model has a result on the other 25 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for gpt-oss-120b and Llama 3.1 8B Instruct
Benchmarkgpt-oss-120bLlama 3.1 8B InstructLeader
AA Intelligence Index11.66.9gpt-oss-120b
Epoch Capabilities Index139.8116.5gpt-oss-120b
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for gpt-oss-120b and Llama 3.1 8B Instruct
Benchmarkgpt-oss-120bLlama 3.1 8B InstructLeader
AA Agentic Index3.7Not measuredOnly gpt-oss-120b measured
τ²-Bench Telecom65.8%16.4%gpt-oss-120b
APEX-Agents4.4%Not measuredOnly gpt-oss-120b measured
METR time horizons56.6%Not measuredOnly gpt-oss-120b measured
BALROGNot measured15.1%Only Llama 3.1 8B Instruct measured
Vending-Bench 2-$22Not measuredOnly gpt-oss-120b measured
Berkeley Function Calling Leaderboard (BFCL)Not measured25.8%Only Llama 3.1 8B Instruct measured
BrowseComp-Plus67.0%Not measuredOnly gpt-oss-120b measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index60
Reasoning benchmarks for gpt-oss-120b and Llama 3.1 8B Instruct
Benchmarkgpt-oss-120bLlama 3.1 8B InstructLeader
GPQA Diamond78.5%Not measuredOnly gpt-oss-120b measured
GPQA Diamond (Artificial Analysis run)78.2%25.9%gpt-oss-120b
Humanity's Last Exam (Artificial Analysis run)19.6%5.3%gpt-oss-120b
GPQA Diamond (Epoch AI run)75.8%27.0%gpt-oss-120b
SimpleBench22.1%Not measuredOnly gpt-oss-120b measured
Mystery game puzzles2.0%Not measuredOnly gpt-oss-120b measured
LMArena Text: hard prompts13641175gpt-oss-120b
LMArena Text: expert13561144gpt-oss-120b
LMArena Text: hard prompts in English13681196gpt-oss-120b
Kagi LLM Benchmark58.6%Not measuredOnly gpt-oss-120b measured
Neither model has a result on the other 12 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index50
Math benchmarks for gpt-oss-120b and Llama 3.1 8B Instruct
Benchmarkgpt-oss-120bLlama 3.1 8B InstructLeader
AIME92.6%Not measuredOnly gpt-oss-120b measured
MATH 500 (Vals AI)94.8%Not measuredOnly gpt-oss-120b measured
MGSM (Vals AI)92.0%Not measuredOnly gpt-oss-120b measured
AA Math Index93.44.3gpt-oss-120b
AIME 2025 (Artificial Analysis run)93.4%4.3%gpt-oss-120b
OTIS Mock AIME88.9%1.7%gpt-oss-120b
MATH level 5Not measured22.9%Only Llama 3.1 8B Instruct measured
GSM8KNot measured82.4%Only Llama 3.1 8B Instruct measured
LMArena Text: math13891179gpt-oss-120b
LMArena Text: mathematical work13861180gpt-oss-120b
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for gpt-oss-120b and Llama 3.1 8B Instruct
Benchmarkgpt-oss-120bLlama 3.1 8B InstructLeader
MMLU Pro79.2%Not measuredOnly gpt-oss-120b measured
LegalBench (Vals AI)75.9%Not measuredOnly gpt-oss-120b measured
CaseLaw (Vals AI)48.8%Not measuredOnly gpt-oss-120b measured
CorpFin (Vals AI)58.2%Not measuredOnly gpt-oss-120b measured
TaxEval (Vals AI)71.6%Not measuredOnly gpt-oss-120b measured
MedQA (Vals AI)91.4%Not measuredOnly gpt-oss-120b measured
MMLU Pro (Artificial Analysis run)80.8%47.6%gpt-oss-120b
MMLUNot measured56.1%Only Llama 3.1 8B Instruct measured
LMArena Text: science13821193gpt-oss-120b
LMArena Text: medicine and healthcare13881182gpt-oss-120b
LMArena Text: legal and government13551206gpt-oss-120b
LMArena Text: business and finance13591166gpt-oss-120b
Neither model has a result on the other 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for gpt-oss-120b and Llama 3.1 8B Instruct
Benchmarkgpt-oss-120bLlama 3.1 8B InstructLeader
Design Arena: websites967Not measuredOnly gpt-oss-120b measured
Design Arena: UI components924Not measuredOnly gpt-oss-120b measured
Design Arena: game dev992Not measuredOnly gpt-oss-120b measured
Design Arena: data viz987Not measuredOnly gpt-oss-120b measured
Design Arena: 3D901Not measuredOnly gpt-oss-120b measured
Design Arena: all code categories962Not measuredOnly gpt-oss-120b measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index200
General benchmarks for gpt-oss-120b and Llama 3.1 8B Instruct
Benchmarkgpt-oss-120bLlama 3.1 8B InstructLeader
IFBench69.0%28.6%gpt-oss-120b
Long context reasoning (AA-LCR)52.0%18.0%gpt-oss-120b
DTBench76.3%50.9%gpt-oss-120b
LMCA22.1%5.4%gpt-oss-120b
Fiction.LiveBench44.4%Not measuredOnly gpt-oss-120b measured
Creative writing (Lech Mazur)77.1%Not measuredOnly gpt-oss-120b measured
Surface Evolver Bench25.0%Not measuredOnly gpt-oss-120b measured
PIQANot measured81.2%Only Llama 3.1 8B Instruct measured
LMArena Text13661187gpt-oss-120b
LMArena Text: instruction following13181159gpt-oss-120b
LMArena Text: creative writing12741154gpt-oss-120b
LMArena Text: English13751218gpt-oss-120b
LMArena Text: non-English13511148gpt-oss-120b
LMArena Text: Chinese13851151gpt-oss-120b
LMArena Text: German13531144gpt-oss-120b
LMArena Text: Japanese13311061gpt-oss-120b
LMArena Text: Korean12821053gpt-oss-120b
LMArena Text: French13701178gpt-oss-120b
LMArena Text: Spanish13891169gpt-oss-120b
LMArena Text: Russian13431158gpt-oss-120b
LMArena Text: Polish1353Not measuredOnly gpt-oss-120b measured
LMArena Text: multi-turn13401172gpt-oss-120b
LMArena Text: longer queries13191181gpt-oss-120b
LMArena Text: writing and language13061162gpt-oss-120b
LMArena Text: entertainment and media12921145gpt-oss-120b
Neither model has a result on the other 21 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for gpt-oss-120b and Llama 3.1 8B Instruct
Benchmarkgpt-oss-120bLlama 3.1 8B 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

gpt-oss-120b$0.0003Fits in one request
Llama 3.1 8B Instruct$0.0001Fits in one request

Llama 3.1 8B Instruct costs less

Repository review

50K input + 3K output tokens

gpt-oss-120b$0.0065Fits in one request
Llama 3.1 8B Instruct$0.0027Fits in one request

Llama 3.1 8B Instruct costs less

Agent loop

200K input + 10K output tokens

gpt-oss-120b$0.025Exceeds the context window
Llama 3.1 8B Instruct$0.011Exceeds the context window

Llama 3.1 8B Instruct 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 gpt-oss-120b and Llama 3.1 8B Instruct
SpecificationOpenAI gpt-oss-120bMeta Llama 3.1 8B Instruct
MakerOpenAIMeta Llama
WeightsOpen weightsOpen weights
ReleasedAugust 5, 2025July 23, 2024
Context window131K131K
Input $/Mtok$0.10$0.05
Output $/Mtok$0.50$0.08
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it10
Cost per solved task$0.51Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is gpt-oss-120b better than Llama 3.1 8B Instruct for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Compare them on price, context and the boards below.

Which is cheaper, gpt-oss-120b or Llama 3.1 8B Instruct?

gpt-oss-120b costs $0.10 per million input tokens and $0.50 per million output tokens; Llama 3.1 8B Instruct costs $0.05 and $0.08. Cost per solved task is known for gpt-oss-120b only.

Which has the bigger context window, gpt-oss-120b or Llama 3.1 8B Instruct?

Neither: both take 131K tokens.

How many benchmarks is the gpt-oss-120b vs Llama 3.1 8B Instruct comparison based on?

45 benchmarks have a result for both models as of October 22, 2026. gpt-oss-120b's coding index rests on 1 independent benchmark and Llama 3.1 8B Instruct's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next