GLM 4.7 Flash vs gpt-oss-20b
Updated October 21, 2026. 37 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Neither model has a coding score yet, so the two cannot be ranked on coding.
GLM 4.7 Flash has the edge where the context window is larger, 200K against 131K tokens, and where what matters is GPQA Diamond (Artificial Analysis run) or Humanity's Last Exam (Artificial Analysis run), where it leads.
- Shared results
- 37
- GLM 4.7 Flash only
- 6
- gpt-oss-20b only
- 23
- Like-for-like categories
- 8 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
GLM 4.7 Flash
GLM 4.7 Flash leads, 14.9 against 10.0.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only gpt-oss-20b has a GPQA Diamond result, 68.9%.
Directional only
Math
AIME
No call
Only gpt-oss-20b has a AIME result, 86.0%.
Directional only
Knowledge
MMLU Pro
No call
Only gpt-oss-20b has a MMLU Pro result, 71.6%.
Directional only
Web design
Design Arena: websites
GLM 4.7 Flash
GLM 4.7 Flash leads, 1194 against 853.
Same board, both measured
Long documents
Listed context window
GLM 4.7 Flash
GLM 4.7 Flash takes 200K tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
gpt-oss-20b
GLM 4.7 Flash $0.0003, gpt-oss-20b $0.0001 per turn.
List prices
At a glance
- Coding index
- GLM 4.7 Flash not benchmarked, gpt-oss-20b not benchmarked.
- Widest category
- Agentic work, 38.6 points apart on average over 1 shared benchmark.
- Widest single gap
- Design Arena: websites: GLM 4.7 Flash 1194 against gpt-oss-20b 853, 42.6 points apart on a 0 to 100 scale.
- Output price
- GLM 4.7 Flash $0.40 against gpt-oss-20b $0.15 per million output tokens, 2.7x apart.
- Context window
- GLM 4.7 Flash takes 200K 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.
| Category | GLM 4.7 Flash | Bars | gpt-oss-20b | Ties |
|---|---|---|---|---|
| Coding | 3 | 0 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 3 | 3 | ||
| Math | 2 | 1 | ||
| Knowledge | 4 | 0 | ||
| Web design | 2 | 0 | ||
| General | 16 | 1 | ||
| All shared boards | 32 | 5 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
| Benchmark | GLM 4.7 Flash | gpt-oss-20b | Leader |
|---|---|---|---|
| LiveCodeBench (Vals AI) | Not measured | 80.4% | Only gpt-oss-20b measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 77.7% | Only gpt-oss-20b measured |
| SciCode | Not measured | 38.9% | Only gpt-oss-20b measured |
| Terminal-Bench Hard (Artificial Analysis run) | 22.0% | 10.6% | GLM 4.7 Flash |
| Terminal-Bench | Not measured | 3.4% | Only gpt-oss-20b measured |
| WeirdML | Not measured | 40.9% | Only gpt-oss-20b measured |
| ALE-Bench | Not measured | 566.0 | Only gpt-oss-20b measured |
| LMArena Text: coding | 1382 | 1307 | GLM 4.7 Flash |
| LMArena Text: software and IT | 1389 | 1311 | GLM 4.7 Flash |
| Neither model has a result on the other 29 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 4.7 Flash | gpt-oss-20b | Leader |
|---|---|---|---|
| AA Intelligence Index | 14.9 | 10.0 | GLM 4.7 Flash |
| Epoch Capabilities Index | Not measured | 137.7 | Only gpt-oss-20b measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 4.7 Flash | gpt-oss-20b | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 98.8% | 60.2% | GLM 4.7 Flash |
| Neither model has a result on the other 38 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index33
| Benchmark | GLM 4.7 Flash | gpt-oss-20b | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 68.9% | Only gpt-oss-20b measured |
| GPQA Diamond (Artificial Analysis run) | 58.1% | 68.8% | gpt-oss-20b |
| Humanity's Last Exam (Artificial Analysis run) | 7.6% | 11.0% | gpt-oss-20b |
| GPQA Diamond (Epoch AI run) | 60.5% | 60.8% | gpt-oss-20b |
| LMArena Text: hard prompts | 1356 | 1274 | GLM 4.7 Flash |
| LMArena Text: expert | 1357 | 1258 | GLM 4.7 Flash |
| LMArena Text: hard prompts in English | 1369 | 1292 | GLM 4.7 Flash |
| Neither model has a result on the other 14 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index21
| Benchmark | GLM 4.7 Flash | gpt-oss-20b | Leader |
|---|---|---|---|
| AIME | Not measured | 86.0% | Only gpt-oss-20b measured |
| MATH 500 (Vals AI) | Not measured | 94.2% | Only gpt-oss-20b measured |
| MGSM (Vals AI) | Not measured | 89.0% | Only gpt-oss-20b measured |
| AA Math Index | Not measured | 89.3 | Only gpt-oss-20b measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 89.3% | Only gpt-oss-20b measured |
| OTIS Mock AIME | 58.3% | 65.3% | gpt-oss-20b |
| LMArena Text: math | 1355 | 1317 | GLM 4.7 Flash |
| LMArena Text: mathematical work | 1369 | 1305 | GLM 4.7 Flash |
| Neither model has a result on the other 5 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | GLM 4.7 Flash | gpt-oss-20b | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 71.6% | Only gpt-oss-20b measured |
| LegalBench (Vals AI) | Not measured | 70.8% | Only gpt-oss-20b measured |
| CaseLaw (Vals AI) | Not measured | 43.8% | Only gpt-oss-20b measured |
| CorpFin (Vals AI) | Not measured | 53.1% | Only gpt-oss-20b measured |
| TaxEval (Vals AI) | Not measured | 63.7% | Only gpt-oss-20b measured |
| MedQA (Vals AI) | Not measured | 82.9% | Only gpt-oss-20b measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 74.8% | Only gpt-oss-20b measured |
| LMArena Text: science | 1358 | 1296 | GLM 4.7 Flash |
| LMArena Text: medicine and healthcare | 1343 | 1310 | GLM 4.7 Flash |
| LMArena Text: legal and government | 1357 | 1280 | GLM 4.7 Flash |
| LMArena Text: business and finance | 1343 | 1284 | GLM 4.7 Flash |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GLM 4.7 Flash | gpt-oss-20b | Leader |
|---|---|---|---|
| Design Arena: websites | 1194 | 853 | GLM 4.7 Flash |
| Design Arena: UI components | 1208 | Not measured | Only GLM 4.7 Flash measured |
| Design Arena: game dev | 1135 | Not measured | Only GLM 4.7 Flash measured |
| Design Arena: data viz | 1123 | 933 | GLM 4.7 Flash |
| Design Arena: 3D | 1121 | Not measured | Only GLM 4.7 Flash measured |
| Design Arena: all code categories | 1178 | Not measured | Only GLM 4.7 Flash measured |
| Design Arena: SVG | 1038 | Not measured | Only GLM 4.7 Flash measured |
| Neither model has a result on the other 2 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index161
| Benchmark | GLM 4.7 Flash | gpt-oss-20b | Leader |
|---|---|---|---|
| IFBench | 60.8% | 65.1% | gpt-oss-20b |
| Long context reasoning (AA-LCR) | 41.7% | 34.7% | GLM 4.7 Flash |
| DTBench | Not measured | 68.0% | Only gpt-oss-20b measured |
| LMCA | Not measured | 14.5% | Only gpt-oss-20b measured |
| LMArena Text | 1351 | 1288 | GLM 4.7 Flash |
| LMArena Text: instruction following | 1327 | 1236 | GLM 4.7 Flash |
| LMArena Text: creative writing | 1296 | 1201 | GLM 4.7 Flash |
| LMArena Text: English | 1373 | 1303 | GLM 4.7 Flash |
| LMArena Text: non-English | 1330 | 1269 | GLM 4.7 Flash |
| LMArena Text: Chinese | 1403 | 1315 | GLM 4.7 Flash |
| LMArena Text: German | 1336 | 1255 | GLM 4.7 Flash |
| LMArena Text: Japanese | Not measured | 1244 | Only gpt-oss-20b measured |
| LMArena Text: Korean | 1283 | 1236 | GLM 4.7 Flash |
| LMArena Text: French | 1332 | Not measured | Only GLM 4.7 Flash measured |
| LMArena Text: Spanish | 1350 | 1267 | GLM 4.7 Flash |
| LMArena Text: Russian | 1333 | 1278 | GLM 4.7 Flash |
| LMArena Text: Polish | 1291 | 1252 | GLM 4.7 Flash |
| LMArena Text: multi-turn | 1342 | 1268 | GLM 4.7 Flash |
| LMArena Text: longer queries | 1345 | 1250 | GLM 4.7 Flash |
| LMArena Text: writing and language | 1320 | 1238 | GLM 4.7 Flash |
| LMArena Text: entertainment and media | 1304 | 1216 | GLM 4.7 Flash |
| Neither model has a result on the other 25 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 4.7 Flash | gpt-oss-20b | Leader |
|---|---|---|---|
| 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-oss-20b costs less
Repository review
50K input + 3K output tokens
gpt-oss-20b costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Z.ai GLM 4.7 Flash | OpenAI gpt-oss-20b |
|---|---|---|
| Maker | Z.ai | OpenAI |
| Weights | Open weights | Open weights |
| Released | January 19, 2026 | August 5, 2025 |
| Context window | 200K | 131K |
| Input $/Mtok | $0.0653 | $0.03 |
| Output $/Mtok | $0.40 | $0.15 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 4.7 Flash better than gpt-oss-20b for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. GLM 4.7 Flash has the edge where the context window is larger, 200K against 131K tokens, and where what matters is GPQA Diamond (Artificial Analysis run) or Humanity's Last Exam (Artificial Analysis run), where it leads.
Which is cheaper, GLM 4.7 Flash or gpt-oss-20b?
GLM 4.7 Flash costs $0.0653 per million input tokens and $0.40 per million output tokens; gpt-oss-20b costs $0.03 and $0.15. Cost per solved task is known for neither of them.
Which has the bigger context window, GLM 4.7 Flash or gpt-oss-20b?
GLM 4.7 Flash, with 200K tokens against 131K.
How many benchmarks is the GLM 4.7 Flash vs gpt-oss-20b comparison based on?
37 benchmarks have a result for both models as of October 21, 2026. GLM 4.7 Flash's coding index rests on 0 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.