AI Model Release Tracker - Timeline of Major AI Models from 2022-2026

Home/Compare/Claude Sonnet 4 vs Gemini 3.1 Flash

Claude Sonnet 4 vs Gemini 3.1 Flash

Anthropic Claude Sonnet 4 vs Google Gemini 3.1 Flash — side-by-side specs.

Anthropic
Claude Sonnet 4
Google
Gemini 3.1 Flash
Overview
CompanyAnthropicGoogle
Release dateMay 22 2025Feb 26 2026
Model type
Open sourceNoNo
Specifications
Parameters
Context window
Benchmarks
Coding
SWE-Bench Verified
72.7%
Science
GPQA Diamond
75.4%
Timeline
Release gapClaude Sonnet 4 shipped 280 days before Gemini 3.1 Flash

Which is better: Claude Sonnet 4 or Gemini 3.1 Flash?

Claude Sonnet 4 and Gemini 3.1 Flash don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Claude Sonnet 4 shipped 280 days before Gemini 3.1 Flash, 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.

Direct benchmark comparisons are unavailable — Claude Sonnet 4 and Gemini 3.1 Flash don't publish scores on any of the same benchmarks.

Frequently asked questions

When was Claude Sonnet 4 released?
Claude Sonnet 4 was released by Anthropic on May 22 2025.
When was Gemini 3.1 Flash released?
Gemini 3.1 Flash was released by Google on Feb 26 2026.

Other comparisons