gpt-5.4 vs claude-sonnet-5
Compare gpt-5.4 and claude-sonnet-5 side by side: input and output price per 1M tokens, context window, endpoints, and pricing type on ZipFlow.
| Model | gpt-5.4 | claude-sonnet-5Cheaper input |
|---|---|---|
| Provider | OpenAI | Anthropic |
| Context | - | - |
| Input / 1M | $ 0.45 | $ 0.36 |
| Output / 1M | $ 2.7 | $ 1.8 |
| Cache / 1M | $ 0.24 | $ 0.036 |
| Endpoints | Chat, Response, Response, anthropic, gemini, openai-alpha-search | Chat, Response, Response, anthropic, gemini, openai-alpha-search |
| Pricing type | Per-token | Per-token |