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.
—744B
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.
200k200k
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.
—$1.00
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.
—$3.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.20
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.60GMICloud
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input.
—$1.92GMICloud
—$216GMICloud · fp8
Benchmarks
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.
30%28%
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.
72.7%77.8%
GPQA DiamondScience — Graduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better.
75.4%86%
Overview
CompanyAnthropicZ.ai
Release dateMay 22 2025Feb 11 2026
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

GLM-5 leads Claude Sonnet 4 on 2 of the 3 benchmarks they both report (BullshitBench v2, SWE-Bench Verified, GPQA Diamond). Only GLM-5 has a verified first-party price for an available API: $1.00 per million input tokens and $3.20 per million output tokens. No currently available pay-as-you-go API rate is tracked for Claude Sonnet 4. Claude Sonnet 4 shipped 265 days before GLM-5, so benchmark comparisons should account for the intervening progress.

Context windows are 200k (Claude Sonnet 4) vs 200k (GLM-5). Claude Sonnet 4 is closed, while GLM-5 is open weight.

On BullshitBench v2, Claude Sonnet 4 leads at 30% vs GLM-5 at 28%. On SWE-Bench Verified, GLM-5 leads at 77.8% vs Claude Sonnet 4 at 72.7%. On GPQA Diamond, GLM-5 leads at 86% vs Claude Sonnet 4 at 75.4%.