ModelRefs / Gemini 3.8 Flash vs Claude Sonnet 4

Gemini 3.8 Flash vs Claude Sonnet 4

Gemini 3.8 Flash vs Claude Sonnet 4: Claude Sonnet 4 is retired (since 15 Jun 2026). Side-by-side benchmarks, pricing, context windows and deployment.

Overview

Claude Sonnet 4: Claude Sonnet 4 is Anthropic's May 2025 hybrid-reasoning model for coding, visual reasoning, tool use, and agent workflows. The dated claude-sonnet-4-20250514 snapshot was retired on Anthropic-operated platforms on June 15, 2026 and is retained as a historical evaluation and migration reference.

Gemini 3.8 Flash: Gemini 3.8 Flash is Google's current Flash model, released on 2 September 2026 as the Stable gemini-3.8-flash, with a 1,048,576-token input window, 65,536-token output limit, thinking levels low, medium and high, and text, image, video, audio and PDF input with text output. Google prices it at $0.75 input and $3.75 output per million tokens through 31 December 2026 (the figures here) and doubles every paid rate on 1 January 2027; requests to the deprecated Gemini 2.5 Pro route to it from 1 December 2026.

Context window: Claude Sonnet 4 accepts up to 200,000 tokens, Gemini 3.8 Flash up to 1,048,576. Confirm the limit for your specific deployment channel before relying on it.

Model lifecycle

  • Claude Sonnet 4 has been retired — since 15 June 2026. Anthropic names claude-sonnet-5-5 as the replacement.

    Stated by Anthropic, not by ModelRefs. Read 13 November 2026. Lifecycle page

Claude Sonnet 4 vs Gemini 3.8 Flash at a glance

AttributeClaude Sonnet 4Gemini 3.8 Flash
ProviderAnthropicGoogle
Released2025-05-222026-09-02
Context window200,000 tokens1,048,576 tokens
Input price$3/M tokens$0.75/M tokens
Output price$15/M tokens$3.75/M tokens
LicenceProprietaryProprietary
Self-hostableNo, hosted onlyNo, hosted only
Modalitiestext, visiontext, vision, audio, video

Reported on different variants

Both models are measured on these benchmarks, but not on the same variant of them, so the two numbers are not a like-for-like comparison. Each side is shown with the variant it was measured on.

BenchmarkClaude Sonnet 4Gemini 3.8 FlashReported
Terminal-Bench35.5 (success)19.1 (Terminal-Bench 4.0, harness not stated, success)2025-05-22 / 2026-09-02

A different task set or a different reported metric can move a score by more than the gap between two models. Use these as two separate findings, not as a ranking.

Where they differ most

  • Cost Efficiency: Claude Sonnet 4 37%, Gemini 3.8 Flash 66%. Gemini 3.8 Flash leads on this dimension.
  • Coding: Claude Sonnet 4 57%, Gemini 3.8 Flash 62%. Gemini 3.8 Flash leads on this dimension.
  • Agentic: Claude Sonnet 4 61%, Gemini 3.8 Flash 60%. Claude Sonnet 4 leads on this dimension.

Capability scores are ModelRefs' own derived signals, not vendor claims or benchmark results. Validate against your own workload before relying on them.

Where to next

Continue your research

Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to Gemini 3.8 Flash vs Claude Sonnet 4.

Frequently asked questions

Which is better, Gemini 3.8 Flash or Claude Sonnet 4?

Gemini 3.8 Flash and Claude Sonnet 4 target different workloads — see the benchmark and pricing tables for a side-by-side answer.

Is Gemini 3.8 Flash cheaper than Claude Sonnet 4?

Compare $0.00075 vs $0.00300 on this page.