Skip to main content
BenchLM
Data

Claude Sonnet 4.5 vs Gemini 3.8 Flash

Updated November 27, 2026. Rank says Gemini 3.8 Flash is ahead. Price, access, and your workload can each overturn that. Public scores include evidence status and uncertainty.

Share or export
Share on XLinkedInAPI/MCP

Decision reading

Gemini 3.8 Flash has the higher public score, 68 versus 46.9, and the 90% score intervals do not overlap. 4 results are shared. Category rows resting on Estimated evidence or different benchmark sets are marked directional and do not name a winner.

Model A
Anthropic logo

Anthropic

46.9/100

Supported · Public rank #105

90% interval 42.0–51.8

Model B
Google logo

Google

68/100

Supported · Public rank #29

90% interval 64.0–72.0

API price per 1M tokens

Claude Sonnet 4.5: $3 input / $15 output

Gemini 3.8 Flash: $0.75 input / $3.75 output

Context window

Claude Sonnet 4.5: 200K

Gemini 3.8 Flash: 1M

Released

Claude Sonnet 4.5: September 29, 2025

Gemini 3.8 Flash: September 2, 2026

Shared results
4
Claude Sonnet 4.5 only
8
Gemini 3.8 Flash only
33
Like-for-like categories
4 / 8
Supported: Claude Sonnet 4.5 and Gemini 3.8 FlashHow the comparison works

Which one for your work

Recommendations appear only when a shared evidence basis or an explicit operating constraint supports the call. Secondary and unsupported use cases stay disclosed below the initial list.

  • Coding work

    Code generation, repair, and software-engineering tasks

    Gemini 3.8 Flash

    Gemini 3.8 Flash has the higher public coding point estimate, 65.5 to 46.3, with Supported evidence for both models. The conditional ranges do not establish rank confidence.

    Confidence: limited
  • Agentic work

    Tool use, computer use, and multi-step task completion

    Gemini 3.8 Flash

    Gemini 3.8 Flash has the higher public agentic point estimate, 66 to 48.1, with Supported evidence for both models. The conditional ranges do not establish rank confidence.

    Confidence: limited
  • Long documents

    Prompts that approach the documented context limit

    Gemini 3.8 Flash

    Gemini 3.8 Flash has the larger documented context window.

    Confidence: documented
Show secondary and unsupported calls
  • Chat turn cost

    1K fresh input + 500 output tokens

    Gemini 3.8 Flash

    Gemini 3.8 Flash has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.

    Confidence: listed-rates
  • Repository review cost

    50K fresh input + 3K output tokens

    Gemini 3.8 Flash

    Gemini 3.8 Flash has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.

    Confidence: listed-rates
  • Cache-heavy agent loop cost

    200K cached + 20K fresh input + 10K output tokens

    Not enough matched evidence

    The page does not recommend a cost winner because at least one model cannot fit the stated workload in one request. Claude Sonnet 4.5 does not fit this workload in one request. Claude Sonnet 4.5 has no published cached-input rate, so cached tokens use its listed input rate.

    Confidence: rate-fallback

Which one for a specific job

Choose a job from the LLM Selector's task catalog to see the category row it rests on, under the same basis rules as the table below. A directional row stays directional; choosing a job never creates a winner.

The same task catalog as the LLM Selector. Each job names the evidence surface it rests on; nothing here adds a new score.

46.3Claude Sonnet 4.565.5Gemini 3.8 Flash

Like-for-like · BenchAlign v6.0

Gemini 3.8 Flash has the higher coding point estimate. Conditional score ranges do not establish rank confidence.

Coding scores combine specific tasks and setups. Match the editor, harness, and effort to your workflow.

Same basis rules as the category table below

Or describe your own job

The LLM Selector reads what you need a model for and returns a shortlist, ranked in the same order the job pages publish.

Describe the task and constraints. This selector recommends models; it cannot carry out the task or access your files and accounts.

We keep what you type here, drafts included, for 180 days, and after that only the job and requirements read from it. Nothing is tied to your IP address or account. Leave out names and other personal details. Privacy

What is actually comparable

Shared results can support a head-to-head reading. Results present for only one model describe coverage, not superiority.

3 categories rest on Estimated evidence or different evidence sets. Those rows remain visible for coverage context but do not name a winner.

Shape of the matched evidence

Only shared public evidence is shown. Sparse evidence stays a ruled list rather than being closed into a radar shape.

Too few matched category axes support a radar. The ruled list below shows only shared benchmark results; positions use each benchmark’s normalized display scale when available.

Bars run 0–100 on each benchmark’s normalized display scale

Category results, on a stated basis

Each row shows the public-lane category score for both models: the BenchAlign v6.0 lane in every category, with the same rank each model page reports. A row is like-for-like only when both scores rest on Supported evidence. Directional and not-comparable rows remain visible, but they never receive a winner.

Agentic

Like-for-like
Claude Sonnet 4.5
48.1
Supported · #101/182
Gemini 3.8 Flash
66.0
Supported · #31/182
Basis
BenchAlign v6.0 lane · 5 vs 11 public rows
Reading
Gemini 3.8 Flash leads

Coding

Like-for-like
Claude Sonnet 4.5
46.3
Supported · #97/180
Gemini 3.8 Flash
65.5
Supported · #35/180
Basis
BenchAlign v6.0 lane · 2 vs 8 public rows
Reading
Gemini 3.8 Flash leads

Reasoning

Like-for-like
Claude Sonnet 4.5
45.1
Supported · #96/161
Gemini 3.8 Flash
69.3
Supported · #23/161
Basis
BenchAlign v6.0 lane · 1 vs 4 public rows
Reading
Gemini 3.8 Flash leads

Knowledge

Like-for-like
Claude Sonnet 4.5
45.2
Supported · #103/158
Gemini 3.8 Flash
71.6
Supported · #16/158
Basis
BenchAlign v6.0 lane · 1 vs 6 public rows
Reading
Gemini 3.8 Flash leads

Multimodal

Directional only
Claude Sonnet 4.5
42.2
Estimated · #106/120
Gemini 3.8 Flash
66.5
Supported · #24/120
Basis
BenchAlign v6.0 lane · 0 vs 5 public rows
Reading
Directional only

Instruction following

Directional only
Claude Sonnet 4.5
45.7
Estimated · #90/143
Gemini 3.8 Flash
65.7
Estimated · #20/143
Basis
BenchAlign v6.0 lane · 0 vs 1 public rows
Reading
Directional only

Math

Directional only
Claude Sonnet 4.5
41.3
Estimated · #88/126
Gemini 3.8 Flash
64.3
Supported · #25/126
Basis
BenchAlign v6.0 lane · 3 vs 2 public rows
Reading
Directional only

Multilingual

Not comparable
Claude Sonnet 4.5
Not ranked
Gemini 3.8 Flash
66.2
Estimated · #13/88
Basis
BenchAlign v6.0 lane · 0 vs 0 public rows
Reading
Not comparable

Ranks count the models scored in each category’s BenchAlign v6.0 lane, so denominators differ by category. Like-for-like rows within 0.5 points read as a practical tie.

Supported evidence per lane · bars run 0–100Methodology

What each workload costs

Three fixed token mixes turn per-token rates into comparable decisions. Each scenario states context fit and whether cached input had to fall back to the published list-input rate.

Chat turn

1K fresh input + 500 output tokens

Claude Sonnet 4.5
$0.0105
Fits in one request
Gemini 3.8 Flash
$0.00262
Fits in one request

Gemini 3.8 Flash has the lower modeled cost

Costs use the listed standard API rates.

Repository review

50K fresh input + 3K output tokens

Claude Sonnet 4.5
$0.195
Fits in one request
Gemini 3.8 Flash
$0.04875
Fits in one request

Gemini 3.8 Flash has the lower modeled cost

Costs use the listed standard API rates.

Cache-heavy agent loop

200K cached + 20K fresh input + 10K output tokens

Claude Sonnet 4.5
$0.81
Does not fit in one request
Cached input priced at the published list-input rate
Gemini 3.8 Flash
$0.0675
Fits in one request

Claude Sonnet 4.5 does not fit this workload in one request. Claude Sonnet 4.5 has no published cached-input rate, so cached tokens use its listed input rate.

Your workload

Enter a month of tokens to price it at both models’ listed API rates.

Claude Sonnet 4.5
$60.00
per month
Gemini 3.8 Flash
$15.00
per month

Standard listed rates, no batch or volume discounts.

Cached input falls back to the list input rate only where a cached rate is unpublished

Price against score, among all priced models

Overall score against output price per 1M tokens, one model per family. Pricing as of December 1, 2026.

Claude Sonnet 4.5Gemini 3.8 Flash

20406080100$0.10$0.50$1$5$10$50$100Output price, $ per 1M tokens (log)Overall score
  • 40 models score at least as high as Claude Sonnet 4.5 for the same price or less. The nearest is Gemini 4 Neon (score 91.2, also $15.00 per 1M output tokens).
  • 2 cheaper models score at least as high as Gemini 3.8 Flash. The nearest is Hy4 (score 68.4, $2.50 per 1M output tokens).

Gray dots are the other priced models. The dark step line is the efficiency frontier: for a model under it, another model costs no more and scores at least as high.

See Gemini 3.8 Flash on the full price vs performance chart

Specification differences

Sourced differences are shown directly. Missing facts stay explicit instead of being inferred from a model name or family.

Cached-input rate

A missing cached-input rate falls back to the listed input rate only in the stated workload estimate.

Claude Sonnet 4.5

Not published

Gemini 3.8 Flash

$0.075 per 1M cached input tokens

Google Gemini API pricing

Reasoning profile

Claude Sonnet 4.5

Non-Reasoning

Gemini 3.8 Flash

Reasoning

Weight access

Claude Sonnet 4.5

Proprietary

Gemini 3.8 Flash

Proprietary

License

Claude Sonnet 4.5

Proprietary

Gemini 3.8 Flash

Proprietary

Release date

Claude Sonnet 4.5

2025-09-29

Gemini 3.8 Flash

2026-09-02

If you already use one of these models

Deployment change
The models list different providers, so authentication, endpoint behavior, limits, and feature support may change.
Quality signal
Gemini 3.8 Flash has the higher public score, 68 versus 46.9, and the 90% score intervals do not overlap.
Workload cost
Repository review: $0.195 vs $0.04875. Cache-heavy agent loop: $0.81 vs $0.0675.
Context tradeoff
Gemini 3.8 Flash has the larger documented window (1M).
Run the same representative tasks against both endpoints before changing production traffic.

Questions

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

Gemini 3.8 Flash has the higher public score, 68 versus 46.9, and the 90% score intervals do not overlap. That is the clearest overall quality signal in the current public data.

Which is better for coding, Claude Sonnet 4.5 or Gemini 3.8 Flash?

Gemini 3.8 Flash has the higher public coding point estimate, 65.5 to 46.3, with Supported evidence for both models. The conditional ranges do not establish rank confidence.

Which is better for agentic tasks, Claude Sonnet 4.5 or Gemini 3.8 Flash?

Gemini 3.8 Flash has the higher public agentic tasks point estimate, 66 to 48.1, with Supported evidence for both models. The conditional ranges do not establish rank confidence.

Which costs less, Claude Sonnet 4.5 or Gemini 3.8 Flash?

For the stated presets, chat costs $0.0105 on Claude Sonnet 4.5 and $0.00263 on Gemini 3.8 Flash; repository review costs $0.195 and $0.04875; the cache-heavy agent loop costs $0.81 and $0.0675. Claude Sonnet 4.5 does not fit this workload in one request. Claude Sonnet 4.5 has no published cached-input rate, so cached tokens use its listed input rate.

Which has the larger context window, Claude Sonnet 4.5 or Gemini 3.8 Flash?

Gemini 3.8 Flash has the larger documented context window: 1M, compared with 200K.

Benchmark evidence

The full public result ledger is available for audit without forcing a wide desktop table onto a phone.

Browse raw public benchmark evidence65 rows

Agentic

  • Terminal-Bench 2.0

    Claude Sonnet 4.550%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • OSWorld-Verified

    Claude Sonnet 4.561.4%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • VITA-Bench

    Claude Sonnet 4.517.0%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • Claude Sonnet 4.534.87%
    Gemini 3.8 Flash66.62%

    Gemini 3.8 Flash leads this result

  • JobBench

    Claude Sonnet 4.527.7%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • Terminal-Bench 4.1

    Claude Sonnet 4.5—
    Gemini 3.8 Flash18.20%
    Source

    Not directly comparable

  • Finance Agent v2

    Claude Sonnet 4.5—
    Gemini 3.8 Flash61.4%
    Source

    Not directly comparable

  • Terminal-Bench 2.1

    Claude Sonnet 4.5—
    Gemini 3.8 Flash89.4%
    Source

    Not directly comparable

  • Terminal-Bench 4.0

    Claude Sonnet 4.5—
    Gemini 3.8 Flash19.10%
    Source

    Not directly comparable

  • OSWorld 2.0

    Claude Sonnet 4.5—
    Gemini 3.8 Flash59.0%
    Source

    Not directly comparable

  • Terminal-Bench 2.1 (Vals)

    Claude Sonnet 4.5—
    Gemini 3.8 Flash81.3%
    Source

    Not directly comparable

  • ApprenticeBench

    Claude Sonnet 4.5—
    Gemini 3.8 Flash25%
    Source

    Not directly comparable

  • Hermes Index

    Claude Sonnet 4.5—
    Gemini 3.8 Flash38.1%
    Source

    Not directly comparable

  • Hermes Bench

    Claude Sonnet 4.5—
    Gemini 3.8 Flash62.2%
    Source

    Not directly comparable

  • MazeBench

    Claude Sonnet 4.5—
    Gemini 3.8 Flash4%
    Source

    Not directly comparable

  • BabaIsBench

    Shown only
    Claude Sonnet 4.5—
    Gemini 3.8 Flash100%
    Source

    Not directly comparable

  • BinaryAudit

    Shown only
    Claude Sonnet 4.526.3%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • Code2Video

    Shown only
    Claude Sonnet 4.5—
    Gemini 3.8 Flash1440
    Source

    Not directly comparable

  • DAYJOB

    Shown only
    Claude Sonnet 4.5—
    Gemini 3.8 Flash2.6%
    Source

    Not directly comparable

  • DAYJOB Healthcare

    Shown only
    Claude Sonnet 4.5—
    Gemini 3.8 Flash1.2%
    Source

    Not directly comparable

  • EBR-bench

    Shown only
    Claude Sonnet 4.52.4%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • FrontierPhysics

    Shown only
    Claude Sonnet 4.5—
    Gemini 3.8 Flash0.0%
    Source

    Not directly comparable

  • SkillsBench official leaderboard (BenchFlow)

    Shown only
    Claude Sonnet 4.536.2%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

Coding

  • SWE-bench Verified

    Claude Sonnet 4.577.2%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • Terminal-Bench 2.0

    Claude Sonnet 4.550.0%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • ScarfBench

    Claude Sonnet 4.5—
    Gemini 3.8 Flash66.0%
    Source

    Not directly comparable

  • DeepSWE

    Claude Sonnet 4.5—
    Gemini 3.8 Flash73.8%
    Source

    Not directly comparable

  • Terminal-Bench 2.1

    Claude Sonnet 4.5—
    Gemini 3.8 Flash89.4%
    Source

    Not directly comparable

  • CursorBench 3.2

    Claude Sonnet 4.5—
    Gemini 3.8 Flash69.2%
    Source

    Not directly comparable

  • LiveCodeBench (Vals)

    Claude Sonnet 4.5—
    Gemini 3.8 Flash89.5%
    Source

    Not directly comparable

  • SWE-bench (Vals)

    Claude Sonnet 4.5—
    Gemini 3.8 Flash80.0%
    Source

    Not directly comparable

  • FrontierSWE v2

    Claude Sonnet 4.5—
    Gemini 3.8 Flash19.6%
    Source

    Not directly comparable

  • Bug Hunt Bench

    Claude Sonnet 4.5—
    Gemini 3.8 Flash18.0 fixes
    Source

    Not directly comparable

  • CompileBench

    Shown only
    Claude Sonnet 4.586.7%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • MaxxBench

    Shown only
    Claude Sonnet 4.5—
    Gemini 3.8 Flash53.4%
    Source

    Not directly comparable

  • MirrorCode

    Shown only
    Claude Sonnet 4.5—
    Gemini 3.8 Flash38.9%
    Source

    Not directly comparable

  • OTelBench

    Shown only
    Claude Sonnet 4.521.7%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

Reasoning

  • ARC-AGI-2

    Claude Sonnet 4.513.6%
    Source
    Gemini 3.8 Flash89.2%
    Source

    Gemini 3.8 Flash leads this result

  • ARC-AGI-1

    Claude Sonnet 4.5—
    Gemini 3.8 Flash98.50%
    Source

    Not directly comparable

  • ARC-AGI-3

    Claude Sonnet 4.5—
    Gemini 3.8 Flash10.4%
    Source

    Not directly comparable

  • ARC-AGI-3 Provider Adapter

    Claude Sonnet 4.5—
    Gemini 3.8 Flash35.00%
    Source

    Not directly comparable

  • Chess Puzzles

    Shown onlyShared source
    Claude Sonnet 4.510.0%
    Gemini 3.8 Flash58.0%

    Gemini 3.8 Flash leads this result

  • Game Arena Go

    Shown onlyShared source
    Claude Sonnet 4.5326
    Gemini 3.8 Flash1165

    Gemini 3.8 Flash leads this result

  • Humanity's First Exam (HFE)

    Shown only
    Claude Sonnet 4.5—
    Gemini 3.8 Flash56.1%
    Source

    Not directly comparable

  • Mystery Game Puzzles

    Shown onlyShared source
    Claude Sonnet 4.517.0%
    Gemini 3.8 Flash47.0%

    Gemini 3.8 Flash leads this result

  • NYT Connections

    Shown onlyShared source
    Claude Sonnet 4.535.8%
    Gemini 3.8 Flash97.4%

    Gemini 3.8 Flash leads this result

Multimodal

  • ParseBench-2

    Claude Sonnet 4.5—
    Gemini 3.8 Flash76.67%
    Source

    Not directly comparable

  • ExtractBench (LlamaIndex)

    Claude Sonnet 4.5—
    Gemini 3.8 Flash80.71%
    Source

    Not directly comparable

  • ParseBench-1

    Claude Sonnet 4.5—
    Gemini 3.8 Flash71.20%
    Source

    Not directly comparable

  • CharXiv w/o tools

    Claude Sonnet 4.5—
    Gemini 3.8 Flash86.2%
    Source

    Not directly comparable

  • LVBench

    Claude Sonnet 4.5—
    Gemini 3.8 Flash87.1%
    Source

    Not directly comparable

  • FACTS Multimodal

    Shown only
    Claude Sonnet 4.5—
    Gemini 3.8 Flash57.6%
    Source

    Not directly comparable

  • Furniture Assembly

    Shown only
    Claude Sonnet 4.5—
    Gemini 3.8 Flash31.7%
    Source

    Not directly comparable

Knowledge

  • GPQA

    Claude Sonnet 4.583.4%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • HLE-Verified

    Claude Sonnet 4.5—
    Gemini 3.8 Flash54.9%
    Source

    Not directly comparable

  • LABBench2

    Claude Sonnet 4.5—
    Gemini 3.8 Flash86.2%
    Source

    Not directly comparable

  • BioMysteryBench (human-solvable)

    Claude Sonnet 4.5—
    Gemini 3.8 Flash88.8%
    Source

    Not directly comparable

  • BioMysteryBench (human-difficult)

    Claude Sonnet 4.5—
    Gemini 3.8 Flash56.5%
    Source

    Not directly comparable

  • GPQA Diamond (Vals)

    Claude Sonnet 4.5—
    Gemini 3.8 Flash94.4%
    Source

    Not directly comparable

  • MMLU-Pro (Vals)

    Claude Sonnet 4.5—
    Gemini 3.8 Flash90.2%
    Source

    Not directly comparable

  • FailureSensorIQ

    Shown onlyShared source
    Claude Sonnet 4.564.2%
    Gemini 3.8 Flash69.0%

    Gemini 3.8 Flash leads this result

Instruction following

  • Gray Swan IPI (15 attempts)

    Claude Sonnet 4.5—
    Gemini 3.8 Flash5.5%
    Source

    Not directly comparable

Math

  • AIME 2025

    Claude Sonnet 4.587%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • FrontierMath v2 (Tiers 1-3)

    Shared source
    Claude Sonnet 4.523.860%
    Gemini 3.8 Flash68.421%

    Gemini 3.8 Flash leads this result

  • FrontierMath v2 (Tier 4)

    Shared source
    Claude Sonnet 4.52.439%
    Gemini 3.8 Flash21.951%

    Gemini 3.8 Flash leads this result

45 public results · 4 shared

Watch Claude Sonnet 4.5 vs Gemini 3.8 Flash

One weekly email when material rank, price, or benchmark evidence changes make this matchup worth revisiting.

Read a sample issue

Join 7,500+ subscribers.

Last updated November 27, 2026