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.
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.
$2.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.
$10.00—
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.
$2.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.
$10.00Amazon Bedrock$1.875Google AI Studio
$900Anthropic list price$338Google
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.
80%35%
FrontierCode v1.1 (Main) · main splitAgentic coding — A set of very hard, frontier-difficulty coding tasks an AI agent has to complete end to end. The score is the share of tasks in the main split it solves. Higher is better.
42.4%43.6%
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.
12.42%11.21%
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.
80.4%85.8%
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.
32.9%43.5%
BioMysteryBench · human solvedBiology — Real biology puzzles that human experts have managed to crack — can the AI reach the same answers? Higher is better.
87.5%87.1%
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.
13.5%30.4%
Harvey's Legal Agent BenchmarkAgentic legal work — Harvey's test of whether an AI agent can complete real legal work — drafting and reviewing documents, working with spreadsheets and presentations, and navigating files the way a lawyer's assistant would. Higher is better.
8.9%8.8%
GDPval-AA v2Knowledge work — economically valuable knowledge work (v2, re-based Elo)
16181525
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.
12151468
Overview
CompanyAnthropicGoogle
Release dateJun 30 2026Aug 13 2026
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

Claude Sonnet 5 and Gemini 3.7 Flash are evenly matched across the 10 benchmarks they both report. Only Claude Sonnet 5 has a verified first-party price for an available API: $2.00 per million input tokens and $10.00 per million output tokens. No currently available pay-as-you-go API rate is tracked for Gemini 3.7 Flash. Claude Sonnet 5 shipped 44 days before Gemini 3.7 Flash, so benchmark comparisons should account for the intervening progress.

Context windows are 1M (Claude Sonnet 5) vs 1M (Gemini 3.7 Flash).

On BullshitBench v2, Claude Sonnet 5 leads at 80% vs Gemini 3.7 Flash at 35%. On FrontierCode v1.1 (Main) · main split, Gemini 3.7 Flash leads at 43.6% vs Claude Sonnet 5 at 42.4%. On Terminal-Bench 4.0, Claude Sonnet 5 leads at 12.42% vs Gemini 3.7 Flash at 11.21%. On Terminal-Bench 2.1, Gemini 3.7 Flash leads at 85.8% vs Claude Sonnet 5 at 80.4%. On BioMysteryBench · hard, Gemini 3.7 Flash leads at 43.5% vs Claude Sonnet 5 at 32.9%. On BioMysteryBench · human solved, Claude Sonnet 5 leads at 87.5% vs Gemini 3.7 Flash at 87.1%. On AutomationBench, Gemini 3.7 Flash leads at 30.4% vs Claude Sonnet 5 at 13.5%. On Harvey's Legal Agent Benchmark, Claude Sonnet 5 leads at 8.9% vs Gemini 3.7 Flash at 8.8%. On GDPval-AA v2, Claude Sonnet 5 leads at 1618 vs Gemini 3.7 Flash at 1525. On threejseval, Gemini 3.7 Flash leads at 1468 vs Claude Sonnet 5 at 1215.