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.7 FlashGoogleRemove
  3. Hy4 previewTencentRemove
  4. Gemini 3.8 FlashGoogleRemove

4 is the maximum. Remove one to add another.

claude-sonnet-5 vs gemini-3.7-flash vs hy4-preview vs gemini-3.8-flash
AttributeClaude Sonnet 5claude-sonnet-5Gemini 3.7 Flashgemini-3.7-flashHy4 previewhy4-previewGemini 3.8 Flashgemini-3.8-flash
Pricing
Input$2.00 / 1M$0.375 / 1M$0.834 / 1M$0.75 / 1M
Output$10.00 / 1M$1.88 / 1M$2.50 / 1M$3.75 / 1M
Cache Write (5m)$2.50 / 1M$0.375 / 1M$0.834 / 1M$0.75 / 1M
Cache Write (1h)$4.00 / 1M$0.375 / 1M$0.834 / 1M$0.75 / 1M
Cache Read$0.20 / 1M$0.375 / 1M$0.834 / 1M$0.75 / 1M
Web Search$0 / 1M$0 / 1M$0 / 1M$0 / 1M
Context
Max context1M1M1M1M
Max outputN/AN/AN/AN/A
Capabilities
VisionYesYesYesYes
Function CallingYesYesYesYes
JSON ModeYesYesYesYes
StreamingYesYesYesYes
Catalogue
ProviderAnthropicGoogleTencentGoogle
Categorychatchatchatchat
Charge typePay As You GoPay As You GoPay As You GoPay As You Go
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.7 Flash is Google's fast multimodal model designed for agentic workflows, coding, and complex multi-step reasoning. It combines responsive inference with reliable problem-solving capabilities, making it well suited for interactive and production-scale applications. Optimized for speed and dependable multi-step execution, Gemini 3.7 Flash is a strong choice for coding assistants, autonomous agents, and high-throughput workflows that require both low latency and capable reasoning.Tencent Hy4 Preview is a Mixture-of-Experts (MoE) model from Tencent, featuring 770B total parameters with 49B activated per token. It is designed for coding agents, complex tool-driven workflows, and professional productivity tasks that require strong planning and reliable execution. Optimized for context continuity and sustained multi-step work, Hy4 Preview is well suited for long-horizon coding, agentic automation, tool orchestration, and complex real-world workflows.Gemini 3.8 Flash is Google's most intelligent Flash-class model, delivering significant improvements over Gemini 3.7 Flash across software engineering, agentic workflows, and complex multi-step reasoning. Designed to combine strong capability with Flash-tier efficiency, it is well suited for coding assistants, autonomous agents, and high-throughput production workflows that require responsive performance without sacrificing reasoning quality.