Compare AI models

Specifications
Context windowHow much text the model can hold in mind at once — your question, any documents you attach, the conversation so far, and its own reply. Go past it and the earliest part falls out of view.
1M1M
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.
$5.00$0.75
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.
$25.00$3.75
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.50$0.075
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.
$5.00Amazon Bedrock$0.375Google AI Studio
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input.
$25.00Amazon Bedrock$1.875Google AI Studio
$2,250Anthropic list price$338Google list price
Benchmarks
CheatBenchCheating rate — Measures how often AI agents try to cheat on difficult assignments, such as reading hidden answers, copying work or manipulating grading. The overall score gives equal weight to ten categories; the sycophancy category measures how far an agent shifts its beliefs toward a user's stated views. Scores describe each model in its tested agent setup, and task success is measured separately. Lower is better.
45.3%75.2%
CursorBench 4.0Agentic coding — Cursor's own test of coding agents on ambiguous, multi-file tasks taken from real Cursor sessions — editing, refactoring, investigating a codebase, understanding what the user meant, managing jobs and following a design. Cursor runs each model at several reasoning efforts; each release here carries the score of its best listed effort. Scores aren't comparable with earlier CursorBench versions. Higher is better.
46.6%39.6%
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.
68.8%71%
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.
94%90%
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.
51.82%19.1%
ARC-AGI-2Abstract reasoning — Puzzle-style tests of abstract reasoning and pattern-finding — the kind of thing people find easy but AIs often struggle with. Higher is better.
90.4%89.2%
BioMysteryBench · hardBiology — Real unsolved-style biology puzzles — the AI has to reason its way to an answer the way a research biologist would. The “hard” split contains the toughest cases. Higher is better.
49.4%56.5%
BioMysteryBench · human solvedBiology — Real biology puzzles that human experts have managed to crack — can the AI reach the same answers? Higher is better.
90.1%88.8%
OSWorld 2.0Agentic computer use — Can the AI actually operate a computer — clicking, typing, and using real apps — to finish tasks on its own? Version 2.0 is a harder, refreshed task set. Higher is better.
74%59%
GDPval-AA v2Knowledge work — economically valuable knowledge work (v2, re-based Elo)
18611545
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.
17231577
Overview
CompanyAnthropicGoogle
Release dateJul 24 2026Sep 2 2026
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

Claude Opus 5 leads Gemini 3.8 Flash on 9 of the 11 benchmarks they both report. Gemini 3.8 Flash is cheaper on both input and output: $0.75 vs $5.00 per million input tokens, and $3.75 vs $25.00 per million output tokens. Claude Opus 5 shipped 40 days before Gemini 3.8 Flash, so benchmark comparisons should account for the intervening progress.

Context windows are 1M (Claude Opus 5) vs 1M (Gemini 3.8 Flash).

On CheatBench, Claude Opus 5 leads at 45.3% vs Gemini 3.8 Flash at 75.2%. On CursorBench 4.0, Claude Opus 5 leads at 46.6% vs Gemini 3.8 Flash at 39.6%. On DeepSWE 1.1, Gemini 3.8 Flash leads at 71% vs Claude Opus 5 at 68.8%. On Next.js Evals, Claude Opus 5 leads at 94% vs Gemini 3.8 Flash at 90%. On Terminal-Bench 4.0, Claude Opus 5 leads at 51.82% vs Gemini 3.8 Flash at 19.1%. On ARC-AGI-2, Claude Opus 5 leads at 90.4% vs Gemini 3.8 Flash at 89.2%. On BioMysteryBench · hard, Gemini 3.8 Flash leads at 56.5% vs Claude Opus 5 at 49.4%. On BioMysteryBench · human solved, Claude Opus 5 leads at 90.1% vs Gemini 3.8 Flash at 88.8%. On OSWorld 2.0, Claude Opus 5 leads at 74% vs Gemini 3.8 Flash at 59%. On GDPval-AA v2, Claude Opus 5 leads at 1861 vs Gemini 3.8 Flash at 1545. On threejseval, Claude Opus 5 leads at 1723 vs Gemini 3.8 Flash at 1577.