head-to-head
Anthropic: Claude Sonnet 5 vs Google: Gemini 3.1 Flash Lite Preview
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-07-01.
| Anthropic: Claude Sonnet 5 | Google: Gemini 3.1 Flash Lite Preview | |
|---|---|---|
| Vendor | anthropic | |
| Quality Score | 100 | 100 |
| Input Price | $2.00/M | $0.25/M |
| Output Price | $10.00/M | $1.50/M |
| Context Window | 1,000,000 | 1,048,576 |
| Max Output | 128,000 | 65,536 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | ✓ |
Who wins by task?
| Task | Anthropic: Claude Sonnet 5 | Google: Gemini 3.1 Flash Lite Preview |
|---|---|---|
| SQL Generation | 132 | 133 |
| Code Completion | 117 | 131 |
| Code Documentation | 129 | 131 |
| Regex Writing | 117 | 119 |
| CSV / Spreadsheet Cleanup | 132 | 133 |
| JSON Extraction | 121 | 131 |
| Bulk Data Labeling | 118 | 129 |
| Long-Document Summarization | 136 | 137 |
| Short-Form Summarization | 113 | 123 |
| Blog Post Writing | 120 | 121 |
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.5 Flash
Anthropic: Claude Sonnet 5 vs Google: Gemini 3.1 Flash Lite
Anthropic: Claude Sonnet 5 vs xAI: Grok 4.3