opencheap.si
鸣谢

GPT-5.2-Codex vs Claude Opus 5.5

Updated November 27, 2026. Prices as of 2026-12-04 12:06 UTC

GPT-5.2-Codex vs Claude Opus 5.5 on OpenCheap, from the same price book as the model pages. Claude Opus 5.5 is 21 % cheaper than GPT-5.2-Codex on a typical 1 : 3 input-to-output mix: $8.64 against $10.94 per 1M tokens.

Claude Opus 5.5 is 21 % cheaper than GPT-5.2-Codex on a typical 1 : 3 input-to-output mix: $8.64 against $10.94 per 1M tokens. A request with 10,000 input tokens and 1,000 output tokens costs about $0.032 on GPT-5.2-Codex and $0.032 on Claude Opus 5.5. Claude Opus 5.5 has the larger context window: 1M tokens, against 400K for GPT-5.2-Codex. On each model's fastest provider, the first token arrives after 1.40 s on GPT-5.2-Codex and 1.10 s on Claude Opus 5.5 (median, measured by OpenCheap). On OpenCheap, GPT-5.2-Codex is served by 3 providers and Claude Opus 5.5 by 9 providers. Both are called with one key at the same OpenAI-compatible endpoint, so switching is a change of the model id. Prices as of 2026-12-04 12:06 UTC.

Side by side

GPT-5.2-Codex vs Claude Opus 5.5: price, context, speed and uptime
型号GPT-5.2-Codex OpenAIClaude Opus 5.5 Anthropic
Input per 1M tokens$1.75 (best)$2.16
Output per 1M tokens$14.00$10.80 (best)
Cached input per 1M tokens$0.17$0.11 (best)
On a 1 : 3 mix per 1M tokens, input to output$10.94$8.64 (best)
One request 10,000 tokens in, 1,000 out$0.032$0.032
1,000 requests of that size$31.50 (best)$32.40
List price per 1M tokens, input / output$1.75 / $14.00$4.00 / $20.00
Context window tokens in one request400K1M (best)
Providers serving it on OpenCheap39 (best)
First token fastest provider, median1.40 s1.10 s (best)
Output speed fastest provider, median63 tok/s449 tok/s (best)
Uptime best provider, last day100 %100 %
模型 IDopencheap/gpt-5.2-codex Model page →opencheap/claude-opus-5.5 Model page →

Prices are each model's From price, the provider a request goes to now, in US dollars. The list price is the model's published price. First token, output speed and uptime are medians for each model's fastest working provider, measured by OpenCheap; each model page lists every provider. Green marks the best value in a row.

Switch between them

Point the OpenAI SDK at https://api.opencheap.si/v1 with your OpenCheap key. To call 克劳德 作品5.5 instead of GPT-5.2-Codex, change the model to opencheap/claude-opus-5.5; nothing else in your code changes. Each request goes to the cheapest healthy provider of the model you name, and every answer reports what it cost in 使用成本.

import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gpt-5.2-codex",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)

About the two models

  • A version of OpenAI's GPT-5.2 tuned for long-horizon, agentic coding in Codex and similar environments. It accepts text and images, responds in text, and offers low to xhigh reasoning effort. All OpenAI models

  • Anthropic's Claude Opus 5.5 opens the Claude 5.5 family, for long-running agentic coding and knowledge work. Anthropic cites multihour coding agents, large refactors and computer use; it reads text and images and always thinks adaptively. All Anthropic models

Questions

Which is cheaper, GPT-5.2-Codex or Claude Opus 5.5?
Claude Opus 5.5 is 21 % cheaper than GPT-5.2-Codex on a typical 1 : 3 input-to-output mix: $8.64 against $10.94 per 1M tokens. Per 1M tokens, GPT-5.2-Codex costs $1.75 input and $14.00 output; Claude Opus 5.5 costs $2.16 input and $10.80 output.
Which has the larger context window, GPT-5.2-Codex or Claude Opus 5.5?
Claude Opus 5.5 has the larger context window: 1M tokens, against 400K for GPT-5.2-Codex.
Which is faster, GPT-5.2-Codex or Claude Opus 5.5?
On each model's fastest provider, GPT-5.2-Codex starts answering after 1.40 s and writes about 63 tok/s; Claude Opus 5.5 starts answering after 1.10 s and writes about 449 tok/s (medians measured by OpenCheap).
Can I use GPT-5.2-Codex and Claude Opus 5.5 with the same API key?
Yes. Both are called at https://api.opencheap.si/v1 with the OpenAI SDK or any OpenAI-compatible client: pass the model id opencheap/gpt-5.2-codex or opencheap/claude-opus-5.5, and each request goes to the cheapest healthy provider of that model.

More comparisons

Compare other models →