Enter opens the highlighted result. Esc closes.

Grok 4.5 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.

Grok 4.5xAI
Coding
58.6
Overall
38.8
Output $/M
$6.00
3
SonarPerplexity
Coding
No data
Overall
7.7
Output $/M
$1.00
0
vs boards won of 3 shared

Decision reading

Only Grok 4.5 has a coding score, 58.6 on the Vibe Coding Index; Sonar has none, so the two cannot be ranked on coding.

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

Shared results
3
Grok 4.5 only
117
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
Grok 4.5 58.6 from 6 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): Grok 4.5 93.1% against Sonar 47.1%, 46.0 points apart on a 0 to 100 scale.
Output price
Grok 4.5 $6.00 against Sonar $1.00 per million output tokens, 6.0x apart.
Context window
Grok 4.5 takes 500K 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
CategoryGrok 4.5BarsSonarTies
Intelligence10
Reasoning20
All shared boards30
CodingDirectional onlySix of these boards feed the Vibe Coding Index23 boards, none shared
Coding benchmarks for Grok 4.5 and Sonar
BenchmarkGrok 4.5SonarLeader
LiveBench coding94.3%Not measuredOnly Grok 4.5 measured
LMArena WebDev1553Not measuredOnly Grok 4.5 measured
AA Coding Index72.4Not measuredOnly Grok 4.5 measured
LiveCodeBench (Vals AI)87.3%Not measuredOnly Grok 4.5 measured
SWE-bench Verified (Vals AI)86.6%Not measuredOnly Grok 4.5 measured
Terminal-Bench 4 (Vals AI)8.6%Not measuredOnly Grok 4.5 measured
Vibe Code Bench (Vals AI)69.0%Not measuredOnly Grok 4.5 measured
Code migration (Vals AI)36.6%Not measuredOnly Grok 4.5 measured
ProgramBench (Vals AI)0.0%Not measuredOnly Grok 4.5 measured
IOI (Vals AI)40.6%Not measuredOnly Grok 4.5 measured
Terminal-Bench 2.1 (Vals AI)67.8%Not measuredOnly Grok 4.5 measured
SkillsBench (Vals AI)66.0%Not measuredOnly Grok 4.5 measured
CyberBench (Vals AI)71.0%Not measuredOnly Grok 4.5 measured
LiveCodeBench (Artificial Analysis run)Not measured29.5%Only Sonar measured
SciCode55.0%Not measuredOnly Grok 4.5 measured
FrontierCode42.4%Not measuredOnly Grok 4.5 measured
WeirdML46.4%Not measuredOnly Grok 4.5 measured
ALE-Bench1309.3Not measuredOnly Grok 4.5 measured
LMArena Text: coding1474Not measuredOnly Grok 4.5 measured
LMArena Text: software and IT1471Not measuredOnly Grok 4.5 measured
LMArena WebDev: React1556Not measuredOnly Grok 4.5 measured
LMArena WebDev: HTML1567Not measuredOnly Grok 4.5 measured
LMArena WebDev: from an image1562Not measuredOnly Grok 4.5 measured
Neither model has a result on the other 15 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Grok 4.5 and Sonar
BenchmarkGrok 4.5SonarLeader
AA Intelligence Index38.87.7Grok 4.5
Epoch Capabilities Index154.1Not measuredOnly Grok 4.5 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index22 boards, none shared
Agentic work benchmarks for Grok 4.5 and Sonar
BenchmarkGrok 4.5SonarLeader
AA Agentic Index41.2Not measuredOnly Grok 4.5 measured
Design Arena: agents building web apps1218Not measuredOnly Grok 4.5 measured
Design Arena: agents building full-stack apps1249Not measuredOnly Grok 4.5 measured
Design Arena: agents building mobile apps1221Not measuredOnly Grok 4.5 measured
Design Arena: agents building Android apps1242Not measuredOnly Grok 4.5 measured
Design Arena: agents building Godot games1229Not measuredOnly Grok 4.5 measured
Design Arena: agents building games1236Not measuredOnly Grok 4.5 measured
Design Arena: HTML slides1204Not measuredOnly Grok 4.5 measured
Design Arena: PowerPoint slides1233Not measuredOnly Grok 4.5 measured
LiveBench research85.9%Not measuredOnly Grok 4.5 measured
LiveBench browser44.0%Not measuredOnly Grok 4.5 measured
LiveBench long agentic27.9%Not measuredOnly Grok 4.5 measured
SREBench (Vals AI)0.8%Not measuredOnly Grok 4.5 measured
Finance Agent (Vals AI)48.4%Not measuredOnly Grok 4.5 measured
Tax Agent Bench (Vals AI)24.9%Not measuredOnly Grok 4.5 measured
Legal Research Bench (Vals AI)38.0%Not measuredOnly Grok 4.5 measured
Excel Modeling Benchmark (Vals AI)52.9%Not measuredOnly Grok 4.5 measured
Time Horizon Index (Vals AI)6.3%Not measuredOnly Grok 4.5 measured
APEX-Agents56.2%Not measuredOnly Grok 4.5 measured
PostTrainBench23.4%Not measuredOnly Grok 4.5 measured
Vending-Bench 2$3,887Not measuredOnly Grok 4.5 measured
LMArena Search1216Not measuredOnly Grok 4.5 measured
Neither model has a result on the other 17 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for Grok 4.5 and Sonar
BenchmarkGrok 4.5SonarLeader
GPQA Diamond92.9%Not measuredOnly Grok 4.5 measured
LiveBench reasoning87.2%Not measuredOnly Grok 4.5 measured
MMMU Pro (Vals AI)61.8%Not measuredOnly Grok 4.5 measured
GPQA Diamond (Artificial Analysis run)93.1%47.1%Grok 4.5
Humanity's Last Exam (Artificial Analysis run)42.7%4.9%Grok 4.5
GPQA Diamond (Epoch AI run)93.4%Not measuredOnly Grok 4.5 measured
ARC-AGI87.2%Not measuredOnly Grok 4.5 measured
ARC-AGI-252.6%Not measuredOnly Grok 4.5 measured
SimpleBench70.0%Not measuredOnly Grok 4.5 measured
Chess puzzles35.0%Not measuredOnly Grok 4.5 measured
LMArena Text: hard prompts1462Not measuredOnly Grok 4.5 measured
LMArena Text: expert1465Not measuredOnly Grok 4.5 measured
LMArena Text: hard prompts in English1464Not measuredOnly Grok 4.5 measured
LMArena Vision: diagrams1304Not measuredOnly Grok 4.5 measured
LMArena Vision: homework1295Not measuredOnly Grok 4.5 measured
Neither model has a result on the other 6 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for Grok 4.5 and Sonar
BenchmarkGrok 4.5SonarLeader
OTIS Mock AIME97.8%Not measuredOnly Grok 4.5 measured
FrontierMath, tiers 1 to 357.2%Not measuredOnly Grok 4.5 measured
FrontierMath, tier 424.4%Not measuredOnly Grok 4.5 measured
ProofBench31.0%Not measuredOnly Grok 4.5 measured
LMArena Text: math1460Not measuredOnly Grok 4.5 measured
LMArena Text: mathematical work1482Not measuredOnly Grok 4.5 measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
Knowledge benchmarks for Grok 4.5 and Sonar
BenchmarkGrok 4.5SonarLeader
MMLU Pro89.2%Not measuredOnly Grok 4.5 measured
LegalBench (Vals AI)86.0%Not measuredOnly Grok 4.5 measured
CorpFin (Vals AI)67.4%Not measuredOnly Grok 4.5 measured
TaxEval (Vals AI)71.7%Not measuredOnly Grok 4.5 measured
MortgageTax (Vals AI)61.8%Not measuredOnly Grok 4.5 measured
MedCode (Vals AI)43.3%Not measuredOnly Grok 4.5 measured
MMLU Pro (Artificial Analysis run)Not measured68.9%Only Sonar measured
SimpleQA Verified48.3%Not measuredOnly Grok 4.5 measured
LMArena Text: science1464Not measuredOnly Grok 4.5 measured
LMArena Text: medicine and healthcare1440Not measuredOnly Grok 4.5 measured
LMArena Text: legal and government1463Not measuredOnly Grok 4.5 measured
LMArena Text: business and finance1441Not measuredOnly Grok 4.5 measured
Neither model has a result on the other 5 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for Grok 4.5 and Sonar
BenchmarkGrok 4.5SonarLeader
Design Arena: websites1281Not measuredOnly Grok 4.5 measured
Design Arena: UI components1279Not measuredOnly Grok 4.5 measured
Design Arena: game dev1263Not measuredOnly Grok 4.5 measured
Design Arena: data viz1266Not measuredOnly Grok 4.5 measured
Design Arena: 3D1257Not measuredOnly Grok 4.5 measured
Design Arena: all code categories1275Not measuredOnly Grok 4.5 measured
Design Arena: SVG1215Not measuredOnly Grok 4.5 measured
Design Arena: ASCII art1257Not measuredOnly Grok 4.5 measured
LiveBench design78.1%Not measuredOnly Grok 4.5 measured
GeneralDirectional onlyPublic boards, shown as published, kept out of the index33 boards, none shared
General benchmarks for Grok 4.5 and Sonar
BenchmarkGrok 4.5SonarLeader
LiveBench data analysis73.0%Not measuredOnly Grok 4.5 measured
SAGE (Vals AI)35.0%Not measuredOnly Grok 4.5 measured
MedScribe (Vals AI)86.9%Not measuredOnly Grok 4.5 measured
Vals Multimodal Index63.4%Not measuredOnly Grok 4.5 measured
Long context reasoning (AA-LCR)79.3%Not measuredOnly Grok 4.5 measured
DTBench96.5%Not measuredOnly Grok 4.5 measured
LMCA45.2%Not measuredOnly Grok 4.5 measured
Surface Evolver Bench74.4%Not measuredOnly Grok 4.5 measured
Furniture assembly22.5%Not measuredOnly Grok 4.5 measured
LMArena Text1448Not measuredOnly Grok 4.5 measured
LMArena Text: instruction following1445Not measuredOnly Grok 4.5 measured
LMArena Text: creative writing1442Not measuredOnly Grok 4.5 measured
LMArena Vision1287Not measuredOnly Grok 4.5 measured
LMArena Text: English1453Not measuredOnly Grok 4.5 measured
LMArena Text: non-English1440Not measuredOnly Grok 4.5 measured
LMArena Text: Chinese1495Not measuredOnly Grok 4.5 measured
LMArena Text: German1448Not measuredOnly Grok 4.5 measured
LMArena Text: Japanese1430Not measuredOnly Grok 4.5 measured
LMArena Text: Korean1406Not measuredOnly Grok 4.5 measured
LMArena Text: French1457Not measuredOnly Grok 4.5 measured
LMArena Text: Spanish1451Not measuredOnly Grok 4.5 measured
LMArena Text: Russian1449Not measuredOnly Grok 4.5 measured
LMArena Text: Polish1432Not measuredOnly Grok 4.5 measured
LMArena Text: multi-turn1456Not measuredOnly Grok 4.5 measured
LMArena Text: longer queries1462Not measuredOnly Grok 4.5 measured
LMArena Text: writing and language1445Not measuredOnly Grok 4.5 measured
LMArena Text: entertainment and media1434Not measuredOnly Grok 4.5 measured
LMArena Vision: English1285Not measuredOnly Grok 4.5 measured
LMArena Vision: Chinese1345Not measuredOnly Grok 4.5 measured
LMArena Vision: reading text1293Not measuredOnly Grok 4.5 measured
LMArena Vision: humor1276Not measuredOnly Grok 4.5 measured
LMArena Vision: creative writing1293Not measuredOnly Grok 4.5 measured
LMArena Document1452Not measuredOnly Grok 4.5 measured
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Grok 4.5 and Sonar
BenchmarkGrok 4.5SonarLeader
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

Grok 4.5$0.0050Fits in one request
Sonar$0.0015Fits in one request

Sonar costs less

Repository review

50K input + 3K output tokens

Grok 4.5$0.118Fits in one request
Sonar$0.053Fits in one request

Sonar costs less

Agent loop

200K input + 10K output tokens

Grok 4.5$0.460Fits 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 Grok 4.5 and Sonar
SpecificationSpaceXAI Grok 4.5Perplexity Sonar
MakerxAIPerplexity
WeightsNo public weights listedNo public weights listed
ReleasedJuly 8, 2026January 27, 2025
Context window500K127K
Input $/Mtok$2.00$1.00
Output $/Mtok$6.00$1.00
Coding index58.6Not benchmarked
Independent measurements behind it60
Cost per solved task$0.62Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Grok 4.5 better than Sonar for coding?

Only Grok 4.5 has a coding score, 58.6 on the Vibe Coding Index; Sonar has none, so the two cannot be ranked on coding. Sonar has the edge where output tokens cost 6.0x less.

Which is cheaper, Grok 4.5 or Sonar?

Grok 4.5 costs $2.00 per million input tokens and $6.00 per million output tokens; Sonar costs $1.00 and $1.00. Cost per solved task is known for Grok 4.5 only.

Which has the bigger context window, Grok 4.5 or Sonar?

Grok 4.5, with 500K tokens against 127K.

How many benchmarks is the Grok 4.5 vs Sonar comparison based on?

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