GPT-5.1 Codex vs Claude 3.5 Haiku

Detailed comparison of capabilities, features, and performance.

Feature
GPT-5.1 Codex
Claude 3.5 Haiku
Model Image
GPT-5.1 Codex
Claude 3.5 Haiku
AI Lab
OpenAI
Anthropic
Context Size
400,000 tokens
204,800 tokens
Max Output Size
128,000 tokens
4,096 tokens
Frontier Model
Yes
No
Vision Support
Yes
No
Description
A version of GPT-5.1 optimized for agentic coding tasks in Codex or similar environments.
The latest Haiku 3.5 model from Anthropic

Try both models in your workspace

Access both GPT-5.1 Codex and Claude 3.5 Haiku in a single workspace without managing multiple API keys.

Create your workspace