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