Skip to content

Gemini 3.1 Flash-Lite vs Claude Sonnet 4.5

Compare Gemini 3.1 Flash-Lite from Google and Claude Sonnet 4.5 from Anthropic on price, context length and features. Use both through one Yunshu Router API key.

Google
Anthropic
Good for
Fast and cheap · Bulk and batch jobs · Long context · Images and screenshots
Coding agents · Images and screenshots
Overview
Model ID
gemini-3.1-flash-lite
claude-sonnet-4-5
Availability
Available
Available
Context length
977K tokens
—
Reasoning
Always on
Can be switched off
Reads
text, image, file, audio, video
text, image
Writes
text
text
Tool calling
Yes
Yes
Price per 1M tokens
Input
$0.2879
Price coming soon
Output
$1.7272
Price coming soon
Cached input
$0.0345
Price coming soon
Model
Google
Anthropic
Good forFast and cheap · Bulk and batch jobs · Long context · Images and screenshotsCoding agents · Images and screenshots
Overview
Model IDgemini-3.1-flash-liteclaude-sonnet-4-5
AvailabilityAvailableAvailable
Context length977K tokens—
ReasoningAlways onCan be switched off
Readstext, image, file, audio, videotext, image
Writestexttext
Tool callingYesYes
Price per 1M tokens
Input$0.2879Price coming soon
Output$1.7272Price coming soon
Cached input$0.0345Price coming soon

Analysis

Gemini 3.1 Flash-Lite vs Claude Sonnet 4.5: side-by-side summary

Gemini 3.1 Flash-Lite and Claude Sonnet 4.5 are both available through the Yunshu Router API, so switching between them is a change of model ID, not a new integration. Our price for Claude Sonnet 4.5 is coming soon.

Gemini 3.1 Flash-Lite, from Google, has a 977K-token context window and is priced at $0.2879 per 1M input tokens and $1.7272 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).

Claude Sonnet 4.5, from Anthropic, is available on Yunshu Router; its price and limits will be listed soon.

AttributeGemini 3.1 Flash-LiteClaude Sonnet 4.5
Context window977K tokens—
Price$0.2879 / M input, $1.7272 / M outputPrice coming soon
Provided byGoogleAnthropic
Model pageGemini 3.1 Flash-Lite details, setup and pricingClaude Sonnet 4.5 details, setup and pricing

USD per 1M tokens, prices as of 2026-11-21. Input types are what each model's maker lists. "Highlight best" marks the lowest price and the largest context among the models shown, in green.

More comparisons

Compare any models →