Skip to main content
BenchLM
Data

Claude 3.5 Sonnet 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 point estimate, 68 versus 39.1. Their conditional score ranges do not overlap. These ranges do not establish rank confidence. 3 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

39.1/100

Supported · Public rank #160

Conditional range 29.6–48.6

Model B
Google logo

Google

68/100

Supported · Public rank #29

90% interval 64.0–72.0

API price per 1M tokens

Claude 3.5 Sonnet: $3 input / $15 output

Gemini 3.8 Flash: $0.75 input / $3.75 output

Context window

Claude 3.5 Sonnet: 200K

Gemini 3.8 Flash: 1M

Released

Claude 3.5 Sonnet: June 1, 2024

Gemini 3.8 Flash: September 2, 2026

Shared results
3
Claude 3.5 Sonnet only
2
Gemini 3.8 Flash only
34
Like-for-like categories
2 / 8
Supported: Claude 3.5 Sonnet and Gemini 3.8 Flash. Conditional ranges do not establish rank confidence.How 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 37.4, 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
  • 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
Show secondary and unsupported calls
  • 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
  • Agentic work

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

    Not enough matched evidence

    Claude 3.5 Sonnet is scored on Estimated evidence for agentic, so the reading is directional rather than like-for-like.

    Confidence: limited
  • 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 3.5 Sonnet does not fit this workload in one request. Claude 3.5 Sonnet 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.

37.4Claude 3.5 Sonnet65.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.

5 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.

Coding

Like-for-like
Claude 3.5 Sonnet
37.4
Supported · #137/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 3.5 Sonnet
40.1
Supported · #122/161
Gemini 3.8 Flash
69.3
Supported · #23/161
Basis
BenchAlign v6.0 lane · 0 vs 4 public rows
Reading
Gemini 3.8 Flash leads

Agentic

Directional only
Claude 3.5 Sonnet
37.7
Estimated · #156/182
Gemini 3.8 Flash
66.0
Supported · #31/182
Basis
BenchAlign v6.0 lane · 0 vs 11 public rows
Reading
Directional only

Knowledge

Directional only
Claude 3.5 Sonnet
37.9
Estimated · #128/158
Gemini 3.8 Flash
71.6
Supported · #16/158
Basis
BenchAlign v6.0 lane · 3 vs 6 public rows
Reading
Directional only

Multilingual

Directional only
Claude 3.5 Sonnet
39.3
Estimated · #69/88
Gemini 3.8 Flash
66.2
Estimated · #13/88
Basis
BenchAlign v6.0 lane · 0 vs 0 public rows
Reading
Directional only

Instruction following

Directional only
Claude 3.5 Sonnet
40.3
Estimated · #110/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 3.5 Sonnet
37.0
Estimated · #108/126
Gemini 3.8 Flash
64.3
Supported · #25/126
Basis
BenchAlign v6.0 lane · 0 vs 2 public rows
Reading
Directional only

Multimodal

Not comparable
Claude 3.5 Sonnet
Not ranked
Gemini 3.8 Flash
66.5
Supported · #24/120
Basis
BenchAlign v6.0 lane · 0 vs 5 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 3.5 Sonnet
$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 3.5 Sonnet
$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 3.5 Sonnet
$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 3.5 Sonnet does not fit this workload in one request. Claude 3.5 Sonnet 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 3.5 Sonnet
$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 3.5 SonnetGemini 3.8 Flash

20406080100$0.10$0.50$1$5$10$50$100Output price, $ per 1M tokens (log)Overall score
  • 66 models score at least as high as Claude 3.5 Sonnet 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 3.5 Sonnet

Not published

Gemini 3.8 Flash

$0.075 per 1M cached input tokens

Google Gemini API pricing

Reasoning profile

Claude 3.5 Sonnet

Non-Reasoning

Gemini 3.8 Flash

Reasoning

Weight access

Claude 3.5 Sonnet

Proprietary

Gemini 3.8 Flash

Proprietary

License

Claude 3.5 Sonnet

Proprietary

Gemini 3.8 Flash

Proprietary

Release date

Claude 3.5 Sonnet

2024-06-01

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 point estimate, 68 versus 39.1. Their conditional score ranges do not overlap. These ranges do not establish rank confidence.
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 3.5 Sonnet or Gemini 3.8 Flash?

Gemini 3.8 Flash has the higher public point estimate, 68 versus 39.1. Their conditional score ranges do not overlap. These ranges do not establish rank confidence. The page therefore keeps the decision tied to the specific documented workload.

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

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

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

Gemini 3.8 Flash scores higher for agentic tasks on the public lane, 66 to 37.7. Claude 3.5 Sonnet is scored on Estimated evidence for agentic tasks, so the reading is directional rather than like-for-like. BenchLM does not name a winner for agentic tasks from a directional reading; read the shared benchmark rows directly and test the models on the same task set.

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

For the stated presets, chat costs $0.0105 on Claude 3.5 Sonnet 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 3.5 Sonnet does not fit this workload in one request. Claude 3.5 Sonnet has no published cached-input rate, so cached tokens use its listed input rate.

Which has the larger context window, Claude 3.5 Sonnet 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 evidence54 rows

Agentic

  • Gert Labs

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash66.62%
    Source

    Not directly comparable

  • Terminal-Bench 4.1

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash18.20%
    Source

    Not directly comparable

  • Finance Agent v2

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash61.4%
    Source

    Not directly comparable

  • Terminal-Bench 2.1

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash89.4%
    Source

    Not directly comparable

  • Terminal-Bench 4.0

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash19.10%
    Source

    Not directly comparable

  • OSWorld 2.0

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash59.0%
    Source

    Not directly comparable

  • Terminal-Bench 2.1 (Vals)

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash81.3%
    Source

    Not directly comparable

  • ApprenticeBench

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash25%
    Source

    Not directly comparable

  • Hermes Index

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash38.1%
    Source

    Not directly comparable

  • Hermes Bench

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash62.2%
    Source

    Not directly comparable

  • MazeBench

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash4%
    Source

    Not directly comparable

  • BabaIsBench

    Shown only
    Claude 3.5 Sonnet—
    Gemini 3.8 Flash100%
    Source

    Not directly comparable

  • Code2Video

    Shown only
    Claude 3.5 Sonnet—
    Gemini 3.8 Flash1440
    Source

    Not directly comparable

  • DAYJOB

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

    Not directly comparable

  • DAYJOB Healthcare

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

    Not directly comparable

  • FrontierPhysics

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

    Not directly comparable

Coding

  • SWE-bench Verified

    Claude 3.5 Sonnet49%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • LiveCodeBench (Vals)

    Claude 3.5 Sonnet49.6%
    Source
    Gemini 3.8 Flash89.5%
    Source

    Gemini 3.8 Flash leads this result

  • ScarfBench

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash66.0%
    Source

    Not directly comparable

  • DeepSWE

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash73.8%
    Source

    Not directly comparable

  • Terminal-Bench 2.1

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash89.4%
    Source

    Not directly comparable

  • CursorBench 3.2

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash69.2%
    Source

    Not directly comparable

  • SWE-bench (Vals)

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash80.0%
    Source

    Not directly comparable

  • FrontierSWE v2

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash19.6%
    Source

    Not directly comparable

  • Bug Hunt Bench

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash18.0 fixes
    Source

    Not directly comparable

  • MaxxBench

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

    Not directly comparable

  • MirrorCode

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

    Not directly comparable

Reasoning

  • ARC-AGI-1

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash98.50%
    Source

    Not directly comparable

  • ARC-AGI-2

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash89.2%
    Source

    Not directly comparable

  • ARC-AGI-3

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash10.4%
    Source

    Not directly comparable

  • ARC-AGI-3 Provider Adapter

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash35.00%
    Source

    Not directly comparable

  • Chess Puzzles

    Shown only
    Claude 3.5 Sonnet—
    Gemini 3.8 Flash58.0%
    Source

    Not directly comparable

  • Game Arena Go

    Shown only
    Claude 3.5 Sonnet—
    Gemini 3.8 Flash1165
    Source

    Not directly comparable

  • Humanity's First Exam (HFE)

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

    Not directly comparable

  • Mystery Game Puzzles

    Shown only
    Claude 3.5 Sonnet—
    Gemini 3.8 Flash47.0%
    Source

    Not directly comparable

  • NYT Connections

    Shown only
    Claude 3.5 Sonnet—
    Gemini 3.8 Flash97.4%
    Source

    Not directly comparable

Multimodal

  • ParseBench-2

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash76.67%
    Source

    Not directly comparable

  • ExtractBench (LlamaIndex)

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash80.71%
    Source

    Not directly comparable

  • ParseBench-1

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash71.20%
    Source

    Not directly comparable

  • CharXiv w/o tools

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash86.2%
    Source

    Not directly comparable

  • LVBench

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash87.1%
    Source

    Not directly comparable

  • FACTS Multimodal

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

    Not directly comparable

  • Furniture Assembly

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

    Not directly comparable

Knowledge

  • GPQA

    Claude 3.5 Sonnet59.4%
    Source
    Gemini 3.8 Flash—

    Not directly comparable

  • GPQA Diamond (Vals)

    Claude 3.5 Sonnet59.3%
    Source
    Gemini 3.8 Flash94.4%
    Source

    Gemini 3.8 Flash leads this result

  • MMLU-Pro (Vals)

    Claude 3.5 Sonnet78.4%
    Source
    Gemini 3.8 Flash90.2%
    Source

    Gemini 3.8 Flash leads this result

  • HLE-Verified

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash54.9%
    Source

    Not directly comparable

  • LABBench2

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash86.2%
    Source

    Not directly comparable

  • BioMysteryBench (human-solvable)

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash88.8%
    Source

    Not directly comparable

  • BioMysteryBench (human-difficult)

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash56.5%
    Source

    Not directly comparable

  • FailureSensorIQ

    Shown onlyShared source
    Claude 3.5 Sonnet58.6%
    Gemini 3.8 Flash69.0%

    Gemini 3.8 Flash leads this result

Instruction following

  • Gray Swan IPI (15 attempts)

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash5.5%
    Source

    Not directly comparable

Math

  • FrontierMath v2 (Tiers 1-3)

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash68.421%
    Source

    Not directly comparable

  • FrontierMath v2 (Tier 4)

    Claude 3.5 Sonnet—
    Gemini 3.8 Flash21.951%
    Source

    Not directly comparable

39 public results · 3 shared

Watch Claude 3.5 Sonnet 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