Enter opens the highlighted result. Esc closes.

gpt-oss-20b vs Sonar

gpt-oss-20b leads Sonar on the Artificial Analysis Intelligence Index, 10.0 to 7.7, and gpt-oss-20b costs 6.7x less per output token ($0.15 vs $1.00 per million). Updated October 21, 2026; 5 benchmarks have a result for both.

gpt-oss-20bOpenAI
Coding
No data
Overall
10.0
Output $/M
$0.15
5
SonarPerplexity
Coding
No data
Overall
7.7
Output $/M
$1.00
0
vs boards won of 5 shared

gpt-oss-20b or Sonar: which to pick

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

Pick gpt-oss-20b for output tokens 6.7x cheaper ($0.15 vs $1.00 per million) and a larger context window (131K against 127K tokens).

Shared results
5
gpt-oss-20b only
55
Sonar only
0
Like-for-like categories
4 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-20b not benchmarked, Sonar not benchmarked.
Widest category
Coding, 48.2 points apart on average over 1 shared benchmark.
Widest single gap
LiveCodeBench (Artificial Analysis run): gpt-oss-20b 77.7% against Sonar 29.5%, 48.2 points apart on a 0 to 100 scale.
Output price
gpt-oss-20b $0.15 against Sonar $1.00 per million output tokens, 6.7x apart.
Context window
gpt-oss-20b takes 131K tokens, Sonar 127K.

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-20bBarsSonarTies
Coding10
Intelligence10
Reasoning20
Knowledge10
All shared boards50
CodingLike-for-likeSix of these boards feed the Vibe Coding Index10
Coding benchmarks for gpt-oss-20b and Sonar
Benchmarkgpt-oss-20bSonarLeader
LiveCodeBench (Vals AI)80.4%Not measuredOnly gpt-oss-20b measured
LiveCodeBench (Artificial Analysis run)77.7%29.5%gpt-oss-20b
SciCode38.9%Not measuredOnly gpt-oss-20b measured
Terminal-Bench Hard (Artificial Analysis run)10.6%Not measuredOnly gpt-oss-20b measured
Terminal-Bench3.4%Not measuredOnly gpt-oss-20b measured
WeirdML40.9%Not measuredOnly gpt-oss-20b measured
ALE-Bench566.0Not measuredOnly gpt-oss-20b measured
LMArena Text: coding1307Not measuredOnly gpt-oss-20b measured
LMArena Text: software and IT1311Not measuredOnly gpt-oss-20b measured
Neither model has a result on the other 29 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for gpt-oss-20b and Sonar
Benchmarkgpt-oss-20bSonarLeader
AA Intelligence Index10.07.7gpt-oss-20b
Epoch Capabilities Index137.7Not measuredOnly gpt-oss-20b measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Agentic work benchmarks for gpt-oss-20b and Sonar
Benchmarkgpt-oss-20bSonarLeader
τ²-Bench Telecom60.2%Not measuredOnly gpt-oss-20b measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for gpt-oss-20b and Sonar
Benchmarkgpt-oss-20bSonarLeader
GPQA Diamond68.9%Not measuredOnly gpt-oss-20b measured
GPQA Diamond (Artificial Analysis run)68.8%47.1%gpt-oss-20b
Humanity's Last Exam (Artificial Analysis run)11.0%4.9%gpt-oss-20b
GPQA Diamond (Epoch AI run)60.8%Not measuredOnly gpt-oss-20b measured
LMArena Text: hard prompts1274Not measuredOnly gpt-oss-20b measured
LMArena Text: expert1258Not measuredOnly gpt-oss-20b measured
LMArena Text: hard prompts in English1292Not measuredOnly gpt-oss-20b measured
Neither model has a result on the other 14 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Math benchmarks for gpt-oss-20b and Sonar
Benchmarkgpt-oss-20bSonarLeader
AIME86.0%Not measuredOnly gpt-oss-20b measured
MATH 500 (Vals AI)94.2%Not measuredOnly gpt-oss-20b measured
MGSM (Vals AI)89.0%Not measuredOnly gpt-oss-20b measured
AA Math Index89.3Not measuredOnly gpt-oss-20b measured
AIME 2025 (Artificial Analysis run)89.3%Not measuredOnly gpt-oss-20b measured
OTIS Mock AIME65.3%Not measuredOnly gpt-oss-20b measured
LMArena Text: math1317Not measuredOnly gpt-oss-20b measured
LMArena Text: mathematical work1305Not measuredOnly gpt-oss-20b measured
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
Knowledge benchmarks for gpt-oss-20b and Sonar
Benchmarkgpt-oss-20bSonarLeader
MMLU Pro71.6%Not measuredOnly gpt-oss-20b measured
LegalBench (Vals AI)70.8%Not measuredOnly gpt-oss-20b measured
CaseLaw (Vals AI)43.8%Not measuredOnly gpt-oss-20b measured
CorpFin (Vals AI)53.1%Not measuredOnly gpt-oss-20b measured
TaxEval (Vals AI)63.7%Not measuredOnly gpt-oss-20b measured
MedQA (Vals AI)82.9%Not measuredOnly gpt-oss-20b measured
MMLU Pro (Artificial Analysis run)74.8%68.9%gpt-oss-20b
LMArena Text: science1296Not measuredOnly gpt-oss-20b measured
LMArena Text: medicine and healthcare1310Not measuredOnly gpt-oss-20b measured
LMArena Text: legal and government1280Not measuredOnly gpt-oss-20b measured
LMArena Text: business and finance1284Not measuredOnly gpt-oss-20b measured
Neither model has a result on the other 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Web design benchmarks for gpt-oss-20b and Sonar
Benchmarkgpt-oss-20bSonarLeader
Design Arena: websites852Not measuredOnly gpt-oss-20b measured
Design Arena: data viz933Not measuredOnly gpt-oss-20b measured
Neither model has a result on the other 7 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index20 boards, none shared
General benchmarks for gpt-oss-20b and Sonar
Benchmarkgpt-oss-20bSonarLeader
IFBench65.1%Not measuredOnly gpt-oss-20b measured
Long context reasoning (AA-LCR)34.7%Not measuredOnly gpt-oss-20b measured
DTBench68.0%Not measuredOnly gpt-oss-20b measured
LMCA14.5%Not measuredOnly gpt-oss-20b measured
LMArena Text1288Not measuredOnly gpt-oss-20b measured
LMArena Text: instruction following1236Not measuredOnly gpt-oss-20b measured
LMArena Text: creative writing1201Not measuredOnly gpt-oss-20b measured
LMArena Text: English1303Not measuredOnly gpt-oss-20b measured
LMArena Text: non-English1269Not measuredOnly gpt-oss-20b measured
LMArena Text: Chinese1315Not measuredOnly gpt-oss-20b measured
LMArena Text: German1255Not measuredOnly gpt-oss-20b measured
LMArena Text: Japanese1244Not measuredOnly gpt-oss-20b measured
LMArena Text: Korean1236Not measuredOnly gpt-oss-20b measured
LMArena Text: Spanish1267Not measuredOnly gpt-oss-20b measured
LMArena Text: Russian1278Not measuredOnly gpt-oss-20b measured
LMArena Text: Polish1252Not measuredOnly gpt-oss-20b measured
LMArena Text: multi-turn1268Not measuredOnly gpt-oss-20b measured
LMArena Text: longer queries1250Not measuredOnly gpt-oss-20b measured
LMArena Text: writing and language1238Not measuredOnly gpt-oss-20b measured
LMArena Text: entertainment and media1216Not measuredOnly gpt-oss-20b measured
Neither model has a result on the other 26 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for gpt-oss-20b and Sonar
Benchmarkgpt-oss-20bSonarLeader
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-20b$0.0001Fits in one request
Sonar$0.0015Fits in one request

gpt-oss-20b costs less

Repository review

50K input + 3K output tokens

gpt-oss-20b$0.0019Fits in one request
Sonar$0.053Fits in one request

gpt-oss-20b costs less

Agent loop

200K input + 10K output tokens

gpt-oss-20b$0.0075Exceeds the context window
Sonar$0.210Exceeds the context window

gpt-oss-20b 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-20b and Sonar
SpecificationOpenAI gpt-oss-20bPerplexity Sonar
MakerOpenAIPerplexity
WeightsOpen weightsNo public weights listed
ReleasedAugust 5, 2025January 27, 2025
Context window131K127K
Input $/Mtok$0.03$1.00
Output $/Mtok$0.15$1.00
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is gpt-oss-20b better than Sonar for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick gpt-oss-20b for output tokens 6.7x cheaper ($0.15 vs $1.00 per million) and a larger context window (131K against 127K tokens).

Which is cheaper, gpt-oss-20b or Sonar?

gpt-oss-20b costs $0.03 per million input tokens and $0.15 per million output tokens; Sonar costs $1.00 and $1.00. Cost per solved task is known for neither of them.

Which has the bigger context window, gpt-oss-20b or Sonar?

gpt-oss-20b, with 131K tokens against 127K.

How many benchmarks is the gpt-oss-20b vs Sonar comparison based on?

5 benchmarks have a result for both models as of October 21, 2026. gpt-oss-20b's coding index rests on 0 independent benchmarks and Sonar's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next