GLM-4.5 vs GPT-4.1
API pricing, benchmark indices and specs — updated 19 October 2026.
openai · B · API-only
Input / 1M
$2.00
Output / 1M
$8.00
AA index
12.7
proprietary · 1.0M context
Specification comparison
Differences are highlighted; identical values are muted.
| Specification | GLM-4.5 | GPT-4.1 |
|---|---|---|
| Deployment | Open weights · also via API | API-only (closed weights) |
| Parameters | 358.3 B | n/a — API-only |
| Architecture | Glm4MoeForCausalLM | n/a — API-only |
| Context length | 131,072 | 1,047,576 |
| Licence | mit | Proprietary |
| Commercial use | Allowed | Per API terms |
| Languages | 2 | n/a — API-only |
| Downloads 30d | 113,929 | n/a — API-only |
| Downloads all time | 1.2 M | n/a — API-only |
| Quantizations on the Hub | SAFETENSORS | n/a — API-only |
| Gated | No | n/a — API-only |
| First seen on the Hub | 2025-07-20 | n/a — API-only |
| API input price / 1M tokens | $0.60 | $2.00 |
| API output price / 1M tokens | $2.20 | $8.00 |
| Est. cost per 1M input + 1M output tokens | $2.80 | $10.00 |
| Cached input / 1M tokens | $0.11 | $0.50 |
| AA Intelligence Index | 12.8 | 12.7 |
| AA Coding Index | — | — |
| AA Agentic Index | — | — |
| Max output tokens | 98,304 | 32,768 |
| API providers | 1 | 2 |
| Tool calling | Yes | Yes |
| Reasoning mode | Yes | No |
API cost
Estimated cost of 1M input + 1M output tokens via OpenRouter
GLM-4.5
$2.80
GPT-4.1
$10.00
GLM-4.5 is 3.6× cheaper at list price.
VRAM side by side
On RTX 4090 · 24 GB · 8K context unless noted
GLM-4.5 · fp16 @ 128K ctx
1,648.9 GB / 24 GB