Anthropic: Claude Sonnet 4.6 vs OpenAI: GPT-5.4

OpenAI: GPT-5.4 is 1.2× cheaper for input tokens: Anthropic: Claude Sonnet 4.6 costs $3.00 per M and OpenAI: GPT-5.4 costs $2.50 per M. They cost about the same for output tokens: Anthropic: Claude Sonnet 4.6 $15.00 per M, OpenAI: GPT-5.4 $15.00 per M. About the same: Anthropic: Claude Sonnet 4.6 takes up to 1,000,000 tokens of context and OpenAI: GPT-5.4 up to 1,050,000.

Anthropic: Claude Sonnet 4.6OpenAI: GPT-5.4
Model idanthropic/claude-sonnet-4.6openai/gpt-5.4
Input$3.00 per M$2.50 per M
Output$15.00 per M$15.00 per M
Context length1,000,000 tokens1,050,000 tokens
Acceptsfile, image, textfile, image, text
Producestexttext
Served byanthropicopenai

Prices are the providers' list prices per million tokens, as of . Both run on your own provider key through one OpenAI-compatible endpoint, with no fee on the tokens.