Side-by-side comparison of pricing, ..., and generation speed.
| Metric | Claude Sonnet 4.6 | GPT-5.4 |
|---|---|---|
| Input ($/M tokens) | $3 | $2.5 |
| Output ($/M tokens) | $15 | $15 |
| Cached Input ($/M) | $0.3 | $0.25 |
| Context Window | 200K | 1050K |
Data from Artificial Analysis API — 12 benchmarks
| Feature | Claude Sonnet 4.6 | GPT-5.4 |
|---|---|---|
| vision | ✅ | ✅ |
| Function Calling | ✅ | ✅ |
| streaming | ✅ | ✅ |
| JSON Mode | — | ✅ |