Skip to main content
Glama

claude-sonnet-4-20250514 vs gemini-2.5-flash

Pricing, Performance & Features Comparison

Price unit:
Authoranthropic
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)3s
Output Limit8K
Function Calling
JSON Mode
-
InputText, Image
OutputText
in$3out$15cache$0.3write$3.8
Latency (24h)
Success Rate (24h)
Authorgoogle
Context Length1M
Reasoning
-
Providers1
ReleasedJun 2025
Knowledge CutoffJan 2025
License-

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)1.5s
Output Limit66K
Function Calling
JSON Mode
-
Input-
Output-
in$0.15out$0.6--
Latency (24h)
Success Rate (24h)