Skip to main content
Glama

claude-sonnet-5 vs grok-4.5

Pricing, Performance & Features Comparison

Authoranthropic
Context Length1M
Reasoning
Providers1
ReleasedJun 2026
Knowledge Cutoff
License

Near-Opus quality on coding and agentic work at Sonnet cost; adaptive thinking is on by default and non-default sampling parameters are rejected.

Input$3
Output$15
Latency (p50)5.8s
Output Limit128K
Function Calling
JSON Mode
InputText, Image
OutputText
in$3out$15cache$0.3write$3.8
Latency (24h)
Success Rate (24h)
Authorxai
Context Length500K
Reasoning
Providers1
ReleasedJul 2026
Knowledge CutoffFeb 2026
License

xAI’s flagship reasoning model with configurable reasoning effort.

Input$2
Output$6
Latency (p50)5.3s
Output Limit
Function Calling
JSON Mode
-
InputText, Image
OutputText
in$2out$6cache$0.5
Latency (24h)
Success Rate (24h)