Compare AI models
| Specifications | ||
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. | 1M | 128k |
| 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.25 | — |
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. | $1.50 | — |
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.025 | — |
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.125Google AI Studio | — |
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input. | $0.75Google AI Studio | — |
| $125Google list price | — | |
| 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. | 11% | — |
SWE-Bench ProAgentic coding — Can the AI fix real bugs in real software? It's handed actual problems from open-source projects and has to write code that genuinely solves them. Higher is better. | 38.3% | — |
MLE-BenchML engineering — Can the AI do the work of a machine-learning engineer? It competes in real Kaggle competitions — building, training, and tuning models end to end — and the score reflects how well it places. Higher is better. | 22% | — |
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. | 72% | — |
HumanEvalFunction synthesis — 164 small Python problems: the AI is given a function's description and has to write the working function. This was the coding benchmark of the GPT-3.5 and GPT-4 era, before the field moved to fixing real bugs in real repositories. Higher is better. | — | 75.7% |
Terminal-Bench 2.1Agentic terminal coding — Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? Higher is better. | 31% | — |
IFEvalAgentic tasks — following verifiable instructions in generated responses | — | 75.2% |
Humanity's Last Exam · no toolsMultidisciplinary reasoning — Humanity's Last Exam — extremely hard expert questions across many subjects, written so you can't just look up the answer. “No tools” means the AI answers on its own. Higher is better. | 16% | — |
MATHReasoning — accuracy on the original competition mathematics test set | — | 57.9% |
GPQA DiamondScience — Graduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 86.9% | — |
SimpleQA VerifiedKnowledge — accuracy on the vetted factual questions in SimpleQA Verified | 43.3% | — |
MMMLUKnowledge — average accuracy on multilingual translations of MMLU | 88.9% | — |
MMLUGeneral knowledge — A 57-subject multiple-choice exam — history, law, medicine, maths — that was the standard measure of how much a model knows from 2020 until roughly 2024, when frontier scores crowded into the high 80s and labs moved on to harder tests. The scores here were published years apart under different testing setups, so read them as a historical record rather than a like-for-like ranking. Higher is better. | — | 81.9% |
GSM8KGrade-school math — Grade-school maths word problems that take a few steps of arithmetic to work through. It separated the models of 2022 and 2023 sharply, then saturated. One caveat on the historical numbers: OpenAI included part of the GSM8K training set in GPT-4's pre-training mix, so GPT-4's score is not a clean few-shot result. Higher is better. | — | 90.9% |
OSWorld-VerifiedAgentic computer use — Can the AI actually operate a computer — clicking, typing, and using real apps — to finish tasks on its own? Higher is better. | 54.3% | — |
GDPval-AA v2Knowledge work — economically valuable knowledge work (v2, re-based Elo) | 642 | — |
CharXiv ReasoningChart reasoning — Can the AI read and reason about complex charts and figures, not just text? Higher is better. | 73.2% | — |
CharXiv Reasoning · with toolsChart reasoning — The same chart-and-figure reasoning test, run with the AI allowed to use tools — writing code to inspect the image, for instance — rather than reading the chart unaided. Scores run higher than the unaided version, so read the two as separate tests. Higher is better. | 75.6% | — |
MMMU-ProMultimodal reasoning — A tougher version of MMMU — college-level questions that mix images, diagrams, and text together. Higher is better. | 76.8% | — |
MRCR v2 (8-needle) · 128k averageLong context — Tests whether the AI can find specific details buried inside a very long document (around 128k tokens — roughly a long book). Higher is better. | 60.1% | — |
MRCR v2 (8-needle) · 1M pointwiseLong context — Tests whether the AI can find specific details buried inside an enormous document (around 1 million tokens — many books). Higher is better. | 12.3% | — |
| Overview | ||
| Company | Z.ai | |
| Release date | Mar 3 2026 | Jun 5 2024 |
| Access | Closed | Closed |
| Model details | View model | View model |
Other comparisons
Gemini 3.1 Flash-LitevsClaude Fable 5.2GLM-4-AirvsClaude Fable 5.2Gemini 3.1 Flash-LitevsGPT-6.2 AstraGLM-4-AirvsGPT-6.2 AstraGemini 3.1 Flash-LitevsMuse EmberGLM-4-AirvsMuse EmberGemini 3.1 Flash-LitevsGrok 4.7GLM-4-AirvsGrok 4.7Gemini 3.1 Flash-LitevsDeepSeek-V4.1-Flash-1017GLM-4-AirvsDeepSeek-V4.1-Flash-1017Gemini 3.1 Flash-LitevsMistral Large 4GLM-4-AirvsMistral Large 4Frequently asked questions
Gemini 3.1 Flash-Lite and GLM-4-Air don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Only Gemini 3.1 Flash-Lite has a verified first-party price for an available API: $0.25 per million input tokens and $1.50 per million output tokens. No currently available pay-as-you-go API rate is tracked for GLM-4-Air. GLM-4-Air shipped 636 days before Gemini 3.1 Flash-Lite, so benchmark comparisons should account for the intervening progress.
Context windows are 1M (Gemini 3.1 Flash-Lite) vs 128k (GLM-4-Air).
Direct benchmark comparisons are unavailable — Gemini 3.1 Flash-Lite and GLM-4-Air don't publish scores on any of the same benchmarks.