Roboflow

Claude Sonnet 5 vs Gemini 3.7 Flash

Gemini 3.7 Flash and Claude Sonnet 5 score 80.1% vs 55.3% averaged across five Vision Evals tasks (#14 and #57 of 73 models), so Gemini 3.7 Flash leads overall.

  • Gemini 3.7 Flash wins all 5 tasks, with its widest lead on reasoning (80.8% vs 43.0%).
  • Gemini 3.7 Flash is about half the cost: $0.0033 vs $0.0074 overall average cost per sample.
  • Claude Sonnet 5 is faster: 5.9s vs 11.0s per sample.

Compare Claude Sonnet 5 vs Gemini 3.7 Flash live

Run the same image across every model that supports a task and compare their outputs side-by-side.

Detect and compare bounding boxes across models on the same image.

Open Object Detection in the full playground
AnthropicClaude Sonnet 5
Run to compare this model.
GoogleGemini 3.7 Flash
Run to compare this model.

Claude Sonnet 5 vs Gemini 3.7 Flash on Vision Evals

Score by taskClaude Sonnet 5Gemini 3.7 Flash
Reasoning
43.0
80.8
Object Detection
36.1
70.5
Counting
56.8
78.4
Identification
81.3
96.9
OCR
59.4
73.9

Roboflow Vision Evals. Full breakdown below.

Claude Sonnet 5 vs Gemini 3.7 Flash Comparison Table

Evals updated November 19, 2026Pricing updated November 27, 2026

PropertyClaude Sonnet 5Gemini 3.7 Flash
OrganizationAnthropicGoogle
Categoryclosedclosed
Modalitymultimodalmultimodal
Release DateJun 2026Aug 2026
Context Window1.0M1.0M
ParametersUnknownUndisclosed
LicenseProprietaryProprietary
Commercial usecommercial use per vendor termscommercial use per vendor terms
Pricing per 1M tokens
Input $/1M$2.00$0.750
Output $/1M$10.00$3.75
Vision Tasks
Both support 10 more tasks
Model Features
Both support 3 more features
Vision Evalsground-truth scores across 5 vision tasks, pooled at low effort
Overall
55.3%
80.1%
Avg cost / sample$0.0074$0.0033
Avg speed / sample5.86s11.04s
By task
Object Detection (low)
36.1%
$0.011
70.5%
±1.1, Mean of 3 runs, range 69.4 to 71.5
$0.0047
Object Detection (high)–
74.3%
±0.8, Mean of 3 runs, range 73.3 to 75.0
$0.0089
Counting (low)
56.8%
$0.0030
78.4%
±1.4, Mean of 3 runs, range 77.0 to 79.7
$0.0025
Counting (high)–
79.3%
±2.0, Mean of 3 runs, range 77.0 to 81.1
$0.0056
Identification (low)
81.3%
$0.0027
96.9%
±0.0, Mean of 3 runs, range 96.9 to 96.9
$0.0013
Identification (high)–
96.9%
±0.0, Mean of 3 runs, range 96.9 to 96.9
$0.0021
OCR (low)
59.4%
$0.0078
73.9%
$0.0032
by category
Single value
52.2%
Transcription
88.6%
Structured JSON
78.3%
Text localization
13.1%
Single value
74.8%
Transcription
91.1%
Structured JSON
86.7%
Text localization
29.4%
OCR (high)
59.5%
$0.015
78.8%
$0.010
by category
Single value
54.8%
Transcription
88.3%
Structured JSON
76.6%
Text localization
11.6%
Single value
71.7%
Transcription
91.9%
Structured JSON
90.6%
Text localization
59.2%
Reasoning (low)
43.0%
$0.0032
80.8%
±2.0, Mean of 3 runs, range 78.8 to 82.8
$0.0022
Reasoning (high)
43.0%
$0.0043
81.9%
±1.3, Mean of 3 runs, range 80.1 to 82.8
$0.0050

Claude Sonnet 5 vs Gemini 3.7 Flash: Overview

Claude Sonnet 5

Claude Sonnet 5 is a mid-tier large language model from Anthropic, released on June 30, 2026, as the latest model in the Sonnet series and a direct successor to Claude Sonnet 4.6. It is a hybrid reasoning model designed primarily for agentic workflows, software coding, and professional tasks. The model features a 1 million token context window, a 128k maximum output token limit, and runs adaptive thinking by default, giving API users fine-grained control over reasoning effort across five levels (low, medium, high, max, and extra-high). It uses an updated tokenizer shared with Opus 4.7 and later models, which produces approximately 30% more tokens for equivalent text compared to earlier Claude models.

The model supports text and image input with text output, and accepts tools including browsers and terminals for autonomous multi-step task execution. Anthropic's safety evaluations report that Sonnet 5 shows a lower rate of undesirable behaviors than Sonnet 4.6 and is generally safer in agentic contexts, with improved resistance to prompt injection and reduced sycophancy. Cybersecurity safeguards equivalent to those on Opus 4.7 and 4.8 are active, though Anthropic notes the model was not deliberately trained on cybersecurity tasks. The model is proprietary and API-only, with no open weights.

Gemini 3.7 Flash

Gemini 3.7 Flash is a proprietary multimodal model from Google, positioned in the Flash branch of the Gemini 3 series that trades some of the capacity of the larger Pro models for lower latency and lower cost per token. It accepts interleaved text and image input alongside other modalities handled by the Gemini family and returns text, and it continues the series pattern of exposing a configurable thinking budget so that reasoning effort can be scaled up for harder problems or reduced for high throughput extraction, routing and classification work. The model is announced roughly three weeks after Gemini 3.6 Flash, part of an unusually fast iteration cadence within the Flash line.

Google reports gains concentrated in agentic coding and front end generation, citing a WebDev Arena Elo of 1588 for this release compared with 1538 for the preceding Flash model, and describes it as producing more functional layouts and more feature complete applications in fewer prompts. Weights are not published and the architecture, parameter count and training corpus are undisclosed, consistent with prior Gemini releases. Visual capability follows the Flash lineage, covering image and document understanding, chart and diagram interpretation, text recognition in images, and general visual question answering.