head-to-head
Google: Gemini 3.1 Flash Lite Preview vs Anthropic: Claude Sonnet 4.6
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-05-12.
| Google: Gemini 3.1 Flash Lite Preview | Anthropic: Claude Sonnet 4.6 | |
|---|---|---|
| Vendor | anthropic | |
| Quality Score | 100 | 100 |
| Benchmark Score | - | 80.0 |
| Input Price | $0.25/M | $3.00/M |
| Output Price | $1.50/M | $15.00/M |
| Context Window | 1,048,576 | 1,000,000 |
| Max Output | 65,536 | 128,000 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | ✓ | - |
| Benchmark Scores | ||
| ai_index | - | 85.3 |
| ai_index_agentic | - | 100.0 |
| ai_index_coding | - | 84.1 |
| aider_polyglot | - | 61.3 |
Who wins by task?
| Task | Google: Gemini 3.1 Flash Lite Preview | Anthropic: Claude Sonnet 4.6 |
|---|---|---|
| SQL Generation | 133 | 181 |
| Code Review | 132 | 177 |
| Code Completion | 131 | 118 |
| Code Refactoring | 136 | 172 |
| Bug Fixing | 136 | 194 |
| Unit Test Generation | 124 | 163 |
| Code Documentation | 131 | 144 |
| Regex Writing | 119 | 139 |
| CI/CD Pipelines | 120 | 152 |
| Frontend Component Design | 122 | 153 |
| Data Analysis | 124 | 184 |
| CSV / Spreadsheet Cleanup | 133 | 158 |
| ETL Scripting | 128 | 162 |
| JSON Extraction | 131 | 141 |
| Bulk Data Labeling | 129 | 123 |
| OCR / Document Parsing | 131 | 150 |
| Table Extraction from PDFs | 131 | 150 |
| Long-Document Summarization | 137 | 166 |
| Short-Form Summarization | 123 | 123 |
| Blog Post Writing | 121 | 145 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
Google: Gemini 3.1 Flash Lite vs Google: Gemini 3.1 Flash Lite Preview
Google: Gemini 3.1 Flash Lite vs Anthropic: Claude Sonnet 4.6
xAI: Grok 4.3 vs Google: Gemini 3.1 Flash Lite Preview
xAI: Grok 4.3 vs Anthropic: Claude Sonnet 4.6
Mistral: Mistral Medium 3.5 vs Google: Gemini 3.1 Flash Lite Preview
Mistral: Mistral Medium 3.5 vs Anthropic: Claude Sonnet 4.6
NVIDIA: Nemotron 3 Nano Omni (free) vs Google: Gemini 3.1 Flash Lite Preview
NVIDIA: Nemotron 3 Nano Omni (free) vs Anthropic: Claude Sonnet 4.6