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 |
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 |
| 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% | — |
| Overview | ||
| Company | OpenAI | Z.ai |
| Release date | Dec 18 2025 | Jun 5 2024 |
| Access | Closed | Open Weight |
| Model details | View model | View model |
Other comparisons
GPT-5.2-CodexvsClaude Fable 5.2GLM-4-9BvsClaude Fable 5.2GPT-5.2-CodexvsGemini 4 CarbonGLM-4-9BvsGemini 4 CarbonGPT-5.2-CodexvsMuse EmberGLM-4-9BvsMuse EmberGPT-5.2-CodexvsGrok 4.7GLM-4-9BvsGrok 4.7GPT-5.2-CodexvsDeepSeek-V4.1-Flash-1017GLM-4-9BvsDeepSeek-V4.1-Flash-1017GPT-5.2-CodexvsMistral Large 4GLM-4-9BvsMistral Large 4Frequently asked questions
GPT-5.2-Codex and GLM-4-9B don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. GLM-4-9B shipped 561 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-4-9B). GPT-5.2-Codex is closed, while GLM-4-9B is open weight.
Direct benchmark comparisons are unavailable — GPT-5.2-Codex and GLM-4-9B don't publish scores on any of the same benchmarks.