GPT-5.2 vs GPT-5.1 Codex Comparison

Comparing GPT-5.2 and GPT-5.1 Codex across benchmarks, pricing, and capabilities.

Performance Benchmarks

Comparative analysis across standard metrics

1 benchmarks

GPT-5.2 outperforms in 1 benchmarks (SWE-Bench Verified), while GPT-5.1 Codex is better at 0 benchmarks.

GPT-5.2 significantly outperforms across most benchmarks.

Tue Mar 17 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

GPT-5.1 Codex costs less

For input processing, GPT-5.2 ($1.75/1M tokens) is 1.4x more expensive than GPT-5.1 Codex ($1.25/1M tokens).

For output processing, GPT-5.2 ($14.00/1M tokens) is 1.4x more expensive than GPT-5.1 Codex ($10.00/1M tokens).

In conclusion, GPT-5.2 is more expensive than GPT-5.1 Codex.*

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

Lowest available price from all providers
Tue Mar 17 2026 • llm-stats.com
OpenAI
GPT-5.2
Input tokens$1.75
Output tokens$14.00
Best providerOpenAI
OpenAI
GPT-5.1 Codex
Input tokens$1.25
Output tokens$10.00
Best providerOpenAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Both models have the same input context window of 400,000 tokens. Both models can generate responses up to 128,000 tokens.

OpenAI
GPT-5.2
Input400,000 tokens
Output128,000 tokens
OpenAI
GPT-5.1 Codex
Input400,000 tokens
Output128,000 tokens
Tue Mar 17 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both GPT-5.2 and GPT-5.1 Codex support multimodal inputs.

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

GPT-5.2

Text
Images
Audio
Video

GPT-5.1 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.

GPT-5.2

Proprietary

Closed source

GPT-5.1 Codex

Proprietary

Closed source

Release Timeline

When each model was launched

GPT-5.2 was released on 2025-12-11, while GPT-5.1 Codex was released on 2025-11-19.

GPT-5.2 is 1 month newer than GPT-5.1 Codex.

GPT-5.2

Dec 11, 2025

3 months ago

3w newer
GPT-5.1 Codex

Nov 19, 2025

3 months ago

Knowledge Cutoff

When training data ends

GPT-5.2 has a knowledge cutoff of 2025-08-25, while GPT-5.1 Codex has a cutoff of 2024-09-30.

GPT-5.2 has more recent training data (up to 2025-08-25), making it potentially better informed about events through that date compared to GPT-5.1 Codex (2024-09-30).

GPT-5.2

Aug 2025

11 mo newer
GPT-5.1 Codex

Sep 2024

Provider Availability

GPT-5.2 is available from OpenAI. GPT-5.1 Codex is available from OpenAI. The availability of providers can affect quality of the model and reliability.

GPT-5.2

openai logo
OpenAI
Input Price:Input: $1.75/1MOutput Price:Output: $14.00/1M

GPT-5.1 Codex

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

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Higher SWE-Bench Verified score (80.0% vs 73.7%)
Less expensive input tokens
Less expensive output tokens

Detailed Comparison

AI Model Comparison Table
Feature
OpenAI
GPT-5.2
OpenAI
GPT-5.1 Codex