Anthropic
Claude Sonnet 4 (latest)
Claude Sonnet 4 (latest) from Anthropic: Balanced Claude model for coding, analysis, agent workflows, and cost control.
- Context
- 200K
- Max output
- 64K
Accepts
- Text input
- Image input
- PDF input
Produces
- Text output
AI model comparison
Compare pricing, context limits, supported inputs and deployment options to choose a model for your workflow.
Claude Sonnet 4 (latest) from Anthropic lists 200K context, 64K maximum output. Gemini Flash Latest from Google lists 1.05M context, 65.54K maximum output, $1.50 input per 1M tokens, $9.00 output per 1M tokens. Compare the inputs, outputs and deployment options below to see which fits your workflow.
Anthropic
Claude Sonnet 4 (latest) from Anthropic: Balanced Claude model for coding, analysis, agent workflows, and cost control.
Accepts
Produces
Gemini Flash Latest from Google: High-efficiency Gemini model for agentic workflows, coding, and multimodal reasoning.
Accepts
Produces
At a glance
Compare the available figures below, then try both models on the work you need to do.
Gemini Flash Latest
Context capacity
Higher listed limit
Claude Sonnet 4 (latest):200K
Gemini Flash Latest:1.05M
Gemini Flash Latest
Maximum output
Higher listed limit
Claude Sonnet 4 (latest):64K
Gemini Flash Latest:65.54K
Gemini Flash Latest
Specifications
| Specification | Claude Sonnet 4 (latest) | Gemini Flash Latest |
|---|---|---|
| Provider | Anthropic | |
| Listed pricing route | Anthropic | |
| Model family | claude-sonnet | gemini-flash |
| Accepted inputs | text, image, pdf | text, image, video, audio, pdf |
| Produced outputs | text | text |
| Context window | 200K | 1.05MHigher |
| Max output | 64K | 65.54KHigher |
| Input price / 1M | — | $1.50 |
| Output price / 1M | — | $9.00 |
| Reasoning mode | Documented | Documented |
| Tool calling | Documented | Documented |
| Image input | Documented | Documented |
| Audio input | Not documented | Documented |
| Structured output | Not documented | Documented |
| License | Proprietary | Proprietary |
Workload guidance
Consider Gemini Flash Latest if you need larger context or larger maximum output. Test both on the same representative examples and judge the output against your acceptance criteria. Include tool failures, retries and the time to a completed task.
Explore each model’s features, API requirements and licence terms in the sources below.
Claude Sonnet 4 (latest)
Anthropic
Profile updated Oct 13, 2026
Gemini Flash Latest
Profile updated Oct 13, 2026
Search by model or provider to explore another comparison.