head-to-head

Anthropic: Claude Sonnet 5 (batch) vs Google Gemini Pro Latest

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

Anthropic: Claude Sonnet 5 (batch) Google Gemini Pro Latest
Vendoranthropic~google
Quality Score100100
Benchmark Score90.4-
Input Price$1.00/M$2.00/M
Output Price$5.00/M$12.00/M
Context Window1,000,0001,048,576
Max Output128,00065,536
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio-
Benchmark Scores
ai_index88.0-
ai_index_agentic77.0-
ai_index_coding100.0-

Who wins by task?

TaskAnthropic: Claude Sonnet 5 (batch)Google Gemini Pro Latest
SQL Generation 171 132
Code Review 167 132
Code Completion 120 117
Code Refactoring 164 136
Bug Fixing 180 136
Unit Test Generation 154 124
Code Documentation 143 129
Regex Writing 136 117
CI/CD Pipelines 144 120
Frontend Component Design 146 122
Data Analysis 171 124
CSV / Spreadsheet Cleanup 154 132
ETL Scripting 154 128
JSON Extraction 140 121
Bulk Data Labeling 126 117
OCR / Document Parsing 146 131
Table Extraction from PDFs 146 131
Long-Document Summarization 160 136
Short-Form Summarization 123 113
Blog Post Writing 140 120

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

Related comparisons

Qwen: Qwen3.7 Flash vs Anthropic: Claude Sonnet 5 (batch) Qwen: Qwen3.7 Flash vs Google Gemini Pro Latest Google: Gemini 3.6 Flash vs Anthropic: Claude Sonnet 5 (batch) Google: Gemini 3.6 Flash vs Google Gemini Pro Latest Google: Gemini 3.6 Flash (batch) vs Anthropic: Claude Sonnet 5 (batch) Google: Gemini 3.6 Flash (batch) vs Google Gemini Pro Latest Google: Gemini 3.5 Flash Lite vs Anthropic: Claude Sonnet 5 (batch) Google: Gemini 3.5 Flash Lite vs Google Gemini Pro Latest