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. | — | 355B |
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. | 200k | 200k |
| API pricingUSD per 1M tokens · lower wins | ||
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it. | — | $0.60 |
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one. | — | $2.20 |
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again. | — | $0.11 |
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. | — | $0.40DeepInfra |
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input. | — | $1.60DeepInfra |
| — | $174Venice · fp4 | |
| These models have no shared benchmark scores. | ||
SWE-Bench VerifiedCoding — Real coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better. | — | 68% |
| Overview | ||
| Company | OpenAI | Z.ai |
| Release date | May 16 2025 | Sep 30 2025 |
| Access | Closed | Open Weight |
| Model details | View model | View model |
Other comparisons
codex-mini-latestvsClaude Fable 5.2GLM-4.6vsClaude Fable 5.2codex-mini-latestvsGemini 4 CarbonGLM-4.6vsGemini 4 Carboncodex-mini-latestvsMuse EmberGLM-4.6vsMuse Embercodex-mini-latestvsGrok 4.7GLM-4.6vsGrok 4.7codex-mini-latestvsDeepSeek-V4.1-Flash-1017GLM-4.6vsDeepSeek-V4.1-Flash-1017codex-mini-latestvsMistral Large 4GLM-4.6vsMistral Large 4Frequently asked questions
codex-mini-latest and GLM-4.6 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Only GLM-4.6 has a verified first-party price for an available API: $0.60 per million input tokens and $2.20 per million output tokens. No currently available pay-as-you-go API rate is tracked for codex-mini-latest. codex-mini-latest shipped 137 days before GLM-4.6, so benchmark comparisons should account for the intervening progress.
Context windows are 200k (codex-mini-latest) vs 200k (GLM-4.6). codex-mini-latest is closed, while GLM-4.6 is open weight.
Direct benchmark comparisons are unavailable — codex-mini-latest and GLM-4.6 don't publish scores on any of the same benchmarks.