Model Comparison

Claude 3.5 Haiku vs GPT-5 Codex

GPT-5 Codex significantly outperforms across most benchmarks.

Performance Benchmarks

Comparative analysis across standard metrics

1 benchmarks

Claude 3.5 Haiku outperforms in 0 benchmarks, while GPT-5 Codex is better at 1 benchmark (SWE-Bench Verified).

GPT-5 Codex significantly outperforms across most benchmarks.

Tue Apr 21 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Cost data unavailable.

Lowest available price from all providers
Tue Apr 21 2026 • llm-stats.com
Anthropic
Claude 3.5 Haiku
Input tokens$0.80
Output tokens$4.00
Best providerAWS Bedrock
OpenAI
GPT-5 Codex
Input tokens$0.00
Output tokens$0.00
Best providerUnknown Organization
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Only Claude 3.5 Haiku specifies input context (200,000 tokens). Only Claude 3.5 Haiku specifies output context (200,000 tokens).

Anthropic
Claude 3.5 Haiku
Input200,000 tokens
Output200,000 tokens
OpenAI
GPT-5 Codex
Input- tokens
Output- tokens
Tue Apr 21 2026 • llm-stats.com

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Claude 3.5 Haiku

Proprietary

Closed source

GPT-5 Codex

Proprietary

Closed source

Release Timeline

When each model was launched

Claude 3.5 Haiku was released on 2024-10-22, while GPT-5 Codex was released on 2025-09-15.

GPT-5 Codex is 11 months newer than Claude 3.5 Haiku.

Claude 3.5 Haiku

Oct 22, 2024

1.5 years ago

GPT-5 Codex

Sep 15, 2025

7 months ago

10mo newer

Knowledge Cutoff

When training data ends

GPT-5 Codex has a documented knowledge cutoff of 2024-09-30, while Claude 3.5 Haiku's cutoff date is not specified.

We can confirm GPT-5 Codex's training data extends to 2024-09-30, but cannot make a direct comparison without Claude 3.5 Haiku's cutoff date.

Claude 3.5 Haiku

GPT-5 Codex

Sep 2024

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (200,000 tokens)
Higher SWE-Bench Verified score (74.5% vs 40.6%)

Detailed Comparison

AI Model Comparison Table
Feature
Anthropic
Claude 3.5 Haiku
OpenAI
GPT-5 Codex

FAQ

Common questions about Claude 3.5 Haiku vs GPT-5 Codex

GPT-5 Codex significantly outperforms across most benchmarks. Claude 3.5 Haiku is made by Anthropic and GPT-5 Codex is made by OpenAI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.
Claude 3.5 Haiku scores HumanEval: 88.1%, MGSM: 85.6%, DROP: 83.1%, MATH: 69.4%, MMLU-Pro: 65.0%. GPT-5 Codex scores SWE-Bench Verified: 74.5%.
Claude 3.5 Haiku supports 200K tokens and GPT-5 Codex supports an unknown number of tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.
Claude 3.5 Haiku is developed by Anthropic and GPT-5 Codex is developed by OpenAI.