head-to-head

Anthropic Claude Haiku Latest vs Google Gemini Flash Latest

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

Anthropic Claude Haiku Latest Google Gemini Flash Latest
Vendor~anthropic~google
Quality Score100100
Input Price$1.00/M$1.50/M
Output Price$5.00/M$7.50/M
Context Window200,0001,048,576
Max Output64,00065,536
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio-

Who wins by task?

TaskAnthropic Claude Haiku LatestGoogle Gemini Flash Latest
SQL Generation 129 133
Code Review 124 132
Code Completion 114 118
Code Refactoring 124 136
Bug Fixing 128 136
Unit Test Generation 120 124
Code Documentation 122 130
Regex Writing 118 118
CI/CD Pipelines 116 120
CSV / Spreadsheet Cleanup 125 133
ETL Scripting 120 128
JSON Extraction 122 122
Bulk Data Labeling 120 119
OCR / Document Parsing 127 131
Table Extraction from PDFs 127 131
Long-Document Summarization 125 137
Short-Form Summarization 114 114
Blog Post Writing 117 121

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

Related comparisons

Qwen: Qwen3.8 Max vs Anthropic Claude Haiku Latest Qwen: Qwen3.8 Max vs Google Gemini Flash Latest Thinking Machines: Inkling Small vs Anthropic Claude Haiku Latest Thinking Machines: Inkling Small vs Google Gemini Flash Latest Qwen: Qwen3.7 Flash vs Anthropic Claude Haiku Latest Qwen: Qwen3.7 Flash vs Google Gemini Flash Latest Google: Gemini 3.6 Flash vs Anthropic Claude Haiku Latest Google: Gemini 3.6 Flash vs Google Gemini Flash Latest