AI model comparison

Claude Sonnet 5 vs GPT-5.2 Chat

Compare pricing, context limits, supported inputs and deployment options to choose a model for your workflow.

Claude Sonnet 5 from Anthropic lists 1M context, 128K maximum output, $2.00 input per 1M tokens, $10.00 output per 1M tokens. GPT-5.2 Chat from OpenAI lists 128K context, 16.38K maximum output, $1.75 input per 1M tokens, $14.00 output per 1M tokens. Compare the inputs, outputs and deployment options below to see which fits your workflow.

Side-by-sideCapabilities and practical differences

Anthropic

Claude Sonnet 5

Claude Sonnet 5 from Anthropic: Everyday Claude agent model for coding, planning, browsing, and general work.

Context
1M
Max output
128K
Input / 1M tokens
$2.00
Output / 1M tokens
$10.00

Accepts

  • Text input
  • Image input
  • PDF input

Produces

  • Text output
VS

OpenAI

GPT-5.2 Chat

GPT-5.2 Chat from OpenAI: Chat-tuned GPT model for conversational assistance, writing, and tool workflows.

Context
128K
Max output
16.38K
Input / 1M tokens
$1.75
Output / 1M tokens
$14.00

Accepts

  • Text input
  • Image input

Produces

  • Text output

At a glance

Key differences

Compare the available figures below, then try both models on the work you need to do.

Claude Sonnet 5

  • Context capacity: 1M
  • Maximum output: 128K
  • Output price: $10.00

GPT-5.2 Chat

  • Input price: $1.75

Context capacity

Higher listed limit

Claude Sonnet 5:1M

GPT-5.2 Chat:128K

Claude Sonnet 5

Maximum output

Higher listed limit

Claude Sonnet 5:128K

GPT-5.2 Chat:16.38K

Claude Sonnet 5

Input price

Lower listed token rate

Claude Sonnet 5:$2.00

GPT-5.2 Chat:$1.75

GPT-5.2 Chat

Output price

Lower listed token rate

Claude Sonnet 5:$10.00

GPT-5.2 Chat:$14.00

Claude Sonnet 5

Specifications

Pricing, limits and capabilities

Specifications for Claude Sonnet 5 and GPT-5.2 Chat. Higher limits and lower prices describe these figures only.
SpecificationClaude Sonnet 5GPT-5.2 Chat
ProviderAnthropicOpenAI
Listed pricing routeAnthropicOpenAI
Model familyclaude-sonnetgpt-codex
Accepted inputstext, image, pdftext, image
Produced outputstexttext
Context window1MHigher128K
Max output128KHigher16.38K
Input price / 1M$2.00$1.75Lower
Output price / 1M$10.00Lower$14.00
Reasoning modeDocumentedDocumented
Tool callingDocumentedDocumented
Image inputDocumentedDocumented
Audio inputNot documentedNot documented
Structured outputNot documentedDocumented
LicenseProprietaryProprietary

Workload guidance

Which model should you choose?

Consider Claude Sonnet 5 if you need larger context or larger maximum output or a lower listed output rate. Consider GPT-5.2 Chat if you need a lower listed input rate. Test both on the same representative examples and judge the output against your acceptance criteria. Include tool failures, retries and the time to a completed task.

Documentation and model profiles

Explore each model’s features, API requirements and licence terms in the sources below.

Questions people ask

It brings together documented inputs and outputs, token limits, deployment terms and available pricing. When both models have source-linked, verified results on a shared benchmark, those results are shown with their individual sources. The comparison is a starting point for evaluating your own workload.

Compare a different pair

Search by model or provider to explore another comparison.

Open model comparison