Enter opens the highlighted result. Esc closes.

GLM 5.3 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.

GLM 5.3Z.ai
Coding
70.6
Overall
44.8
Output $/M
$4.40
3
SonarPerplexity
Coding
No data
Overall
7.7
Output $/M
$1.00
0
vs boards won of 3 shared

Decision reading

Only GLM 5.3 has a coding score, 70.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 4.4x less.

Shared results
3
GLM 5.3 only
97
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
GLM 5.3 70.6 from 6 benchmarks, Sonar not benchmarked.
Widest category
Reasoning, 41.0 points apart on average over 2 shared benchmarks.
Widest single gap
GPQA Diamond (Artificial Analysis run): GLM 5.3 91.7% against Sonar 47.1%, 44.6 points apart on a 0 to 100 scale.
Output price
GLM 5.3 $4.40 against Sonar $1.00 per million output tokens, 4.4x apart.
Context window
GLM 5.3 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
CategoryGLM 5.3BarsSonarTies
Intelligence10
Reasoning20
All shared boards30
CodingDirectional onlySix of these boards feed the Vibe Coding Index24 boards, none shared
Coding benchmarks for GLM 5.3 and Sonar
BenchmarkGLM 5.3SonarLeader
LiveBench coding82.8%Not measuredOnly GLM 5.3 measured
LMArena WebDev1621Not measuredOnly GLM 5.3 measured
AA Coding Index74.8Not measuredOnly GLM 5.3 measured
LiveCodeBench (Vals AI)80.5%Not measuredOnly GLM 5.3 measured
SWE-bench Verified (Vals AI)95.4%Not measuredOnly GLM 5.3 measured
Terminal-Bench 4 (Vals AI)38.9%Not measuredOnly GLM 5.3 measured
Vibe Code Bench (Vals AI)78.1%Not measuredOnly GLM 5.3 measured
Code migration (Vals AI)44.2%Not measuredOnly GLM 5.3 measured
ProgramBench (Vals AI)1.5%Not measuredOnly GLM 5.3 measured
IOI (Vals AI)68.4%Not measuredOnly GLM 5.3 measured
Terminal-Bench 2.1 (Vals AI)71.5%Not measuredOnly GLM 5.3 measured
Vibe Code Bench 1-100 (Vals AI)20.0%Not measuredOnly GLM 5.3 measured
SkillsBench (Vals AI)47.5%Not measuredOnly GLM 5.3 measured
CyberBench (Vals AI)72.1%Not measuredOnly GLM 5.3 measured
LiveCodeBench (Artificial Analysis run)Not measured29.5%Only Sonar measured
SciCode59.0%Not measuredOnly GLM 5.3 measured
FrontierCode40.1%Not measuredOnly GLM 5.3 measured
FrontierSWE30.2%Not measuredOnly GLM 5.3 measured
WeirdML75.4%Not measuredOnly GLM 5.3 measured
ALE-Bench1317.4Not measuredOnly GLM 5.3 measured
LMArena Text: coding1497Not measuredOnly GLM 5.3 measured
LMArena Text: software and IT1493Not measuredOnly GLM 5.3 measured
LMArena WebDev: React1641Not measuredOnly GLM 5.3 measured
LMArena WebDev: HTML1595Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GLM 5.3 and Sonar
BenchmarkGLM 5.3SonarLeader
AA Intelligence Index44.87.7GLM 5.3
Epoch Capabilities Index156.0Not measuredOnly GLM 5.3 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index16 boards, none shared
Agentic work benchmarks for GLM 5.3 and Sonar
BenchmarkGLM 5.3SonarLeader
AA Agentic Index53.1Not measuredOnly GLM 5.3 measured
Design Arena: agents building mobile apps1194Not measuredOnly GLM 5.3 measured
Design Arena: HTML slides1189Not measuredOnly GLM 5.3 measured
Design Arena: PowerPoint slides1255Not measuredOnly GLM 5.3 measured
LiveBench research73.2%Not measuredOnly GLM 5.3 measured
LiveBench browser0.0%Not measuredOnly GLM 5.3 measured
LiveBench long agentic35.9%Not measuredOnly GLM 5.3 measured
SREBench (Vals AI)9.2%Not measuredOnly GLM 5.3 measured
Finance Agent (Vals AI)55.8%Not measuredOnly GLM 5.3 measured
Tax Agent Bench (Vals AI)39.7%Not measuredOnly GLM 5.3 measured
Legal Research Bench (Vals AI)49.0%Not measuredOnly GLM 5.3 measured
Harvey's Legal Agent Benchmark (Vals AI)14.6%Not measuredOnly GLM 5.3 measured
Excel Modeling Benchmark (Vals AI)56.3%Not measuredOnly GLM 5.3 measured
Terminal-Bench-Science (Vals AI)5.7%Not measuredOnly GLM 5.3 measured
APEX-Agents56.6%Not measuredOnly GLM 5.3 measured
Vending-Bench 2$8,164Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 23 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for GLM 5.3 and Sonar
BenchmarkGLM 5.3SonarLeader
GPQA Diamond88.1%Not measuredOnly GLM 5.3 measured
LiveBench reasoning85.8%Not measuredOnly GLM 5.3 measured
MysteryMechanism (Vals AI)23.0%Not measuredOnly GLM 5.3 measured
GPQA Diamond (Artificial Analysis run)91.7%47.1%GLM 5.3
Humanity's Last Exam (Artificial Analysis run)42.3%4.9%GLM 5.3
GPQA Diamond (Epoch AI run)90.9%Not measuredOnly GLM 5.3 measured
Chess puzzles37.0%Not measuredOnly GLM 5.3 measured
Mystery game puzzles33.0%Not measuredOnly GLM 5.3 measured
LMArena Text: hard prompts1490Not measuredOnly GLM 5.3 measured
LMArena Text: expert1514Not measuredOnly GLM 5.3 measured
LMArena Text: hard prompts in English1496Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 10 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for GLM 5.3 and Sonar
BenchmarkGLM 5.3SonarLeader
OTIS Mock AIME91.1%Not measuredOnly GLM 5.3 measured
FrontierMath, tiers 1 to 368.8%Not measuredOnly GLM 5.3 measured
FrontierMath, tier 429.3%Not measuredOnly GLM 5.3 measured
ProofBench49.0%Not measuredOnly GLM 5.3 measured
LMArena Text: math1495Not measuredOnly GLM 5.3 measured
LMArena Text: mathematical work1497Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
Knowledge benchmarks for GLM 5.3 and Sonar
BenchmarkGLM 5.3SonarLeader
MMLU Pro86.8%Not measuredOnly GLM 5.3 measured
LegalBench (Vals AI)84.8%Not measuredOnly GLM 5.3 measured
TaxEval (Vals AI)72.4%Not measuredOnly GLM 5.3 measured
MedCode (Vals AI)42.9%Not measuredOnly GLM 5.3 measured
MMLU Pro (Artificial Analysis run)Not measured68.9%Only Sonar measured
SimpleQA Verified41.0%Not measuredOnly GLM 5.3 measured
LMArena Text: science1498Not measuredOnly GLM 5.3 measured
LMArena Text: medicine and healthcare1481Not measuredOnly GLM 5.3 measured
LMArena Text: legal and government1473Not measuredOnly GLM 5.3 measured
LMArena Text: business and finance1459Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 7 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for GLM 5.3 and Sonar
BenchmarkGLM 5.3SonarLeader
Design Arena: websites1295Not measuredOnly GLM 5.3 measured
Design Arena: UI components1314Not measuredOnly GLM 5.3 measured
Design Arena: game dev1311Not measuredOnly GLM 5.3 measured
Design Arena: data viz1259Not measuredOnly GLM 5.3 measured
Design Arena: 3D1332Not measuredOnly GLM 5.3 measured
Design Arena: all code categories1304Not measuredOnly GLM 5.3 measured
Design Arena: SVG1293Not measuredOnly GLM 5.3 measured
Design Arena: ASCII art1213Not measuredOnly GLM 5.3 measured
LiveBench design77.3%Not measuredOnly GLM 5.3 measured
GeneralDirectional onlyPublic boards, shown as published, kept out of the index24 boards, none shared
General benchmarks for GLM 5.3 and Sonar
BenchmarkGLM 5.3SonarLeader
Vals Index59.7%Not measuredOnly GLM 5.3 measured
LiveBench data analysis70.2%Not measuredOnly GLM 5.3 measured
Public Benefits Bench (Vals AI)68.5%Not measuredOnly GLM 5.3 measured
MedScribe (Vals AI)88.8%Not measuredOnly GLM 5.3 measured
Long context reasoning (AA-LCR)79.7%Not measuredOnly GLM 5.3 measured
DTBench87.7%Not measuredOnly GLM 5.3 measured
LMCA55.5%Not measuredOnly GLM 5.3 measured
LMArena Text1474Not measuredOnly GLM 5.3 measured
LMArena Text: instruction following1479Not measuredOnly GLM 5.3 measured
LMArena Text: creative writing1458Not measuredOnly GLM 5.3 measured
LMArena Text: English1482Not measuredOnly GLM 5.3 measured
LMArena Text: non-English1459Not measuredOnly GLM 5.3 measured
LMArena Text: Chinese1532Not measuredOnly GLM 5.3 measured
LMArena Text: German1488Not measuredOnly GLM 5.3 measured
LMArena Text: Japanese1460Not measuredOnly GLM 5.3 measured
LMArena Text: Korean1460Not measuredOnly GLM 5.3 measured
LMArena Text: French1503Not measuredOnly GLM 5.3 measured
LMArena Text: Spanish1462Not measuredOnly GLM 5.3 measured
LMArena Text: Russian1469Not measuredOnly GLM 5.3 measured
LMArena Text: Polish1466Not measuredOnly GLM 5.3 measured
LMArena Text: multi-turn1472Not measuredOnly GLM 5.3 measured
LMArena Text: longer queries1483Not measuredOnly GLM 5.3 measured
LMArena Text: writing and language1469Not measuredOnly GLM 5.3 measured
LMArena Text: entertainment and media1447Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 22 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.3 and Sonar
BenchmarkGLM 5.3SonarLeader
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

GLM 5.3$0.0036Fits in one request
Sonar$0.0015Fits in one request

Sonar costs less

Repository review

50K input + 3K output tokens

GLM 5.3$0.083Fits in one request
Sonar$0.053Fits in one request

Sonar costs less

Agent loop

200K input + 10K output tokens

GLM 5.3$0.324Fits 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 GLM 5.3 and Sonar
SpecificationZ.ai GLM 5.3Perplexity Sonar
MakerZ.aiPerplexity
WeightsOpen weightsNo public weights listed
ReleasedAugust 18, 2026January 27, 2025
Context window1.05M127K
Input $/Mtok$1.40$1.00
Output $/Mtok$4.40$1.00
Coding index70.6Not benchmarked
Independent measurements behind it60
Cost per solved task$0.36Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.3 better than Sonar for coding?

Only GLM 5.3 has a coding score, 70.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 4.4x less.

Which is cheaper, GLM 5.3 or Sonar?

GLM 5.3 costs $1.40 per million input tokens and $4.40 per million output tokens; Sonar costs $1.00 and $1.00. Cost per solved task is known for GLM 5.3 only.

Which has the bigger context window, GLM 5.3 or Sonar?

GLM 5.3, with 1.05M tokens against 127K.

How many benchmarks is the GLM 5.3 vs Sonar comparison based on?

3 benchmarks have a result for both models as of October 21, 2026. GLM 5.3'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