Enter opens the highlighted result. Esc closes.

DeepSeek V3.1 vs GLM 5.2

GLM 5.2 leads DeepSeek V3.1 on the Artificial Analysis Intelligence Index, 33.7 to 13.7, and DeepSeek V3.1 costs 2.9x less per output token ($1.50 vs $4.40 per million). Updated October 21, 2026; 10 benchmarks have a result for both.

DeepSeek V3.1DeepSeek
Coding
No data
Overall
13.7
Output $/M
$1.50
0
GLM 5.2Z.ai
Coding
61.1
Overall
33.7
Output $/M
$4.40
10
vs boards won of 10 shared

DeepSeek V3.1 or GLM 5.2: which to pick

Only GLM 5.2 has a coding score, 61.1 on the Vibe Coding Index; DeepSeek V3.1 has none, so the two cannot be ranked on coding.

Pick DeepSeek V3.1 for output tokens 2.9x cheaper ($1.50 vs $4.40 per million).

Shared results
10
DeepSeek V3.1 only
0
GLM 5.2 only
87
Like-for-like categories
3 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
DeepSeek V3.1 not benchmarked, GLM 5.2 61.1 from 4 benchmarks.
Widest category
Web design, 24.7 points apart on average over 7 shared benchmarks.
Widest single gap
Design Arena: SVG: DeepSeek V3.1 967 against GLM 5.2 1214, 30.9 points apart on a 0 to 100 scale.
Output price
DeepSeek V3.1 $1.50 against GLM 5.2 $4.40 per million output tokens, 2.9x apart.
Context window
DeepSeek V3.1 takes 164K tokens, GLM 5.2 1.05M.

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
CategoryDeepSeek V3.1BarsGLM 5.2Ties
Intelligence01
Web design07
General02
All shared boards010
CodingDirectional onlySix of these boards feed the Vibe Coding Index18 boards, none shared
Coding benchmarks for DeepSeek V3.1 and GLM 5.2
BenchmarkDeepSeek V3.1GLM 5.2Leader
LMArena WebDevNot measured1604Only GLM 5.2 measured
AA Coding IndexNot measured68.8Only GLM 5.2 measured
LiveCodeBench (Vals AI)Not measured69.5%Only GLM 5.2 measured
SWE-bench Verified (Vals AI)Not measured82.8%Only GLM 5.2 measured
Vibe Code Bench (Vals AI)Not measured64.0%Only GLM 5.2 measured
Code migration (Vals AI)Not measured37.9%Only GLM 5.2 measured
ProgramBench (Vals AI)Not measured0.5%Only GLM 5.2 measured
Terminal-Bench 2.1 (Vals AI)Not measured67.8%Only GLM 5.2 measured
SkillsBench (Vals AI)Not measured45.1%Only GLM 5.2 measured
SciCodeNot measured51.2%Only GLM 5.2 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured50.8%Only GLM 5.2 measured
FrontierCodeNot measured24.5%Only GLM 5.2 measured
WeirdMLNot measured70.1%Only GLM 5.2 measured
ALE-BenchNot measured1047.0Only GLM 5.2 measured
LMArena Text: codingNot measured1487Only GLM 5.2 measured
LMArena Text: software and ITNot measured1486Only GLM 5.2 measured
LMArena WebDev: ReactNot measured1617Only GLM 5.2 measured
LMArena WebDev: HTMLNot measured1565Only GLM 5.2 measured
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for DeepSeek V3.1 and GLM 5.2
BenchmarkDeepSeek V3.1GLM 5.2Leader
AA Intelligence Index13.733.7GLM 5.2
Epoch Capabilities IndexNot measured151.9Only GLM 5.2 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index17 boards, none shared
Agentic work benchmarks for DeepSeek V3.1 and GLM 5.2
BenchmarkDeepSeek V3.1GLM 5.2Leader
AA Agentic IndexNot measured38.4Only GLM 5.2 measured
Design Arena: agents building web appsNot measured1222Only GLM 5.2 measured
Design Arena: agents building full-stack appsNot measured1241Only GLM 5.2 measured
Design Arena: agents building mobile appsNot measured1160Only GLM 5.2 measured
Design Arena: agents building Android appsNot measured1178Only GLM 5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GLM 5.2 measured
Design Arena: agents building gamesNot measured1206Only GLM 5.2 measured
Design Arena: HTML slidesNot measured1175Only GLM 5.2 measured
Design Arena: PowerPoint slidesNot measured1195Only GLM 5.2 measured
SREBench (Vals AI)Not measured0.0%Only GLM 5.2 measured
Finance Agent (Vals AI)Not measured49.7%Only GLM 5.2 measured
Legal Research Bench (Vals AI)Not measured31.3%Only GLM 5.2 measured
Excel Modeling Benchmark (Vals AI)Not measured61.5%Only GLM 5.2 measured
τ²-Bench TelecomNot measured99.1%Only GLM 5.2 measured
APEX-AgentsNot measured45.2%Only GLM 5.2 measured
PostTrainBenchNot measured31.7%Only GLM 5.2 measured
Vending-Bench 2Not measured$8,314Only GLM 5.2 measured
Neither model has a result on the other 22 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index13 boards, none shared
Reasoning benchmarks for DeepSeek V3.1 and GLM 5.2
BenchmarkDeepSeek V3.1GLM 5.2Leader
GPQA DiamondNot measured85.6%Only GLM 5.2 measured
GPQA Diamond (Artificial Analysis run)Not measured89.5%Only GLM 5.2 measured
Humanity's Last Exam (Artificial Analysis run)Not measured41.1%Only GLM 5.2 measured
GPQA Diamond (Epoch AI run)Not measured91.9%Only GLM 5.2 measured
ARC-AGINot measured77.0%Only GLM 5.2 measured
ARC-AGI-2Not measured22.8%Only GLM 5.2 measured
SimpleBenchNot measured58.8%Only GLM 5.2 measured
Chess puzzlesNot measured22.0%Only GLM 5.2 measured
Mystery game puzzlesNot measured19.0%Only GLM 5.2 measured
EBR-benchNot measured9.5%Only GLM 5.2 measured
LMArena Text: hard promptsNot measured1481Only GLM 5.2 measured
LMArena Text: expertNot measured1487Only GLM 5.2 measured
LMArena Text: hard prompts in EnglishNot measured1481Only GLM 5.2 measured
Neither model has a result on the other 8 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for DeepSeek V3.1 and GLM 5.2
BenchmarkDeepSeek V3.1GLM 5.2Leader
OTIS Mock AIMENot measured86.4%Only GLM 5.2 measured
FrontierMath, tiers 1 to 3Not measured59.2%Only GLM 5.2 measured
FrontierMath, tier 4Not measured29.3%Only GLM 5.2 measured
ProofBenchNot measured35.0%Only GLM 5.2 measured
LMArena Text: mathNot measured1483Only GLM 5.2 measured
LMArena Text: mathematical workNot measured1489Only GLM 5.2 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 DeepSeek V3.1 and GLM 5.2
BenchmarkDeepSeek V3.1GLM 5.2Leader
MMLU ProNot measured86.7%Only GLM 5.2 measured
LegalBench (Vals AI)Not measured84.1%Only GLM 5.2 measured
CorpFin (Vals AI)Not measured66.1%Only GLM 5.2 measured
TaxEval (Vals AI)Not measured73.3%Only GLM 5.2 measured
MedCode (Vals AI)Not measured40.8%Only GLM 5.2 measured
SimpleQA VerifiedNot measured34.2%Only GLM 5.2 measured
LMArena Text: scienceNot measured1489Only GLM 5.2 measured
LMArena Text: medicine and healthcareNot measured1475Only GLM 5.2 measured
LMArena Text: legal and governmentNot measured1486Only GLM 5.2 measured
LMArena Text: business and financeNot measured1451Only GLM 5.2 measured
Neither model has a result on the other 7 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index07
Web design benchmarks for DeepSeek V3.1 and GLM 5.2
BenchmarkDeepSeek V3.1GLM 5.2Leader
Design Arena: websites11231285GLM 5.2
Design Arena: UI components10851296GLM 5.2
Design Arena: game dev10841268GLM 5.2
Design Arena: data viz10951285GLM 5.2
Design Arena: 3D10771288GLM 5.2
Design Arena: all code categories11121288GLM 5.2
Design Arena: SVG9671214GLM 5.2
Design Arena: ASCII artNot measured1190Only GLM 5.2 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for DeepSeek V3.1 and GLM 5.2
BenchmarkDeepSeek V3.1GLM 5.2Leader
MedScribe (Vals AI)Not measured83.5%Only GLM 5.2 measured
IFBenchNot measured73.3%Only GLM 5.2 measured
Long context reasoning (AA-LCR)Not measured78.3%Only GLM 5.2 measured
DTBench82.7%93.6%GLM 5.2
LMCA24.3%45.8%GLM 5.2
Surface Evolver BenchNot measured55.6%Only GLM 5.2 measured
LMArena TextNot measured1470Only GLM 5.2 measured
LMArena Text: instruction followingNot measured1466Only GLM 5.2 measured
LMArena Text: creative writingNot measured1463Only GLM 5.2 measured
LMArena Text: EnglishNot measured1475Only GLM 5.2 measured
LMArena Text: non-EnglishNot measured1459Only GLM 5.2 measured
LMArena Text: ChineseNot measured1522Only GLM 5.2 measured
LMArena Text: GermanNot measured1470Only GLM 5.2 measured
LMArena Text: JapaneseNot measured1450Only GLM 5.2 measured
LMArena Text: KoreanNot measured1440Only GLM 5.2 measured
LMArena Text: FrenchNot measured1479Only GLM 5.2 measured
LMArena Text: SpanishNot measured1478Only GLM 5.2 measured
LMArena Text: RussianNot measured1468Only GLM 5.2 measured
LMArena Text: PolishNot measured1456Only GLM 5.2 measured
LMArena Text: multi-turnNot measured1469Only GLM 5.2 measured
LMArena Text: longer queriesNot measured1480Only GLM 5.2 measured
LMArena Text: writing and languageNot measured1463Only GLM 5.2 measured
LMArena Text: entertainment and mediaNot measured1450Only GLM 5.2 measured
Neither model has a result on the other 23 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for DeepSeek V3.1 and GLM 5.2
BenchmarkDeepSeek V3.1GLM 5.2Leader
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

DeepSeek V3.1$0.0013Fits in one request
GLM 5.2$0.0036Fits in one request

DeepSeek V3.1 costs less

Repository review

50K input + 3K output tokens

DeepSeek V3.1$0.032Fits in one request
GLM 5.2$0.083Fits in one request

DeepSeek V3.1 costs less

Agent loop

200K input + 10K output tokens

DeepSeek V3.1$0.125Exceeds the context window
GLM 5.2$0.324Fits in one request

DeepSeek V3.1 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 DeepSeek V3.1 and GLM 5.2
SpecificationDeepSeek V3.1Z.ai GLM 5.2
MakerDeepSeekZ.ai
WeightsOpen weightsOpen weights
ReleasedAugust 21, 2025June 16, 2026
Context window164K1.05M
Input $/Mtok$0.55$1.40
Output $/Mtok$1.50$4.40
Coding indexNot benchmarked61.1
Independent measurements behind it04
Cost per solved taskNot computable$0.86
SourceOpenRouter listingOpenRouter listing

Questions

Is DeepSeek V3.1 better than GLM 5.2 for coding?

Only GLM 5.2 has a coding score, 61.1 on the Vibe Coding Index; DeepSeek V3.1 has none, so the two cannot be ranked on coding. Pick DeepSeek V3.1 for output tokens 2.9x cheaper ($1.50 vs $4.40 per million).

Which is cheaper, DeepSeek V3.1 or GLM 5.2?

DeepSeek V3.1 costs $0.55 per million input tokens and $1.50 per million output tokens; GLM 5.2 costs $1.40 and $4.40. Cost per solved task is known for GLM 5.2 only.

Which has the bigger context window, DeepSeek V3.1 or GLM 5.2?

GLM 5.2, with 1.05M tokens against 164K.

How many benchmarks is the DeepSeek V3.1 vs GLM 5.2 comparison based on?

10 benchmarks have a result for both models as of October 21, 2026. DeepSeek V3.1's coding index rests on 0 independent benchmarks and GLM 5.2's on 4. Where only one model has a result, the page says so instead of naming a winner.

Compare next