Skip to content

Compare models

Put up to 4 models beside each other — token prices, context windows, capabilities and provider, from the same catalogue the model pages read.

  1. Claude Sonnet 5AnthropicRemove
  2. Gemini 3.1 Flash Lite Image (Google AI Studio)GoogleEnterprise & partner accessRemove
claude-sonnet-5 vs gemini-3.1-flash-lite-image-aistudio
AttributeClaude Sonnet 5claude-sonnet-5Gemini 3.1 Flash Lite Image (Google AI Studio)gemini-3.1-flash-lite-image-aistudio
Pricing
Input$2.00 / 1M—
Output$10.00 / 1M—
Cache Write (5m)$2.50 / 1MNot applicable
Cache Write (1h)$4.00 / 1MNot applicable
Cache Read$0.20 / 1MNot applicable
Web Search$0 / 1M—
Request—$0.0336 / request
Billing—Pay Per Request
Context
Max context1MN/A
Max outputN/AN/A
Capabilities
VisionYesYes
Function CallingYesNo
JSON ModeYesNo
StreamingYesNo
Catalogue
ProviderAnthropicGoogle
Categorychatimage
Charge typePay As You GoPay Per Request
Released——
Description
SummarySonnet 5 is Anthropic's most capable Sonnet-class model, delivering frontier-level performance across coding, agentic workflows, and professional knowledge tasks. It supports text, image, and file inputs, features a 1M-token context window, and offers adaptive thinking with configurable reasoning levels (low, medium, high, max, and x-high) to balance speed, cost, and reasoning depth. Optimized for complex coding, long-horizon agent execution, and professional workflows, Sonnet 5 combines strong reasoning, robust instruction following, and enhanced safety features, including an updated tokenizer and real-time cyber safeguards for high-risk dual-use scenarios.Gemini 3.1 Flash Lite Image served from Google AI Studio. Billed per image at US$0.0336. Call it through /v1/chat/completions with stream set to false; the image is returned in the message content as a base64 data URI. Maximum output resolution is 1K. A request for a larger size returns a 1K image with the same aspect ratio at the same price. When a size is reduced, the response carries an X-Image-Resolution-Capped header with the requested and delivered size.