vs

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

Pricing Comparison

gpt-4oclaude-sonnet-4-6
ProviderOpenAIAnthropic
Context Window128K200K
Max Output16K64K
Input (Pricing Comparison)$0.50$1.20
Output (Pricing Comparison)$2.00$6.00
Capabilities
Tool UseVisionPrompt CacheJSON Mode
VisionTool UseJSON ModePrompt Cache

Summary

  • gpt-4o is 58% cheaper for input tokens
  • gpt-4o is 67% cheaper for output tokens
  • claude-sonnet-4-6 has a 1.5x 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 $0.50 per 1M tokens.

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

Both models share similar capabilities.