Enter opens the highlighted result. Esc closes.

GLM 4.7 vs gpt-oss-20b

GLM 4.7 leads gpt-oss-20b on the Artificial Analysis Intelligence Index, 22.2 to 10.0, and gpt-oss-20b costs 14.7x less per output token ($0.15 vs $2.20 per million). Updated October 21, 2026; 55 benchmarks have a result for both.

GLM 4.7Z.ai
Coding
55.1
Overall
22.2
Output $/M
$2.20
52
gpt-oss-20bOpenAI
Coding
No data
Overall
10.0
Output $/M
$0.15
3
vs boards won of 55 shared

GLM 4.7 or gpt-oss-20b: which to pick

Only GLM 4.7 has a coding score, 55.1 on the Vibe Coding Index; gpt-oss-20b has none, so the two cannot be ranked on coding.

Pick gpt-oss-20b for output tokens 14.7x cheaper ($0.15 vs $2.20 per million) and work measured by ALE-Bench or MGSM (Vals AI), where it leads.

Shared results
55
GLM 4.7 only
25
gpt-oss-20b only
5
Like-for-like categories
8 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
GLM 4.7 55.1 from 2 benchmarks, gpt-oss-20b not benchmarked.
Widest category
Web design, 39.8 points apart on average over 2 shared benchmarks.
Widest single gap
Design Arena: websites: GLM 4.7 1226 against gpt-oss-20b 852, 46.8 points apart on a 0 to 100 scale.
Output price
GLM 4.7 $2.20 against gpt-oss-20b $0.15 per million output tokens, 14.7x apart.
Context window
GLM 4.7 takes 205K tokens, gpt-oss-20b 131K.

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 4.7Barsgpt-oss-20bTies
Coding61
Intelligence20
Agentic work10
Reasoning70
Math61
Knowledge101
Web design20
General180
All shared boards523
CodingLike-for-likeSix of these boards feed the Vibe Coding Index61
Coding benchmarks for GLM 4.7 and gpt-oss-20b
BenchmarkGLM 4.7gpt-oss-20bLeader
LMArena WebDev1435Not measuredOnly GLM 4.7 measured
AA Coding Index45.3Not measuredOnly GLM 4.7 measured
LiveCodeBench (Vals AI)82.2%80.4%GLM 4.7
SWE-bench Verified (Vals AI)69.4%Not measuredOnly GLM 4.7 measured
LiveCodeBench (Artificial Analysis run)89.4%77.7%GLM 4.7
SciCodeNot measured38.9%Only gpt-oss-20b measured
Terminal-Bench Hard (Artificial Analysis run)31.8%10.6%GLM 4.7
Terminal-Bench33.4%3.4%GLM 4.7
WeirdMLNot measured40.9%Only gpt-oss-20b measured
ALE-Bench399.5566.0gpt-oss-20b
LMArena Text: coding14541307GLM 4.7
LMArena Text: software and IT14531311GLM 4.7
LMArena WebDev: React1420Not measuredOnly GLM 4.7 measured
LMArena WebDev: HTML1447Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GLM 4.7 and gpt-oss-20b
BenchmarkGLM 4.7gpt-oss-20bLeader
AA Intelligence Index22.210.0GLM 4.7
Epoch Capabilities Index143.6137.7GLM 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 4.7 and gpt-oss-20b
BenchmarkGLM 4.7gpt-oss-20bLeader
Design Arena: agents building full-stack apps1050Not measuredOnly GLM 4.7 measured
Design Arena: agents building mobile apps1105Not measuredOnly GLM 4.7 measured
Design Arena: agents building Android apps1112Not measuredOnly GLM 4.7 measured
Design Arena: agents building Godot games1058Not measuredOnly GLM 4.7 measured
τ²-Bench Telecom95.9%60.2%GLM 4.7
Vending-Bench 2$2,377Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index70
Reasoning benchmarks for GLM 4.7 and gpt-oss-20b
BenchmarkGLM 4.7gpt-oss-20bLeader
GPQA Diamond80.0%68.9%GLM 4.7
GPQA Diamond (Artificial Analysis run)85.9%68.8%GLM 4.7
Humanity's Last Exam (Artificial Analysis run)27.4%11.0%GLM 4.7
GPQA Diamond (Epoch AI run)83.3%60.8%GLM 4.7
SimpleBench47.7%Not measuredOnly GLM 4.7 measured
Chess puzzles21.0%Not measuredOnly GLM 4.7 measured
LMArena Text: hard prompts14431274GLM 4.7
LMArena Text: expert14241258GLM 4.7
LMArena Text: hard prompts in English14521292GLM 4.7
Neither model has a result on the other 12 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index61
Math benchmarks for GLM 4.7 and gpt-oss-20b
BenchmarkGLM 4.7gpt-oss-20bLeader
AIME93.3%86.0%GLM 4.7
MATH 500 (Vals AI)Not measured94.2%Only gpt-oss-20b measured
MGSM (Vals AI)88.2%89.0%gpt-oss-20b
AA Math Index95.089.3GLM 4.7
AIME 2025 (Artificial Analysis run)95.0%89.3%GLM 4.7
OTIS Mock AIME83.3%65.3%GLM 4.7
ProofBench6.0%Not measuredOnly GLM 4.7 measured
LMArena Text: math14241317GLM 4.7
LMArena Text: mathematical work14111305GLM 4.7
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index101
Knowledge benchmarks for GLM 4.7 and gpt-oss-20b
BenchmarkGLM 4.7gpt-oss-20bLeader
MMLU Pro82.7%71.6%GLM 4.7
LegalBench (Vals AI)83.4%70.8%GLM 4.7
CaseLaw (Vals AI)54.9%43.8%GLM 4.7
CorpFin (Vals AI)46.4%53.1%gpt-oss-20b
TaxEval (Vals AI)68.8%63.7%GLM 4.7
MedQA (Vals AI)93.7%82.9%GLM 4.7
MedCode (Vals AI)32.8%Not measuredOnly GLM 4.7 measured
MMLU Pro (Artificial Analysis run)85.6%74.8%GLM 4.7
SimpleQA Verified32.2%Not measuredOnly GLM 4.7 measured
LMArena Text: science14571296GLM 4.7
LMArena Text: medicine and healthcare14691310GLM 4.7
LMArena Text: legal and government14441280GLM 4.7
LMArena Text: business and finance14291284GLM 4.7
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index20
Web design benchmarks for GLM 4.7 and gpt-oss-20b
BenchmarkGLM 4.7gpt-oss-20bLeader
Design Arena: websites1226852GLM 4.7
Design Arena: UI components1199Not measuredOnly GLM 4.7 measured
Design Arena: game dev1189Not measuredOnly GLM 4.7 measured
Design Arena: data viz1195933GLM 4.7
Design Arena: 3D1191Not measuredOnly GLM 4.7 measured
Design Arena: all code categories1217Not measuredOnly GLM 4.7 measured
Design Arena: SVG1143Not measuredOnly GLM 4.7 measured
Design Arena: ASCII art1165Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index180
General benchmarks for GLM 4.7 and gpt-oss-20b
BenchmarkGLM 4.7gpt-oss-20bLeader
MedScribe (Vals AI)68.6%Not measuredOnly GLM 4.7 measured
IFBench67.9%65.1%GLM 4.7
Long context reasoning (AA-LCR)71.0%34.7%GLM 4.7
DTBenchNot measured68.0%Only gpt-oss-20b measured
LMCANot measured14.5%Only gpt-oss-20b measured
CL-bench15.9%Not measuredOnly GLM 4.7 measured
CL-bench Life10.9%Not measuredOnly GLM 4.7 measured
LMArena Text14351288GLM 4.7
LMArena Text: instruction following14121236GLM 4.7
LMArena Text: creative writing14011201GLM 4.7
LMArena Text: English14531303GLM 4.7
LMArena Text: non-English14171269GLM 4.7
LMArena Text: Chinese14951315GLM 4.7
LMArena Text: German14261255GLM 4.7
LMArena Text: Japanese14391244GLM 4.7
LMArena Text: Korean13991236GLM 4.7
LMArena Text: French1432Not measuredOnly GLM 4.7 measured
LMArena Text: Spanish14341267GLM 4.7
LMArena Text: Russian14231278GLM 4.7
LMArena Text: Polish14351252GLM 4.7
LMArena Text: multi-turn14461268GLM 4.7
LMArena Text: longer queries14321250GLM 4.7
LMArena Text: writing and language14111238GLM 4.7
LMArena Text: entertainment and media14001216GLM 4.7
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 4.7 and gpt-oss-20b
BenchmarkGLM 4.7gpt-oss-20bLeader
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 4.7$0.0017Fits in one request
gpt-oss-20b$0.0001Fits in one request

gpt-oss-20b costs less

Repository review

50K input + 3K output tokens

GLM 4.7$0.037Fits in one request
gpt-oss-20b$0.0019Fits in one request

gpt-oss-20b costs less

Agent loop

200K input + 10K output tokens

GLM 4.7$0.142Exceeds the context window
gpt-oss-20b$0.0075Exceeds 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 GLM 4.7 and gpt-oss-20b
SpecificationZ.ai GLM 4.7OpenAI gpt-oss-20b
MakerZ.aiOpenAI
WeightsOpen weightsOpen weights
ReleasedDecember 22, 2025August 5, 2025
Context window205K131K
Input $/Mtok$0.60$0.03
Output $/Mtok$2.20$0.15
Coding index55.1Not benchmarked
Independent measurements behind it20
Cost per solved task$0.29Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.7 better than gpt-oss-20b for coding?

Only GLM 4.7 has a coding score, 55.1 on the Vibe Coding Index; gpt-oss-20b has none, so the two cannot be ranked on coding. Pick gpt-oss-20b for output tokens 14.7x cheaper ($0.15 vs $2.20 per million) and work measured by ALE-Bench or MGSM (Vals AI), where it leads.

Which is cheaper, GLM 4.7 or gpt-oss-20b?

GLM 4.7 costs $0.60 per million input tokens and $2.20 per million output tokens; gpt-oss-20b costs $0.03 and $0.15. Cost per solved task is known for GLM 4.7 only.

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

GLM 4.7, with 205K tokens against 131K.

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

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

Compare next