Compare AI models
| Specifications | ||
ParametersThe learned values that shape how a model responds. B means billion and T means trillion. For mixture-of-experts models, the total count is larger than the number active for each token. Parameter count alone does not measure quality. | — | 9B/32B |
Context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider. | 400k | 128k |
| API pricingUSD per 1M tokens · lower wins | ||
Cheapest inputLowest input rate across every provider on OpenRouter, the lab included. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page. | $1.75Azure | — |
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input. | $14.00Azure | — |
| $1,050Azure | — | |
| These models have no shared benchmark scores. | ||
BullshitBench v2Nonsense detection — Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better. | 45% | — |
Next.js EvalsNext.js coding — Vercel's open eval of how well AI coding agents build and migrate real Next.js apps — measured as the share of tasks the agent completes successfully. Higher is better. | 46% | — |
LiveCodeBenchCompetitive coding — Coding problems published so recently the AI can't have seen them in training — a contamination-free test of raw programming skill. Higher is better. | — | 59.1% |
IFEvalAgentic tasks — following verifiable instructions in generated responses | — | 84.5% |
AIME 2024Reasoning — single-answer accuracy on the 2024 invitational mathematics exam without tools | — | 80.8% |
AIME 2025Reasoning — single-answer accuracy on the 2025 invitational mathematics exam without tools | — | 63.6% |
| Overview | ||
| Company | OpenAI | Z.ai |
| Release date | Dec 18 2025 | Apr 14 2025 |
| Access | Closed | Open Weight |
| Model details | View model | View model |
Other comparisons
GPT-5.2-CodexvsClaude Fable 5.2GLM-Z1-0414vsClaude Fable 5.2GPT-5.2-CodexvsGemini 4 HydrogenGLM-Z1-0414vsGemini 4 HydrogenGPT-5.2-CodexvsMuse EmberGLM-Z1-0414vsMuse EmberGPT-5.2-CodexvsGrok 4.7GLM-Z1-0414vsGrok 4.7GPT-5.2-CodexvsDeepSeek-V4.1-Flash-1017GLM-Z1-0414vsDeepSeek-V4.1-Flash-1017GPT-5.2-CodexvsMistral Large 4GLM-Z1-0414vsMistral Large 4Frequently asked questions
GPT-5.2-Codex and GLM-Z1-0414 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. GLM-Z1-0414 shipped 248 days before GPT-5.2-Codex, so benchmark comparisons should account for the intervening progress.
Context windows are 400k (GPT-5.2-Codex) vs 128k (GLM-Z1-0414). GPT-5.2-Codex is closed, while GLM-Z1-0414 is open weight.
Direct benchmark comparisons are unavailable — GPT-5.2-Codex and GLM-Z1-0414 don't publish scores on any of the same benchmarks.