head-to-head

Anthropic: Claude Sonnet 5 vs Google: Gemini 3.5 Flash

Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-07-01.

Anthropic: Claude Sonnet 5 Google: Gemini 3.5 Flash
Vendoranthropicgoogle
Quality Score100100
Benchmark Score-84.6
Input Price$2.00/M$1.50/M
Output Price$10.00/M$9.00/M
Context Window1,000,0001,048,576
Max Output128,00065,536
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio-
Benchmark Scores
ai_index-82.8
ai_index_agentic-61.8
ai_index_coding-100.0

Who wins by task?

TaskAnthropic: Claude Sonnet 5Google: Gemini 3.5 Flash
SQL Generation 132 168
Code Review 132 164
Code Completion 117 119
Code Refactoring 136 162
Bug Fixing 136 176
Unit Test Generation 124 152
Code Documentation 129 141
Regex Writing 117 133
CI/CD Pipelines 120 143
Frontend Component Design 122 145
Data Analysis 124 167
CSV / Spreadsheet Cleanup 132 153
ETL Scripting 128 152
JSON Extraction 121 138
Bulk Data Labeling 118 124
OCR / Document Parsing 131 146
Table Extraction from PDFs 131 146
Long-Document Summarization 136 157
Short-Form Summarization 113 121
Blog Post Writing 120 138

Scores reflect capability match + benchmark data + pricing for each task. Methodology →

Related comparisons

Anthropic: Claude Sonnet 5 vs MoonshotAI: Kimi K2.7 Code Anthropic: Claude Sonnet 5 vs Qwen: Qwen3.7 Plus Anthropic: Claude Sonnet 5 vs MiniMax: MiniMax M3 Anthropic: Claude Sonnet 5 vs StepFun: Step 3.7 Flash Anthropic: Claude Sonnet 5 vs xAI: Grok Build 0.1 Anthropic: Claude Sonnet 5 vs Google: Gemini 3.1 Flash Lite Anthropic: Claude Sonnet 5 vs xAI: Grok 4.3 Anthropic: Claude Sonnet 5 vs Mistral: Mistral Medium 3.5