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 | ||
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.0507Baidu | — |
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input. | $0.2028Baidu | — |
| $20.28Baidu · fp8 | — | |
| 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. | 57% | — |
DeepSWE 1.1Agentic coding — Artificial Analysis' independent test of deep, agentic software-engineering work — the AI has to plan and carry out substantial coding tasks end to end. (Version 1.1 of the test.) Higher is better. | 74.2% | — |
NL2Repo-BenchRepo-level code generation — Tests whether the AI can turn a natural-language requirement into working code across an entire repository, not just produce a single function or patch. Higher is better. | 65.4% | — |
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 4.0Agentic terminal coding — Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? Version 4.0 recalibrated how much time, CPU and memory each task gets, removed eight tasks and fixed nineteen, so fewer runs fail for reasons that have nothing to do with the model. Scores are not comparable with earlier versions. Higher is better. | 31.2% | — |
Terminal-Bench 3.0Agentic terminal coding — command-line task completion (v3.0, much harder task set) | 30% | — |
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. | 90.6% | — |
IFEvalAgentic tasks — following verifiable instructions in generated responses | — | 75.2% |
CyberGymCybersecurity — Tests the AI on cybersecurity challenges — finding and exploiting software weaknesses inside a safe sandbox. Higher is better. | 88.1% | — |
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. | 36.8% | — |
Humanity's Last Exam · text only, no toolsMultidisciplinary reasoning — accuracy on the 2,158 text-only questions without tools | 39.1% | — |
Humanity's Last Exam · with toolsMultidisciplinary reasoning — Humanity's Last Exam — extremely hard expert questions across many subjects. “With tools” means the AI is allowed to search the web or run code while answering. Higher is better. | 63.9% | — |
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. | 90.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% |
Agent's Last Exam · pass@1Agentic computer use — A hard set of desktop and operating-system tasks an AI agent has to finish by looking at the screen and working the machine itself. The score is the share it passes outright — partial credit does not count. Higher is better. | 31.8% | — |
AutomationBenchBusiness workflows — Tests whether the AI can run real multi-step business workflows — the kind of end-to-end office processes companies want to automate — from start to finish. Higher is better. | 54.8% | — |
Chartography · with toolsChart tasks — A chart-centred test run with tools available to the AI, reported separately from the chart-reading benchmarks above it. Higher is better. | 78.9% | — |
threejsevalCommunity preference (Three.js) — Every model gets the same prompt — "the Eiffel Tower", "a glass fishbowl", "a robot arm picking toys into a box" — and builds a 3D scene in Three.js. Real people then see two scenes side by side, names hidden, and vote for the one they prefer. The votes become a chess-style Elo rating on threejseval.com, averaged across all the prompts. It measures whether the scene looks and moves right to a human eye, not whether the code passes a test. Higher is better. | 1614 | — |
| Overview | ||
| Company | DeepSeek | Z.ai |
| Release date | Sep 10 2026 | Jun 5 2024 |
| Access | Open Weight | Closed |
| Model details | View model | View model |
Other comparisons
DeepSeek-V4.1-FlashvsClaude Fable 5.2GLM-4-AirvsClaude Fable 5.2DeepSeek-V4.1-FlashvsGPT-6.2 AstraGLM-4-AirvsGPT-6.2 AstraDeepSeek-V4.1-FlashvsGemini 4 HydrogenGLM-4-AirvsGemini 4 HydrogenDeepSeek-V4.1-FlashvsMuse EmberGLM-4-AirvsMuse EmberDeepSeek-V4.1-FlashvsGrok 4.7GLM-4-AirvsGrok 4.7DeepSeek-V4.1-FlashvsMistral Large 4GLM-4-AirvsMistral Large 4Frequently asked questions
DeepSeek-V4.1-Flash and GLM-4-Air don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. GLM-4-Air shipped 827 days before DeepSeek-V4.1-Flash, so benchmark comparisons should account for the intervening progress.
Context windows are 1M (DeepSeek-V4.1-Flash) vs 128k (GLM-4-Air). DeepSeek-V4.1-Flash is open weight, while GLM-4-Air is closed.
Direct benchmark comparisons are unavailable — DeepSeek-V4.1-Flash and GLM-4-Air don't publish scores on any of the same benchmarks.