claude-sonnet-4-20250514 vs gemini-2.5-flash
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)
Gemini 2.5 Flash is our best model in terms of price and performance, and offers well-rounded capabilities.
Input$0.15
Output$0.6
Latency (p50)3.8s
Output Limit66K
Function Calling
JSON Mode
-
Input–
Output–
in$0.15out$0.6––