Skip to main content
Glama

claude-sonnet-4-20250514 vs gemini-2.5-pro-preview-05-06

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
-
Providers2
ReleasedMay 2025
Knowledge Cutoff-
License-

Gemini 2.5 Pro is our state-of-the-art thinking model, capable of reasoning over complex problems in code, math, and STEM, as well as analyzing large datasets, codebases, and documents using long context. Gemini 2.5 Pro rate limits are more restricted since it is a preview model.

Input$1.3
Output$10
Latency (p50)-
Output Limit66K
Function Calling
-
JSON Mode
InputText, Image
OutputText
in$1.3out$10--
in$1.3out$10--