Claude Opus 4.7vsGemini 3.5 Flash
Claude Opus 4.7 | Gemini 3.5 Flash | |
|---|---|---|
| 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. | 1M | — |
| 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 | Best$1.50 |
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 | Best$9.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.50 | Best$0.15 |
| 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. | Best83% | 20% |
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. | Best64.3% | 55.1% |
CursorBench v3.1Agentic coding — Cursor's own test of harder, real-world coding tasks inside a code editor. Higher is better. | Best64.8% | 49.8% |
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. | 66.1% | Best76.2% |
MCP AtlasMulti-step tool use — Can the AI chain together many tools and steps to complete one bigger task, rather than doing just a single thing? Higher is better. | 79.1% | Best83.6% |
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. | Best46.9% | 40.2% |
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. | Best75.8% | 72.1% |
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. | 78% | Best78.4% |
Finance Agent v2Agentic financial analysis — Tests the AI on real financial-analysis work, like digging through reports and making sound decisions. Higher is better. | 51.5% | Best57.9% |
GDPval-AAKnowledge work — Measures how well the AI does economically valuable knowledge work, judged against human experts. Shown as a rating (like a chess Elo) — higher is better. | Best1753 | 1656 |
CharXiv ReasoningChart reasoning — Can the AI read and reason about complex charts and figures, not just text? Higher is better. | 82.1% | Best84.2% |
MMMU-ProMultimodal reasoning — A tougher version of MMMU — college-level questions that mix images, diagrams, and text together. Higher is better. | 75.2% | Best83.6% |
Blueprint-Bench 2Spatial reasoning — Can the AI reason about space and layout — for example, understanding a floor plan or blueprint? Higher is better. | 24.5% | Best33.6% |
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. | 59.3% | Best77.3% |
Arena Elo (Text)Community preference — Real people chat with two anonymous AIs side by side and vote for the answer they prefer. Votes become a chess-style Elo rating on arena.ai — it measures which AI people actually like, not test scores. Higher is better. | Best1503 | 1476 |
Arena Elo (Code)Community preference (code) — Like the text arena, but people vote on which AI writes better code. The votes become a chess-style Elo rating on arena.ai. Higher is better. | Best1557 | 1499 |
| BenchmarksPublished by one model only | ||
Gray Swan IPI · k = 1Prompt injection robustness — Attackers hide malicious instructions inside content the AI reads — a web page, an email, a document — and try to hijack what it does. Gray Swan's indirect prompt injection benchmark measures how often such an attack succeeds when the attacker gets a single try. Lower is better. | — | 14.1% |
Gray Swan IPI · k = 10Prompt injection robustness — Attackers hide malicious instructions inside content the AI reads — a web page, an email, a document — and try to hijack what it does. This variant gives the attacker 10 tries and counts an attack as successful if any of them works. Lower is better. | — | 54.2% |
Gray Swan IPI · k = 15Prompt injection robustness — Attackers hide malicious instructions inside content the AI reads — a web page, an email, a document — and try to hijack what it does. This variant gives the attacker 15 tries and counts an attack as successful if any of them works. Lower is better. | — | 60.5% |
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. | 87.6% | — |
SWE-Bench MultilingualMultilingual coding — Like SWE-Bench, but the coding problems span many programming languages, not just one. Tests how broadly the AI can code. Higher is better. | 80.5% | — |
CursorBench v3.2Agentic coding — Cursor's own test of harder, real-world coding tasks inside a code editor, on the refreshed v3.2 task set. Scores aren't comparable with v3.1. Higher is better. | — | 48.8% |
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. | — | 37% |
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. | — | 49.7% |
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. | 75% | — |
Terminal-Bench 2.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 2.0 of the test.) Higher is better. | 69.4% | — |
ToolathlonGeneral tool use — Tests how well the AI uses everyday real-world tools and apps to get things done. Higher is better. | — | 56.5% |
BU BenchBrowser agent — Can the AI drive a real web browser to finish tasks — clicking, filling forms, and navigating sites the way a person would? Run by Browser Use on their BU Bench task set. Higher is better. | — | 58% |
BrowseCompWeb browsing — Can the AI browse the web and track down hard-to-find answers? Higher is better. | 79.3% | — |
CyberGymCybersecurity — Tests the AI on cybersecurity challenges — finding and exploiting software weaknesses inside a safe sandbox. Higher is better. | 73.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. | 54.7% | — |
FrontierMath · Tier 1–3Advanced math — Very hard, research-level math problems. Tiers 1–3 are the (still extremely difficult) lower tiers. Higher is better. | 43.8% | — |
FrontierMath · Tier 4Advanced math — Very hard, research-level math problems. Tier 4 is the hardest — close to what professional research mathematicians tackle. Higher is better. | 22.9% | — |
GPQA DiamondScience — Graduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 94.2% | — |
GDPval-AA v2Knowledge work — economically valuable knowledge work (v2, re-based Elo) | — | 1349 |
GDPval (win/tie rate)Knowledge work — How often the AI's work matches or beats a human expert's on real knowledge-work tasks. Higher is better. | 80.3% | — |
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. | — | 26.6% |
| Overview | ||
| Company | Anthropic | |
| Release date | Apr 16 2026 | May 19 2026 |
| Access | Proprietary | Proprietary |
Which is better: Claude Opus 4.7 or Gemini 3.5 Flash?
Claude Opus 4.7 and Gemini 3.5 Flash are evenly matched across the 16 benchmarks they both report. Gemini 3.5 Flash is cheaper on both input and output: $1.50 vs $5.00 per million input tokens, and $9.00 vs $25.00 per million output tokens. Claude Opus 4.7 shipped 33 days before Gemini 3.5 Flash, so benchmark comparisons should account for the intervening progress.
Published specifications for these two models are limited — see each model page for the latest details.
On BullshitBench v2, Claude Opus 4.7 leads at 83% vs Gemini 3.5 Flash at 20%. On SWE-Bench Pro, Claude Opus 4.7 leads at 64.3% vs Gemini 3.5 Flash at 55.1%. On CursorBench v3.1, Claude Opus 4.7 leads at 64.8% vs Gemini 3.5 Flash at 49.8%. On Terminal-Bench 2.1, Gemini 3.5 Flash leads at 76.2% vs Claude Opus 4.7 at 66.1%. On MCP Atlas, Gemini 3.5 Flash leads at 83.6% vs Claude Opus 4.7 at 79.1%. On Humanity's Last Exam · no tools, Claude Opus 4.7 leads at 46.9% vs Gemini 3.5 Flash at 40.2%. On ARC-AGI-2, Claude Opus 4.7 leads at 75.8% vs Gemini 3.5 Flash at 72.1%. On OSWorld-Verified, Gemini 3.5 Flash leads at 78.4% vs Claude Opus 4.7 at 78%. On Finance Agent v2, Gemini 3.5 Flash leads at 57.9% vs Claude Opus 4.7 at 51.5%. On GDPval-AA, Claude Opus 4.7 leads at 1753 vs Gemini 3.5 Flash at 1656. On CharXiv Reasoning, Gemini 3.5 Flash leads at 84.2% vs Claude Opus 4.7 at 82.1%. On MMMU-Pro, Gemini 3.5 Flash leads at 83.6% vs Claude Opus 4.7 at 75.2%. On Blueprint-Bench 2, Gemini 3.5 Flash leads at 33.6% vs Claude Opus 4.7 at 24.5%. On MRCR v2 (8-needle) · 128k average, Gemini 3.5 Flash leads at 77.3% vs Claude Opus 4.7 at 59.3%. On Arena Elo (Text), Claude Opus 4.7 leads at 1503 vs Gemini 3.5 Flash at 1476. On Arena Elo (Code), Claude Opus 4.7 leads at 1557 vs Gemini 3.5 Flash at 1499.
Frequently asked questions
Claude Opus 4.7 was released by Anthropic on Apr 16 2026.
Gemini 3.5 Flash was released by Google on May 19 2026.
Claude Opus 4.7 leads on SWE-Bench Pro — Claude Opus 4.7 64.3% vs Gemini 3.5 Flash 55.1%.
Claude Opus 4.7 leads on Humanity's Last Exam · no tools — Claude Opus 4.7 46.9% vs Gemini 3.5 Flash 40.2%.
Gemini 3.5 Flash is cheaper on both input and output: $1.50 vs $5.00 per million input tokens, and $9.00 vs $25.00 per million output tokens. Rates are pay-as-you-go API prices verified on August 18, 2026.