Compare models

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.

Modelgpt-5.4claude-sonnet-5Cheaper input
ProviderOpenAIAnthropic
Context--
Input / 1M$ 0.45$ 0.36
Output / 1M$ 2.7$ 1.8
Cache / 1M$ 0.24$ 0.036
EndpointsChat, Response, Response, anthropic, gemini, openai-alpha-searchChat, Response, Response, anthropic, gemini, openai-alpha-search
Pricing typePer-tokenPer-token
gpt-5.4 vs claude-sonnet-5 | ZipFlow