Across 8 comparable benchmarks, GPT-5.1 Codex has better reported results on 7 and worse on 1.
Moderate evidence8 of 8 shared results countedHow we compare
GPT-5.1 Codex is no longer available through its official API. API prices for this version are not shown.
Price basis: Listed rates vs international rates. The price section below shows the applicable periods.
| Fact | GPT-5.1 Codex | GLM-4.6 |
|---|---|---|
| Context window | 400K tokens | 200K tokens |
| Input / 1M | — | $0.600 |
| Output / 1M | — | $2.20 |
| Blended (4:1) | — | $0.567 |
| Status | Retired | Available |
| Released | November 14, 2025 | September 30, 2025 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 5 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
GPT-5.1 Codex ahead on 5 of 5 counted
GLM-4.6 ahead on 1 of 1 counted
GPT-5.1 Codex ahead on 1 of 1 counted
No fixed-scale average — see the rows in Benchmark results
No shared comparable results for Abstract reasoning, Computer & tool use, Research & search, Long context, Multimodal, Professional work & productivity, Cybersecurity.
Published scores, with matching modes where available. Gaps show GPT-5.1 Codex relative to GLM-4.6. Reading the results
| Benchmark | GPT-5.1 Codex | GLM-4.6 | Gap |
|---|---|---|---|
| LiveCodeBenchAlgorithmic Coding · Pass @K | 85.5Thinking High · tools | 84.5≠Thinking · tools | 1.01×#24 vs #27 of 113 |
| SWE-bench VerifiedRepository Engineering · Accuracy | 70.4Thinking High · tools | 68.0≠Normal · no tools | +2.4 pts#60 vs #68 of 108 |
| Terminal Bench HardAgentic Development · Accuracy | 34.8Thinking High · tools | 28.8≠Normal · tools | +6.0 pts#50 vs #72 of 157 |
| Terminal-Bench 1.0Agentic Development · Accuracy | 56.3Thinking High · tools | 40.5≠Thinking · tools | +15.8 pts#1 vs #10 of 26 |
| Vibe Code Bench v1.1Code Generation & Editing · Pass rate (%) | 13.1Thinking High · tools | 3.1≠Unspecified Reasoning · tools | +10.0 pts#99 vs #113 of 121 |
| AIME2025Mathematics · Accuracy | 95.7Thinking High · no tools | 98.6≠Thinking · no tools | −2.9 pts#22 vs #15 of 86 |
| CritPtScientific Reasoning · Score | 5.7Thinking High · no tools | 1.1≠Thinking · no tools | 5.18×#66 vs #103 of 134 |
| LiveBenchCross-capability Suites · Accuracy | 68.6Normal · no tools | 55.2Normal · no tools | +13.4 pts#63 vs #91 of 106 |
Algorithmic Coding · Pass @K
Repository Engineering · Accuracy
Agentic Development · Accuracy
Agentic Development · Accuracy
Code Generation & Editing · Pass rate (%)
Mathematics · Accuracy
Scientific Reasoning · Score
Cross-capability Suites · Accuracy
A dash means no result is available.
| Benchmark | GPT-5.1 Codex | GLM-4.6 |
|---|---|---|
| FrontierMath - Tier 4 | — | 2.1 |
| GPQA Diamond | — | 82.9 |
| HLE | — | 30.4 |
| MMLU-Pro | — | 83.2 |
| APEX-SWE | 29.0 | — |
| Terminal Bench 2.0 | 52.8 | — |
| Creative Writing | — | 1412 |
| MMMU-Pro | 72.5 | — |
| τ²-Bench | — | 75.9 |
| τ²-Bench - Telecom | — | 70.5 |
| τ³-Banking | — | 13.4 |
| BrowseComp | — | 45.1 |
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
A blended cost needs a published input and output price on both sides, and one of these two does not have them yet.
GPT-5.1 Codex: Listed text rates; pricing tier not confirmed.
GLM-4.6: International pricing. Z.ai official (OpenRouter Z.AI first-party row), verified 2026-09-25
| Price / 1M tokens | GPT-5.1 Codex | GLM-4.6 | Ratio |
|---|---|---|---|
| Input | — | $0.60 | — |
| Output | — | $2.20 | — |
| Cached input | — | $0.11 | — |
| Cache write | — | — | — |
| Blended | — | $0.567 | — |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Reported cost per task, paired with the score from the same run. Settings and sources may differ; costs do not affect the verdict.
| Benchmark | GPT-5.1 Codex | GLM-4.6 |
|---|---|---|
| Vibe Code Bench v1.1 | Not reported |
| Attribute | GPT-5.1 Codex | GLM-4.6 |
|---|---|---|
| Availability | Retired | Available |
| Provider | OpenAI | Zhipu AI |
| Model type | Coding model | Chat model |
| First release | November 14, 2025 | September 30, 2025 |
| Context window | 400K tokens | 200K tokens |
| Max output | 128K tokens | 128K tokens |
| Total parameters | — | 355B |
| Active parameters | — | 32B |
| Architecture | Undisclosed | Mixture of Experts (MoE) |
| Documented capabilities | Reasoning, Coding | Reasoning, Multilingual |
| Input modalities | Text, Image | Text |
| Output modalities | Text | Text |
| Weights | Closed / API only | Open weights |
| Licence | — | MIT License |
| Commercial use | Proprietary | Commercial use allowed |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Used GPT-5.1 Codex or GLM-4.6? Sign in with Google to share what worked, what did not, and which API or setup you tested.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.