claude-sonnet-4-20250514 vs gemini-2.5-flash-preview-04-17
Pricing, Performance & Features Comparison
Context Length200K
Reasoning
Providers1
ReleasedMay 2025
Knowledge CutoffMar 2025
License–
Claude Sonnet 4 balances impressive performance for coding with the right speed and cost for high-volume use cases.
Input$3
Output$15
Latency (p50)4.6s
Output Limit8K
Function Calling
JSON Mode
-
InputText, Image
OutputText
in$3out$15cache$0.3write$3.8
Latency (24h)
Success Rate (24h)
Our best model in terms of price-performance, offering well-rounded capabilities.
Input$0.15
Output$0.6
Latency (p50)–
Output Limit66K
Function Calling
-
JSON Mode
InputText, Image
OutputText
google-ai-studioCheapest
in$0.15out$0.6––
google-vertexCheapest
in$0.15out$0.6––