GLM 5.1 and ERNIE-5.1-Preview have no benchmarks in common in this dataset, so their scores cannot be compared directly. The specification and pricing rows below still apply.
Price basis: International rates vs listed rates. The price section below shows the applicable periods.
| Fact | GLM 5.1 | ERNIE-5.1-Preview |
|---|---|---|
| Context window | 200K tokens | 128K tokens |
| Input / 1M | $1.40 | $0.560 |
| Output / 1M | $4.40 | $2.53 |
| Blended (4:1) | $1.18 | $0.954 |
| Status | Available | Available |
| Released | March 27, 2026 | April 30, 2026 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Published scores, with matching modes where available. Gaps show GLM 5.1 relative to ERNIE-5.1-Preview. Reading the results
A dash means no result is available.
| Benchmark | GLM 5.1 | ERNIE-5.1-Preview |
|---|---|---|
| AIME 2026 | 95.3 | — |
| CritPt | 4.6 | — |
| FrontierMath v2 | 36.8 | — |
| GPQA Diamond | 86.2 | — |
| HLE | 52.3 | — |
| IMO-AnswerBench | 83.8 | — |
| SciCode | 44.8 | — |
| APEX-SWE | 34.5 | — |
| Code Migration | 25.8 | — |
| FrontierSWE v1 | 25.7 | — |
| SWE-Bench Pro - Public | 58.4 | — |
| Terminal Bench 2.0 | 63.5 | — |
| Terminal Bench Hard | 43.2 | — |
| Terminal-Bench 2.1 | 58.7 | — |
| Terminal-Bench 4.0 | 2.0 | — |
| Vibe Code Bench v1.1 | 31.5 | — |
| WeirdML v2 | 57.1 | — |
| Agents' Last Exam v1.0 | 11.5 | — |
| APEX-Agents | 40.9 | — |
| MCP-Atlas | 75.6 | — |
| PinchBench v2 | 60.0 | — |
| Tool Decathlon | 40.7 | — |
| ExploitBench | 18.1 | — |
| ECI | 150 | — |
| LiveBench | 70.2 | — |
| Text Arena (Coding) | 1534 | — |
| Creative Writing | 1594 | — |
| Context Arena | 62.0 | — |
| GDP.pdf | 8.4 | — |
| AutomationBench | 6.2 | — |
| Finance Agent v2 | 44.8 | — |
| Legal Research Bench | 27.9 | — |
| Public Benefits Bench v1.1 | 61.8 | — |
| τ²-Bench - Telecom | 97.7 | — |
| τ³-Banking | 13.6 | — |
| SimpleBench | 55.1 | — |
| Vending-Bench 2 | 5634 | — |
| BrowseComp | 79.3 | — |
| MedCode | 41.6 | — |
| MedScribe | 72.3 | — |
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%
GLM 5.1 costs24%morethan ERNIE-5.1-Preview per million tokens.Using international rates vs listed rates at this token mix.
GLM 5.1: International pricing. Z.ai international price (docs.z.ai/guides/overview/pricing) verified 2026-10-22 via browser
ERNIE-5.1-Preview: International pricing. context_length <= 32000 Baidu Qianfan Intl ERNIE-5.1 <=32K context_length > 32000; context_length <= 128000 Baidu Qianfan Intl ERNIE-5.1 32K-128K
| Price / 1M tokens | GLM 5.1 | ERNIE-5.1-Preview | Ratio |
|---|---|---|---|
| Input | $1.40 | $0.56 | 2.50× |
| Output | $4.40 | $2.53 | 1.74× |
| Cached input | $0.26 | — | — |
| Cache write | — | — | — |
| Blended | $1.18 | $0.954 | 1.24× |
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 | GLM 5.1 | ERNIE-5.1-Preview |
|---|---|---|
| Agents' Last Exam v1.0 | Not reported | |
| AutomationBench | Not reported | |
| Code Migration | $5.7013 / task Average · Hidden-test pass rate (%): 25.8 Unspecified Reasoning (With Tools) | Not reported |
| Finance Agent v2 | Not reported | |
| Legal Research Bench | Not reported | |
| MedCode | Not reported | |
| MedScribe | Not reported | |
| Public Benefits Bench v1.1 | $0.3407 / task Average · Criterion pass rate (%): 61.8 Unspecified Reasoning (With Tools) | Not reported |
| Vibe Code Bench v1.1 | Not reported |
| Attribute | GLM 5.1 | ERNIE-5.1-Preview |
|---|---|---|
| Availability | Available | Available |
| Provider | Zhipu AI | Baidu |
| Model type | Reasoning model | Reasoning model |
| First release | March 27, 2026 | April 30, 2026 |
| Context window | 200K tokens | 128K tokens |
| Max output | 128K tokens | 8K tokens |
| Total parameters | 754B | 800B |
| Active parameters | 40B | — |
| Architecture | Mixture of Experts (MoE) | Dense |
| Documented capabilities | Reasoning, Multilingual | Reasoning, Multilingual, Tool use |
| Input modalities | Text | Text |
| Output modalities | Text | Text |
| Weights | Open weights | Closed / API only |
| Licence | MIT License | — |
| Commercial use | Commercial use allowed | Proprietary |
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.
Sign in with Google to comment on GLM 5.1 vs ERNIE-5.1-Preview.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.