GLM 4.7 Flash vs GPT-4.1 Nano
GLM 4.7 Flash leads GPT-4.1 Nano on the Artificial Analysis Intelligence Index, 14.9 to 7.8, at about the same output price ($0.40 vs $0.40 per million). Updated October 22, 2026; 38 benchmarks have a result for both.
GLM 4.7 Flash or GPT-4.1 Nano: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Compare them on price, context and the boards below.
- Shared results
- 38
- GLM 4.7 Flash only
- 5
- GPT-4.1 Nano only
- 33
- 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.
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 7.8.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only GPT-4.1 Nano has a GPQA Diamond result, 50.8%.
Directional only
Math
AIME
No call
Only GPT-4.1 Nano has a AIME result, 26.5%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-4.1 Nano has a MMLU Pro result, 63.5%.
Directional only
Web design
Design Arena: websites
GLM 4.7 Flash
GLM 4.7 Flash leads, 1194 against 972.
Same board, both measured
Long documents
Listed context window
GPT-4.1 Nano
GPT-4.1 Nano takes 1.05M tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 4.7 Flash
GLM 4.7 Flash $0.0003, GPT-4.1 Nano $0.0003 per turn.
List prices
At a glance
- Coding index
- GLM 4.7 Flash not benchmarked, GPT-4.1 Nano not benchmarked.
- Widest category
- Agentic work, 81.6 points apart on average over 1 shared benchmark.
- Widest single gap
- τ²-Bench Telecom: GLM 4.7 Flash 98.8% against GPT-4.1 Nano 17.3%, 81.6 points apart on a 0 to 100 scale.
- Output price
- Both cost $0.40 per million output tokens.
- Context window
- GLM 4.7 Flash takes 200K tokens, GPT-4.1 Nano 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.
| Category | GLM 4.7 Flash | Bars | GPT-4.1 Nano | Ties |
|---|---|---|---|---|
| Coding | 3 | 0 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 6 | 0 | ||
| Math | 3 | 0 | ||
| Knowledge | 4 | 0 | ||
| Web design | 6 | 0 | ||
| General | 14 | 0 | ||
| All shared boards | 38 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
| Benchmark | GLM 4.7 Flash | GPT-4.1 Nano | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 8.9% | Only GPT-4.1 Nano measured |
| AA Coding Index | Not measured | 11.1 | Only GPT-4.1 Nano measured |
| LiveCodeBench (Vals AI) | Not measured | 42.7% | Only GPT-4.1 Nano measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 32.6% | Only GPT-4.1 Nano measured |
| Terminal-Bench Hard (Artificial Analysis run) | 22.0% | 3.8% | GLM 4.7 Flash |
| WeirdML | Not measured | 19.0% | Only GPT-4.1 Nano measured |
| LMArena Text: coding | 1382 | 1306 | GLM 4.7 Flash |
| LMArena Text: software and IT | 1389 | 1305 | GLM 4.7 Flash |
| Neither model has a result on the other 31 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 4.7 Flash | GPT-4.1 Nano | Leader |
|---|---|---|---|
| AA Intelligence Index | 14.9 | 7.8 | GLM 4.7 Flash |
| Epoch Capabilities Index | Not measured | 129.5 | Only GPT-4.1 Nano measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 4.7 Flash | GPT-4.1 Nano | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 98.8% | 17.3% | GLM 4.7 Flash |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 33.1% | Only GPT-4.1 Nano measured |
| Neither model has a result on the other 39 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | GLM 4.7 Flash | GPT-4.1 Nano | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 50.8% | Only GPT-4.1 Nano measured |
| MMMU Pro (Vals AI) | Not measured | 55.0% | Only GPT-4.1 Nano measured |
| GPQA Diamond (Artificial Analysis run) | 58.1% | 51.2% | GLM 4.7 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 7.6% | 3.8% | GLM 4.7 Flash |
| GPQA Diamond (Epoch AI run) | 60.5% | 48.9% | GLM 4.7 Flash |
| ARC-AGI | Not measured | 0.0% | Only GPT-4.1 Nano measured |
| ARC-AGI-2 | Not measured | 0.0% | Only GPT-4.1 Nano measured |
| Chess puzzles | Not measured | 0.0% | Only GPT-4.1 Nano measured |
| LMArena Text: hard prompts | 1356 | 1286 | GLM 4.7 Flash |
| LMArena Text: expert | 1357 | 1271 | GLM 4.7 Flash |
| LMArena Text: hard prompts in English | 1369 | 1293 | GLM 4.7 Flash |
| Kagi LLM Benchmark | Not measured | 33.3% | Only GPT-4.1 Nano measured |
| Neither model has a result on the other 10 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | GLM 4.7 Flash | GPT-4.1 Nano | Leader |
|---|---|---|---|
| AIME | Not measured | 26.5% | Only GPT-4.1 Nano measured |
| MATH 500 (Vals AI) | Not measured | 80.2% | Only GPT-4.1 Nano measured |
| MGSM (Vals AI) | Not measured | 69.3% | Only GPT-4.1 Nano measured |
| AA Math Index | Not measured | 24.0 | Only GPT-4.1 Nano measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 24.0% | Only GPT-4.1 Nano measured |
| OTIS Mock AIME | 58.3% | 28.9% | GLM 4.7 Flash |
| MATH level 5 | Not measured | 70.0% | Only GPT-4.1 Nano measured |
| LMArena Text: math | 1355 | 1274 | GLM 4.7 Flash |
| LMArena Text: mathematical work | 1369 | 1274 | GLM 4.7 Flash |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | GLM 4.7 Flash | GPT-4.1 Nano | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 63.5% | Only GPT-4.1 Nano measured |
| LegalBench (Vals AI) | Not measured | 61.1% | Only GPT-4.1 Nano measured |
| CorpFin (Vals AI) | Not measured | 42.1% | Only GPT-4.1 Nano measured |
| TaxEval (Vals AI) | Not measured | 60.8% | Only GPT-4.1 Nano measured |
| MortgageTax (Vals AI) | Not measured | 52.8% | Only GPT-4.1 Nano measured |
| MedQA (Vals AI) | Not measured | 68.2% | Only GPT-4.1 Nano measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 65.7% | Only GPT-4.1 Nano measured |
| SimpleQA Verified | Not measured | 6.0% | Only GPT-4.1 Nano measured |
| LMArena Text: science | 1358 | 1297 | GLM 4.7 Flash |
| LMArena Text: medicine and healthcare | 1343 | 1276 | GLM 4.7 Flash |
| LMArena Text: legal and government | 1357 | 1300 | GLM 4.7 Flash |
| LMArena Text: business and finance | 1343 | 1267 | 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 index60
| Benchmark | GLM 4.7 Flash | GPT-4.1 Nano | Leader |
|---|---|---|---|
| Design Arena: websites | 1194 | 972 | GLM 4.7 Flash |
| Design Arena: UI components | 1205 | 913 | GLM 4.7 Flash |
| Design Arena: game dev | 1134 | 970 | GLM 4.7 Flash |
| Design Arena: data viz | 1123 | 891 | GLM 4.7 Flash |
| Design Arena: 3D | 1120 | 924 | GLM 4.7 Flash |
| Design Arena: all code categories | 1177 | 962 | GLM 4.7 Flash |
| Design Arena: SVG | 1037 | 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 index140
| Benchmark | GLM 4.7 Flash | GPT-4.1 Nano | Leader |
|---|---|---|---|
| IFBench | 60.8% | 32.0% | GLM 4.7 Flash |
| Long context reasoning (AA-LCR) | 41.7% | 20.3% | GLM 4.7 Flash |
| DTBench | Not measured | 52.5% | Only GPT-4.1 Nano measured |
| LMCA | Not measured | 5.5% | Only GPT-4.1 Nano measured |
| Fiction.LiveBench | Not measured | 25.0% | Only GPT-4.1 Nano measured |
| LMArena Text | 1351 | 1285 | GLM 4.7 Flash |
| LMArena Text: instruction following | 1327 | 1266 | GLM 4.7 Flash |
| LMArena Text: creative writing | 1296 | 1260 | GLM 4.7 Flash |
| LMArena Vision | Not measured | 1063 | Only GPT-4.1 Nano measured |
| LMArena Text: English | 1373 | 1303 | GLM 4.7 Flash |
| LMArena Text: non-English | 1330 | 1260 | GLM 4.7 Flash |
| LMArena Text: Chinese | 1403 | 1270 | GLM 4.7 Flash |
| LMArena Text: German | 1336 | 1288 | GLM 4.7 Flash |
| LMArena Text: Japanese | Not measured | 1198 | Only GPT-4.1 Nano measured |
| LMArena Text: Korean | 1283 | Not measured | Only GLM 4.7 Flash measured |
| LMArena Text: French | 1332 | Not measured | Only GLM 4.7 Flash measured |
| LMArena Text: Spanish | 1350 | Not measured | Only GLM 4.7 Flash measured |
| LMArena Text: Russian | 1333 | 1261 | GLM 4.7 Flash |
| LMArena Text: Polish | 1291 | Not measured | Only GLM 4.7 Flash measured |
| LMArena Text: multi-turn | 1342 | 1277 | GLM 4.7 Flash |
| LMArena Text: longer queries | 1345 | 1283 | GLM 4.7 Flash |
| LMArena Text: writing and language | 1320 | 1261 | GLM 4.7 Flash |
| LMArena Text: entertainment and media | 1304 | 1243 | GLM 4.7 Flash |
| LMArena Vision: English | Not measured | 1101 | Only GPT-4.1 Nano 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
| Benchmark | GLM 4.7 Flash | GPT-4.1 Nano | 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
GLM 4.7 Flash costs less
Repository review
50K input + 3K output tokens
GLM 4.7 Flash costs less
Agent loop
200K input + 10K output tokens
GLM 4.7 Flash 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-4.1 Nano |
|---|---|---|
| Maker | Z.ai | OpenAI |
| Weights | Open weights | No public weights listed |
| Released | January 19, 2026 | April 14, 2025 |
| Context window | 200K | 1.05M |
| Input $/Mtok | $0.0653 | $0.10 |
| Output $/Mtok | $0.40 | $0.40 |
| 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-4.1 Nano for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Compare them on price, context and the boards below.
Which is cheaper, GLM 4.7 Flash or GPT-4.1 Nano?
GLM 4.7 Flash costs $0.0653 per million input tokens and $0.40 per million output tokens; GPT-4.1 Nano costs $0.10 and $0.40. Cost per solved task is known for neither of them.
Which has the bigger context window, GLM 4.7 Flash or GPT-4.1 Nano?
GPT-4.1 Nano, with 1.05M tokens against 200K.
How many benchmarks is the GLM 4.7 Flash vs GPT-4.1 Nano comparison based on?
38 benchmarks have a result for both models as of October 22, 2026. GLM 4.7 Flash's coding index rests on 0 independent benchmarks and GPT-4.1 Nano's on 0. Where only one model has a result, the page says so instead of naming a winner.