The AI arena is free today

Open Superagent

Claude 3 Haiku vs GPT-5.2 Codex

GPT-5.2 Codex leads the LLM Stats Score 34.4 to -1.5. Claude 3 Haiku is 9.6x cheaper per token.

Anthropic · OpenAI · Updated for 2026

Which is better?

GPT-5.2 Codex leads the overall LLM Stats Score 34.4 to -1.5, ranking #90 overall.

On price, Claude 3 Haiku is roughly 9.6x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

GPT-5.2 Codex also accepts a larger context window (400,000 input tokens), making it the stronger choice for long documents and large codebases.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose Claude 3 Haiku

  • cost matters — it's about 9.6x cheaper per token

Choose GPT-5.2 Codex

  • overall performance matters — it scores 34.4 and ranks #90 on LLM Stats
  • your work emphasizes reasoning and coding — it leads those capability indexes
  • you process long inputs — it offers a 400,000 token context window
  • you want the most recent training data — it shipped Jan 2026

At a glance

The differences that matter most.

Core performance indexes
-1.5
#334
34.4
#90
-1.5
#327
34.7
#84
0.6
#238
25.3
#70
Cost, coverage & limits
Benchmark wins
Input price
$0.25 / M
$1.75 / M
Output price
$1.25 / M
$14.00 / M
Context window
200,000
400,000

Individual benchmarks

10 reported for Claude 3 Haiku · 3 for GPT-5.2 Codex

No common benchmarks found

Claude 3 Haiku and GPT-5.2 Codexdon't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

Claude 3 Haiku costs less

For input processing, Claude 3 Haiku ($0.25/1M tokens) is 7.0x cheaper than GPT-5.2 Codex ($1.75/1M tokens).

For output processing, Claude 3 Haiku ($1.25/1M tokens) is 11.2x cheaper than GPT-5.2 Codex ($14.00/1M tokens).

In conclusion, GPT-5.2 Codex is more expensive than Claude 3 Haiku.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Sun Sep 13 2026 • llm-stats.com
Anthropic
Claude 3 Haiku
Input tokens$0.25
Output tokens$1.25
Best providerAnthropic
OpenAI
GPT-5.2 Codex
Input tokens$1.75
Output tokens$14.00
Best providerOpenAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

GPT-5.2 Codex accepts 400,000 input tokens compared to Claude 3 Haiku's 200,000 tokens. Claude 3 Haiku can generate longer responses up to 200,000 tokens, while GPT-5.2 Codex is limited to 128,000 tokens.

Anthropic
Claude 3 Haiku
Input200,000 tokens
Output200,000 tokens
OpenAI
GPT-5.2 Codex
Input400,000 tokens
Output128,000 tokens
Sun Sep 13 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Both Claude 3 Haiku and GPT-5.2 Codex support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Claude 3 Haiku

Text
Images
Audio
Video

GPT-5.2 Codex

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Claude 3 Haiku

Proprietary

Closed source

GPT-5.2 Codex

Proprietary

Closed source

Release Timeline

When each model was launched

Claude 3 Haiku was released on 2024-03-13, while GPT-5.2 Codex was released on 2026-01-14.

GPT-5.2 Codex is 22 months newer than Claude 3 Haiku.

Claude 3 Haiku

Mar 13, 2024

2.5 years ago

GPT-5.2 Codex

Jan 14, 2026

8 months ago

1.8yr newer

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

Claude 3 Haiku is available from Anthropic, Bedrock, Google. GPT-5.2 Codex is available from OpenAI.

Claude 3 Haiku

anthropic logo
Anthropic
Input Price:Input: $0.25/1MOutput Price:Output: $1.25/1M
bedrock logo
AWS Bedrock
Input Price:Input: $0.25/1MOutput Price:Output: $1.25/1M
google logo
Google
Input Price:Input: $0.25/1MOutput Price:Output: $1.25/1M

GPT-5.2 Codex

openai logo
OpenAI
Input Price:Input: $1.75/1MOutput Price:Output: $14.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against Claude 3 Haiku and GPT-5.2 Codex side-by-side, then vote on the output you prefer.

Claude 3 Haiku
✓ Preferred
GPT-5.2 Codex
Open in Playground

FAQ

Common questions about Claude 3 Haiku vs GPT-5.2 Codex.

Which is better, Claude 3 Haiku or GPT-5.2 Codex?

GPT-5.2 Codex leads the LLM Stats Score 34.4 to -1.5. Claude 3 Haiku is made by Anthropic and GPT-5.2 Codex is made by OpenAI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does Claude 3 Haiku compare to GPT-5.2 Codex in benchmarks?

Claude 3 Haiku scores ARC-C: 89.2%, GSM8k: 88.9%, HellaSwag: 85.9%, DROP: 78.4%, HumanEval: 75.9%. GPT-5.2 Codex scores LiveBench: 74.3%, Terminal-Bench 2.0: 64.0%, SWE-Bench Pro: 56.4%.

Is Claude 3 Haiku cheaper than GPT-5.2 Codex?

Claude 3 Haiku is 7.0x cheaper for input tokens. Claude 3 Haiku costs $0.25/M input and $1.25/M output via anthropic. GPT-5.2 Codex costs $1.75/M input and $14.00/M output via openai.

What are the context window sizes for Claude 3 Haiku and GPT-5.2 Codex?

Claude 3 Haiku supports 200K tokens and GPT-5.2 Codex supports 400K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Claude 3 Haiku and GPT-5.2 Codex?

Key differences include LLM Stats Score (-1.5 vs 34.4), context window (200K vs 400K), input pricing ($0.25 vs $1.75/M). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude 3 Haiku and GPT-5.2 Codex?

Claude 3 Haiku is developed by Anthropic and GPT-5.2 Codex is developed by OpenAI.