Compare models
Comparing 2models. Drop the URL into a doc — it's permalinked.
| Field | anthropic/claude-3-5-sonnet-20241022 | openai/gpt-4o |
|---|---|---|
| Provider | anthropic | openai |
| Model ID | claude-3-5-sonnet-20241022 | gpt-4o |
| Context | 200K | 128K |
| Max output | 8K | 16K |
| Input / 1M | $3.00 | $2.50 |
| Output / 1M | $15.00 | $10.00 |
| Cached input / 1M | $0.30 | $1.25 |
| Avg cost / 1M | $9.00 | $6.25 |
| Speed | 80 t/s | 110 t/s |
| Quality index | 70.0 | 71.0 |
| MMLU | 88.7 | 88.7 |
| GPQA | 65.0 | 53.6 |
| HumanEval | 92.0 | 90.2 |
| MATH | 78.3 | 76.6 |
| SWE-bench | — | — |
| Arena Elo | — | 1338 |
| Tools | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Thinking | — | — |
| Streaming | ✓ | ✓ |
| JSON mode | — | ✓ |
| Structured output | — | ✓ |
| Prompt cache | ✓ | — |
Same data, in your terminal: relay models compare anthropic/claude-3-5-sonnet-20241022 4o