Claude Sonnet 5.5 vs GPT-5.1-Codex-Max

Pick up to 3 models · pricing, context and capabilities · simulate your product cost

Data updated on September 30, 2026· 217 models

AnthropicSonnet 5.5

Claude Sonnet 5.5 is Anthropic's Sonnet-class model for well-scoped everyday work, succeeding Claude Sonnet 5 as a direct upgrade.

View sheet →

Reasoning estimated
Speed estimated
Input
Output
Context
▲1 M tokens
Max output
128 K
Input, $ per 1M tokens
$2.00
Output, $ per 1M tokens
$10.00
Cache read, $ per 1M
$0.200
Batch (input / output)
$1.00 / $5.00
Tool calling
Yes
Released
▲09/28/2026
Knowledge cutoff
2026-06
API id
anthropic/claude-sonnet-5.5
OpenAIGPT-5.1-Codex-Max

GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context software development tasks.

View sheet →

Reasoning estimated
Speed estimated
Input
Output
Context
400 K tokens
Max output
128 K
Input, $ per 1M tokens
▲$1.25
Output, $ per 1M tokens
$10.00
Cache read, $ per 1M
$0.125
Batch (input / output)
—
Tool calling
Yes
Released
11/13/2025
Knowledge cutoff
2024-09-30
API id
openai/gpt-5.1-codex-max
Third model (optional)
text image audio video PDF / file reasoning (1 to 5, estimated by family) speed (1 to 4, estimated by family)▲ best value among the selected

Which is the better API choice: Claude Sonnet 5.5 vs GPT-5.1-Codex-Max?

  • GPT-5.1-Codex-Max: cheapest input (38% less than Claude Sonnet 5.5)
  • Claude Sonnet 5.5: largest context (1 M)
  • Claude Sonnet 5.5: the newest (09/28/2026)

Pricing is split: GPT-5.1-Codex-Max wins on input and Claude Sonnet 5.5 wins on output. Claude Sonnet 5.5 accepts more context (1 M). Claude Sonnet 5.5 offers a batch tier at half price for jobs that do not need an immediate answer.

What would your product cost?

Estimate the monthly cost with your app's real volume. List prices, no cache or batch discounts.

Claude Sonnet 5.5
$70.00/mo
GPT-5.1-Codex-Max
$58.75/mo

With GPT-5.1-Codex-Max you save $11.25 a month versus Claude Sonnet 5.5 (16% less).

The 6 cheapest for this scenario (chat, last 12 months)

  1. 1Lyria 3 Pro Preview Google$0.00
  2. 2Lyria 3 Clip Preview Google$0.00
  3. 3Qwen3.7 Flash Qwen$0.97
  4. 4DeepSeek V4 Flash 0731 DeepSeek$1.55
  5. 5Ministral 3 3B 2512 Mistral$1.90
  6. 6Qwen3.5-Flash Qwen$2.02

Paste your prompt: tokens and cost per model

Rough estimate (about 4 characters per token). Nothing is sent to any server.

76tokens approx.287 characters

Cost of sending it 1,000 times (input only)

  1. 1GPT-5.1-Codex-Max OpenAI$0.095
  2. 2Claude Sonnet 5.5 Anthropic$0.152
  3. 3Claude Sonnet 5 Anthropic$0.152
  4. 4Claude Opus 5.5 Anthropic$0.304
  5. 5Claude Opus 5 Anthropic$0.380
  6. 6Claude Opus 4.8 Anthropic$0.380
  7. 7Claude Fable 5.1 Anthropic$0.760
  8. 8Claude Fable 5 Anthropic$0.760

Popular comparisons

Frequently asked questions

Which is the better API choice: Claude Sonnet 5.5 vs GPT-5.1-Codex-Max?

Pricing is split: GPT-5.1-Codex-Max wins on input and Claude Sonnet 5.5 wins on output. Claude Sonnet 5.5 accepts more context (1 M). Claude Sonnet 5.5 offers a batch tier at half price for jobs that do not need an immediate answer.

Which is cheaper: Claude Sonnet 5.5 and GPT-5.1-Codex-Max?

GPT-5.1-Codex-Max is cheaper: $1.25 per million input tokens and $10.00 per million output tokens, versus $2.00 / $10.00 for Claude Sonnet 5.5.

Which has more context: Claude Sonnet 5.5 and GPT-5.1-Codex-Max?

Claude Sonnet 5.5 accepts 1 M tokens of context; GPT-5.1-Codex-Max accepts 400 K.

Which is newer: Claude Sonnet 5.5 and GPT-5.1-Codex-Max?

Claude Sonnet 5.5 was released on 09/28/2026; GPT-5.1-Codex-Max on 11/13/2025.

What would 10,000 requests a month cost with Claude Sonnet 5.5 and GPT-5.1-Codex-Max?

With 1,500 input and 400 output tokens per request: Claude Sonnet 5.5: $70.00; GPT-5.1-Codex-Max: $58.75 a month, at list price.

Where do the prices come from and how often are they updated?

From the public catalogs of OpenRouter, models.dev and LiteLLM, which publish each provider's list prices. They sync once a day and the last update date is shown above the comparison.

What does price per million tokens mean?

It is what the provider charges per million tokens you send (input) or the model generates (output). A token is roughly 4 characters. Output almost always costs more than input.

Sources: OpenRouter, models.dev and LiteLLM. Prices in USD per million tokens, list price, no volume discounts. Prompt tokens are an estimate; each provider's tokenizer may differ.