vs

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

claude-sonnet-4-6 is 22% cheaper for input tokens. claude-sonnet-4-6 is 3% 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)$2.50$1.95
Output (Pricing Comparison)$10.00$9.75
Capabilities
VisionTool UseJSON ModePrompt Cache
VisionTool UseJSON ModePrompt CacheReasoning

Summary

  • claude-sonnet-4-6 is 22% cheaper for input tokens
  • claude-sonnet-4-6 is 3% 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?

claude-sonnet-4-6 has lower input pricing at $1.95 per 1M tokens.

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

claude-sonnet-4-6: Reasoning