Compare models

Up to four models side by side.

Compare models
Claude Haiku 3.5 Anthropic Retired Grok 4.20 Non-Reasoning xAI
Input $0.80, Best in row $1.25
Output $4.00 $2.50, Best in row
Blended $1.60 $1.56, Best in row
Context window 200k 1M, Best in row
Output speed No data 99.7
Quality No data 42.6
Reasoning No data 52.8
Coding No data 35.2
Value No data 6.7
Vision ✓ ✓
Tool calling ✓ ✓
Structured output ✓ ✓
Prompt caching ✓ ✓
Batch API ✓ ✓
Licence Proprietary Proprietary
API model id claude-3-5-haiku-20241022 grok-4.20-0309-non-reasoning

At a glance

Input price, per million tokens
  1. Claude Haiku 3.5Anthropic$0.80
  2. Grok 4.20 Non-ReasoningxAI$1.25
Output price, per million tokens
  1. Claude Haiku 3.5Anthropic$4.00
  2. Grok 4.20 Non-ReasoningxAI$2.50

Popular comparisons

Head-to-head pages for models people weigh against each other.

Language models 77
Image generation 18
Video generation 11
Text to speech 9
Speech to text 25
Voice and realtime 17
Embeddings 3