Compare performance benchmarks, coding intelligence, reasoning evaluations, context limits, and API economics between Gemini 3.8 Flash (Google DeepMind) and Claude Sonnet 5 (Anthropic).
| Metric / Capability | Gemini 3.8 Flash | Claude Sonnet 5 |
|---|---|---|
| Developer / Organization | Google DeepMind | Anthropic |
| Release Date | 2026-09-02 | 2026-06-30 |
| Deployment / Weights | Proprietary Cloud API | Proprietary Cloud API |
| Context Window | 1.0M tokens (1,048,576 tokens) | 1M tokens (1,000,000 tokens) |
| Input Pricing (/1M Tokens) | $0.825 | $2 |
| Output Pricing (/1M Tokens) | $4.125 | $10 |
| Benchmark / Domain | Gemini 3.8 Flash | Claude Sonnet 5 | Advantage |
|---|---|---|---|
Artificial Analysis Intelligence Index Composite index aggregating 10+ evaluations of general reasoning and knowledge. | 40.9% | 38.2% | Gemini 3.8 Flash (+7%) |
Artificial Analysis Coding Index Composite index of coding and software-engineering evaluations. | 76.3% | 71.5% | Gemini 3.8 Flash (+7%) |
Artificial Analysis Agentic Index Composite index of tool-use and long-horizon agentic tasks. | 40.2% | 43.6% | Claude Sonnet 5 (+8%) |
Artificial Analysis Coding Agent Index v2.0 Composite index of coding-agent systems (model + harness) across FrontierCode v1.1, SWE-Atlas-QnA, and Terminal-Bench v4. | 33.3% | — | — |
SWE-bench Pro Harder, contamination-resistant successor to SWE-bench spanning multiple languages. | — | 63.2% | — |
Terminal-Bench 4.0 Sandboxed command-line tasks requiring shell and file-system operation. | 19.1% | 12.4% | Gemini 3.8 Flash (+54%) |
ARC-AGI-2 Novel visual grid puzzles requiring abstract rule induction. | 89.2% | — | — |
Humanity's Last Exam Expert-written questions across hundreds of disciplines designed to resist saturation. | — | 43.2% | — |
FrontierMath v2 (Tiers 1-3) Unpublished, research-level mathematics problems across Tiers 1-3. | 68.4% | 65.6% | Gemini 3.8 Flash (+4%) |
Design Arena ELO Human-preference ELO across UI, 3D, data-visualization, and game-dev generations. | 1313 | 1274 | Gemini 3.8 Flash (+3%) |
Gemini 3.8 Flash leads across 5 evaluated benchmarks compared to 1 for Claude Sonnet 5, showing notable advantages in Artificial Analysis Intelligence Index, Artificial Analysis Coding Index, Terminal-Bench 4.0.
Gemini 3.8 Flash offers a larger context capacity of 1.0M tokens (1,048,576 tokens), compared to 1M tokens for Claude Sonnet 5.
Gemini 3.8 Flash is more cost-effective. Input tokens cost $0.825/M tokens vs $2/M tokens for Claude Sonnet 5.
Gemini 3.8 Flash is a proprietary cloud API. Claude Sonnet 5 is a proprietary cloud API.
Analyze 130+ models side-by-side using interactive radar charts, cost-efficiency quadrant plots, and live dataset filters on the full NeuBench index.
Open Interactive Comparator