Claude Sonnet 4vsGemini 3.1 Flash-Lite
Claude Sonnet 4 | Gemini 3.1 Flash-Lite | |
|---|---|---|
| API pricingUSD per 1M tokens · lower wins | ||
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it. | — | $0.25 |
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one. | — | $1.50 |
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again. | — | $0.025 |
| Benchmarks | ||
BullshitBench v2Nonsense detection — Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better. | 30% | 11% |
| BenchmarksPublished by one model only | ||
SWE-Bench VerifiedCoding — Real coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better. | 72.7% | — |
GPQA DiamondScience — Graduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 75.4% | — |
Arena Elo (Code)Community preference (code) — Like the text arena, but people vote on which AI writes better code. The votes become a chess-style Elo rating on arena.ai. Higher is better. | — | 1253 |
| Overview | ||
| Company | Anthropic | |
| Release date | May 22 2025 | Mar 3 2026 |
| Access | Proprietary | Proprietary |
Frequently asked questions
Claude Sonnet 4 leads Gemini 3.1 Flash-Lite on 1 of the 1 benchmark they both report (BullshitBench v2). Only Gemini 3.1 Flash-Lite has a verified first-party API price: $0.25 per million input tokens and $1.50 per million output tokens. No pay-as-you-go API rate is tracked for Claude Sonnet 4. Claude Sonnet 4 shipped 285 days before Gemini 3.1 Flash-Lite, so benchmark comparisons should account for the intervening progress.
Published specifications for these two models are limited — see each model page for the latest details.
On BullshitBench v2, Claude Sonnet 4 leads at 30% vs Gemini 3.1 Flash-Lite at 11%.
Claude Sonnet 4 was released by Anthropic on May 22 2025.
Gemini 3.1 Flash-Lite was released by Google on Mar 3 2026.
Only Gemini 3.1 Flash-Lite has a verified first-party API price: $0.25 per million input tokens and $1.50 per million output tokens. No pay-as-you-go API rate is tracked for Claude Sonnet 4. Rates are pay-as-you-go API prices verified on August 18, 2026.