GLM-5.2 vs GPT-5.3-Codex
API pricing, benchmark indices and specs — updated 19 October 2026.
openai · B · API-only
Input / 1M
$1.75
Output / 1M
$14.00
AA index
32.5
proprietary · 400K context
Specification comparison
Differences are highlighted; identical values are muted.
| Specification | GLM-5.2 | GPT-5.3-Codex |
|---|---|---|
| Deployment | Open weights · also via API | API-only (closed weights) |
| Parameters | 753.3 B | n/a — API-only |
| Architecture | GlmMoeDsaForCausalLM | n/a — API-only |
| Context length | 1,048,576 | 400,000 |
| Licence | mit | Proprietary |
| Commercial use | Allowed | Per API terms |
| Languages | 2 | n/a — API-only |
| Downloads 30d | 333,202 | n/a — API-only |
| Downloads all time | 4.8 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 | 2026-06-16 | n/a — API-only |
| API input price / 1M tokens | $0.034 | $1.75 |
| API output price / 1M tokens | $7.00 | $14.00 |
| Est. cost per 1M input + 1M output tokens | $7.03 | $15.75 |
| Cached input / 1M tokens | $0.033 | $0.18 |
| AA Intelligence Index | 33.7 | 32.5 |
| AA Coding Index | 68.8 | — |
| AA Agentic Index | 38.4 | — |
| Max output tokens | 943,718 | 128,000 |
| API providers | 26 | 2 |
| Tool calling | Yes | Yes |
| Reasoning mode | Yes | Yes |
API cost
Estimated cost of 1M input + 1M output tokens via OpenRouter
GLM-5.2
$7.03
GPT-5.3-Codex
$15.75
GLM-5.2 is 2.2× cheaper at list price.
VRAM side by side
On RTX 4090 · 24 GB · 8K context unless noted
GLM-5.2 · fp16 @ 1024K ctx
16,121.8 GB / 24 GB