Compare models
Comparing 2models. Drop the URL into a doc — it's permalinked.
| Field | anthropic/claude-sonnet-4-5 | xai/grok-3 |
|---|---|---|
| Provider | anthropic | xai |
| Model ID | claude-sonnet-4-5 | grok-3 |
| Context | 200K | 131K |
| Max output | 64K | — |
| Input / 1M | $3.00 | $3.00 |
| Output / 1M | $15.00 | $15.00 |
| Cached input / 1M | $0.30 | — |
| Avg cost / 1M | $9.00 | $9.00 |
| Speed | 95 t/s | 65 t/s |
| Quality index | 73.0 | 72.0 |
| MMLU | 88.7 | 87.5 |
| GPQA | 71.5 | 75.4 |
| HumanEval | 89.1 | 86.5 |
| MATH | 91.8 | 89.3 |
| SWE-bench | 49.0 | — |
| Arena Elo | — | — |
| Tools | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Thinking | ✓ | ✓ |
| Streaming | ✓ | ✓ |
| JSON mode | — | — |
| Structured output | ✓ | — |
| Prompt cache | ✓ | — |
Same data, in your terminal: relay models compare sonnet-4.5 grok-3