Enter opens the highlighted result. Esc closes.

GPT-5.4 vs Sonar

Updated October 21, 2026. 3 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GPT-5.4OpenAI
Coding
64.4
Overall
39.0
Output $/M
$15.00
3
SonarPerplexity
Coding
No data
Overall
7.7
Output $/M
$1.00
0
vs boards won of 3 shared

Decision reading

Only GPT-5.4 has a coding score, 64.4 on the Vibe Coding Index; Sonar has none, so the two cannot be ranked on coding.

Sonar has the edge where output tokens cost 15.0x less.

Shared results
3
GPT-5.4 only
106
Sonar only
2
Like-for-like categories
2 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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-5.4 64.4 from 3 benchmarks, Sonar not benchmarked.
Widest category
Reasoning, 41.9 points apart on average over 2 shared benchmarks.
Widest single gap
GPQA Diamond (Artificial Analysis run): GPT-5.4 92.0% against Sonar 47.1%, 44.9 points apart on a 0 to 100 scale.
Output price
GPT-5.4 $15.00 against Sonar $1.00 per million output tokens, 15.0x apart.
Context window
GPT-5.4 takes 1.05M 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-5.4BarsSonarTies
Intelligence10
Reasoning20
All shared boards30
CodingDirectional onlySix of these boards feed the Vibe Coding Index20 boards, none shared
Coding benchmarks for GPT-5.4 and Sonar
BenchmarkGPT-5.4SonarLeader
LMArena WebDev1464Not measuredOnly GPT-5.4 measured
AA Coding Index71.1Not measuredOnly GPT-5.4 measured
LiveCodeBench (Vals AI)84.1%Not measuredOnly GPT-5.4 measured
SWE-bench Verified (Vals AI)78.2%Not measuredOnly GPT-5.4 measured
Vibe Code Bench (Vals AI)67.4%Not measuredOnly GPT-5.4 measured
Code migration (Vals AI)35.0%Not measuredOnly GPT-5.4 measured
ProgramBench (Vals AI)0.5%Not measuredOnly GPT-5.4 measured
SkillsBench (Vals AI)51.7%Not measuredOnly GPT-5.4 measured
LiveCodeBench (Artificial Analysis run)Not measured29.5%Only Sonar measured
Terminal-Bench Hard (Artificial Analysis run)57.6%Not measuredOnly GPT-5.4 measured
Terminal-Bench81.8%Not measuredOnly GPT-5.4 measured
GSO-Bench31.4%Not measuredOnly GPT-5.4 measured
WeirdML77.7%Not measuredOnly GPT-5.4 measured
MirrorCode15.6%Not measuredOnly GPT-5.4 measured
ALE-Bench1607.0Not measuredOnly GPT-5.4 measured
LMArena Text: coding1496Not measuredOnly GPT-5.4 measured
LMArena Text: software and IT1491Not measuredOnly GPT-5.4 measured
LMArena WebDev: React1454Not measuredOnly GPT-5.4 measured
LMArena WebDev: HTML1478Not measuredOnly GPT-5.4 measured
LMArena WebDev: from an image1436Not measuredOnly GPT-5.4 measured
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GPT-5.4 and Sonar
BenchmarkGPT-5.4SonarLeader
AA Intelligence Index39.07.7GPT-5.4
Epoch Capabilities Index157.3Not measuredOnly GPT-5.4 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
Agentic work benchmarks for GPT-5.4 and Sonar
BenchmarkGPT-5.4SonarLeader
Design Arena: agents building web apps1059Not measuredOnly GPT-5.4 measured
Design Arena: agents building full-stack apps1017Not measuredOnly GPT-5.4 measured
Design Arena: agents building mobile apps1087Not measuredOnly GPT-5.4 measured
Design Arena: agents building Android apps1038Not measuredOnly GPT-5.4 measured
Design Arena: agents building Godot games1135Not measuredOnly GPT-5.4 measured
τ²-Bench Telecom87.1%Not measuredOnly GPT-5.4 measured
APEX-Agents52.4%Not measuredOnly GPT-5.4 measured
METR time horizons74.3%Not measuredOnly GPT-5.4 measured
DeepResearch Bench35.1%Not measuredOnly GPT-5.4 measured
PostTrainBench19.0%Not measuredOnly GPT-5.4 measured
Vending-Bench 2$6,144Not measuredOnly GPT-5.4 measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for GPT-5.4 and Sonar
BenchmarkGPT-5.4SonarLeader
GPQA Diamond91.7%Not measuredOnly GPT-5.4 measured
MMMU Pro (Vals AI)87.5%Not measuredOnly GPT-5.4 measured
GPQA Diamond (Artificial Analysis run)92.0%47.1%GPT-5.4
Humanity's Last Exam (Artificial Analysis run)43.7%4.9%GPT-5.4
GPQA Diamond (Epoch AI run)93.3%Not measuredOnly GPT-5.4 measured
ARC-AGI93.7%Not measuredOnly GPT-5.4 measured
ARC-AGI-274.0%Not measuredOnly GPT-5.4 measured
Chess puzzles48.0%Not measuredOnly GPT-5.4 measured
Mystery game puzzles37.0%Not measuredOnly GPT-5.4 measured
EBR-bench25.4%Not measuredOnly GPT-5.4 measured
LMArena Text: hard prompts1485Not measuredOnly GPT-5.4 measured
LMArena Text: expert1507Not measuredOnly GPT-5.4 measured
LMArena Text: hard prompts in English1479Not measuredOnly GPT-5.4 measured
LMArena Vision: diagrams1327Not measuredOnly GPT-5.4 measured
LMArena Vision: homework1336Not measuredOnly GPT-5.4 measured
Neither model has a result on the other 6 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Math benchmarks for GPT-5.4 and Sonar
BenchmarkGPT-5.4SonarLeader
AIME96.7%Not measuredOnly GPT-5.4 measured
OTIS Mock AIME97.8%Not measuredOnly GPT-5.4 measured
FrontierMath, tiers 1 to 378.6%Not measuredOnly GPT-5.4 measured
FrontierMath, tier 449.0%Not measuredOnly GPT-5.4 measured
ProofBench56.0%Not measuredOnly GPT-5.4 measured
LMArena Text: math1488Not measuredOnly GPT-5.4 measured
LMArena Text: mathematical work1497Not measuredOnly GPT-5.4 measured
Neither model has a result on the other 6 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index14 boards, none shared
Knowledge benchmarks for GPT-5.4 and Sonar
BenchmarkGPT-5.4SonarLeader
MMLU Pro87.5%Not measuredOnly GPT-5.4 measured
LegalBench (Vals AI)86.0%Not measuredOnly GPT-5.4 measured
CaseLaw (Vals AI)63.8%Not measuredOnly GPT-5.4 measured
CorpFin (Vals AI)65.3%Not measuredOnly GPT-5.4 measured
TaxEval (Vals AI)74.0%Not measuredOnly GPT-5.4 measured
MortgageTax (Vals AI)68.3%Not measuredOnly GPT-5.4 measured
MedQA (Vals AI)96.1%Not measuredOnly GPT-5.4 measured
MedCode (Vals AI)41.3%Not measuredOnly GPT-5.4 measured
MMLU Pro (Artificial Analysis run)Not measured68.9%Only Sonar measured
SimpleQA Verified45.1%Not measuredOnly GPT-5.4 measured
LMArena Text: science1479Not measuredOnly GPT-5.4 measured
LMArena Text: medicine and healthcare1458Not measuredOnly GPT-5.4 measured
LMArena Text: legal and government1486Not measuredOnly GPT-5.4 measured
LMArena Text: business and finance1474Not measuredOnly GPT-5.4 measured
Neither model has a result on the other 3 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for GPT-5.4 and Sonar
BenchmarkGPT-5.4SonarLeader
Design Arena: websites1199Not measuredOnly GPT-5.4 measured
Design Arena: UI components1215Not measuredOnly GPT-5.4 measured
Design Arena: game dev1195Not measuredOnly GPT-5.4 measured
Design Arena: data viz1195Not measuredOnly GPT-5.4 measured
Design Arena: 3D1065Not measuredOnly GPT-5.4 measured
Design Arena: all code categories1180Not measuredOnly GPT-5.4 measured
Design Arena: SVG1142Not measuredOnly GPT-5.4 measured
Design Arena: ASCII art1188Not measuredOnly GPT-5.4 measured
Neither model has a result on the other 1 board here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index34 boards, none shared
General benchmarks for GPT-5.4 and Sonar
BenchmarkGPT-5.4SonarLeader
SAGE (Vals AI)43.3%Not measuredOnly GPT-5.4 measured
MedScribe (Vals AI)77.5%Not measuredOnly GPT-5.4 measured
IFBench73.9%Not measuredOnly GPT-5.4 measured
Long context reasoning (AA-LCR)82.0%Not measuredOnly GPT-5.4 measured
DTBench94.4%Not measuredOnly GPT-5.4 measured
LMCA52.0%Not measuredOnly GPT-5.4 measured
CL-bench27.9%Not measuredOnly GPT-5.4 measured
Furniture assembly37.5%Not measuredOnly GPT-5.4 measured
CL-bench Life21.7%Not measuredOnly GPT-5.4 measured
LMArena Text1469Not measuredOnly GPT-5.4 measured
LMArena Text: instruction following1469Not measuredOnly GPT-5.4 measured
LMArena Text: creative writing1439Not measuredOnly GPT-5.4 measured
LMArena Vision1303Not measuredOnly GPT-5.4 measured
LMArena Text: English1467Not measuredOnly GPT-5.4 measured
LMArena Text: non-English1465Not measuredOnly GPT-5.4 measured
LMArena Text: Chinese1520Not measuredOnly GPT-5.4 measured
LMArena Text: German1472Not measuredOnly GPT-5.4 measured
LMArena Text: Japanese1485Not measuredOnly GPT-5.4 measured
LMArena Text: Korean1449Not measuredOnly GPT-5.4 measured
LMArena Text: French1493Not measuredOnly GPT-5.4 measured
LMArena Text: Spanish1452Not measuredOnly GPT-5.4 measured
LMArena Text: Russian1480Not measuredOnly GPT-5.4 measured
LMArena Text: Polish1472Not measuredOnly GPT-5.4 measured
LMArena Text: multi-turn1482Not measuredOnly GPT-5.4 measured
LMArena Text: longer queries1473Not measuredOnly GPT-5.4 measured
LMArena Text: writing and language1458Not measuredOnly GPT-5.4 measured
LMArena Text: entertainment and media1438Not measuredOnly GPT-5.4 measured
LMArena Vision: English1301Not measuredOnly GPT-5.4 measured
LMArena Vision: Chinese1354Not measuredOnly GPT-5.4 measured
LMArena Vision: reading text1312Not measuredOnly GPT-5.4 measured
LMArena Vision: humor1284Not measuredOnly GPT-5.4 measured
LMArena Vision: recognizing things1251Not measuredOnly GPT-5.4 measured
LMArena Vision: creative writing1283Not measuredOnly GPT-5.4 measured
LMArena Document1471Not measuredOnly GPT-5.4 measured
Neither model has a result on the other 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-5.4 and Sonar
BenchmarkGPT-5.4SonarLeader
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-5.4$0.010Fits in one request
Sonar$0.0015Fits in one request

Sonar costs less

Repository review

50K input + 3K output tokens

GPT-5.4$0.170Fits in one request
Sonar$0.053Fits in one request

Sonar costs less

Agent loop

200K input + 10K output tokens

GPT-5.4$0.650Fits in one request
Sonar$0.210Exceeds the context window

Sonar 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-5.4 and Sonar
SpecificationOpenAI GPT-5.4Perplexity Sonar
MakerOpenAIPerplexity
WeightsNo public weights listedNo public weights listed
ReleasedMarch 5, 2026January 27, 2025
Context window1.05M127K
Input $/Mtok$2.50$1.00
Output $/Mtok$15.00$1.00
Coding index64.4Not benchmarked
Independent measurements behind it30
Cost per solved task$1.02Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.4 better than Sonar for coding?

Only GPT-5.4 has a coding score, 64.4 on the Vibe Coding Index; Sonar has none, so the two cannot be ranked on coding. Sonar has the edge where output tokens cost 15.0x less.

Which is cheaper, GPT-5.4 or Sonar?

GPT-5.4 costs $2.50 per million input tokens and $15.00 per million output tokens; Sonar costs $1.00 and $1.00. Cost per solved task is known for GPT-5.4 only.

Which has the bigger context window, GPT-5.4 or Sonar?

GPT-5.4, with 1.05M tokens against 127K.

How many benchmarks is the GPT-5.4 vs Sonar comparison based on?

3 benchmarks have a result for both models as of October 21, 2026. GPT-5.4's coding index rests on 3 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