Compare models
Comparing 2models. Drop the URL into a doc — it's permalinked.
| Field | anthropic/claude-3-5-sonnet-20241022 | xai/grok-3 |
|---|---|---|
| Provider | anthropic | xai |
| Model ID | claude-3-5-sonnet-20241022 | grok-3 |
| Context | 200K | 131K |
| Max output | 8K | — |
| 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 | 80 t/s | 65 t/s |
| Quality index | 70.0 | 72.0 |
| MMLU | 88.7 | 87.5 |
| GPQA | 65.0 | 75.4 |
| HumanEval | 92.0 | 86.5 |
| MATH | 78.3 | 89.3 |
| SWE-bench | — | — |
| Arena Elo | — | — |
| Tools | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Thinking | — | ✓ |
| Streaming | ✓ | ✓ |
| JSON mode | — | — |
| Structured output | — | — |
| Prompt cache | ✓ | — |
Same data, in your terminal: relay models compare anthropic/claude-3-5-sonnet-20241022 grok-3