vs

gpt-4o vs claude-sonnet-4-6

gpt-4o is 10% cheaper for input tokens. gpt-4o is 28% cheaper for output tokens. claude-sonnet-4-6 has a 1.6x larger context window. claude-sonnet-4-6 supports 3.9x more output tokens.

Pricing Comparison

gpt-4oclaude-sonnet-4-6
ProviderOpenAIAnthropic
Context Window128K200K
Max Output16K64K
Input (Pricing Comparison)$1.75$1.95
Output (Pricing Comparison)$7.00$9.75
Capabilities
VisionTool UseJSON ModePrompt Cache
VisionTool UseJSON ModePrompt CacheReasoning

Summary

  • gpt-4o is 10% cheaper for input tokens
  • gpt-4o is 28% cheaper for output tokens
  • claude-sonnet-4-6 has a 1.6x larger context window
  • claude-sonnet-4-6 supports 3.9x more output tokens

FAQ

Which is cheaper, gpt-4o or claude-sonnet-4-6?

gpt-4o has lower input pricing at $1.75 per 1M tokens.

What are the key differences between gpt-4o and claude-sonnet-4-6?

claude-sonnet-4-6: Reasoning