█

AI/TLDR

Buy me a coffee
Buy me a coffee

Model comparison

GPT-5.2-Codex vs GPT-5.1-Codex

Short answer

GPT-5.1-Codex is cheaper on input tokens ($1.3 vs $1.8 per 1M, 1.4×).

Specs and pricing side by side

SpecGPT-5.2-CodexGPT-5.1-Codex
MakerOpenAIOpenAIsame
Released2025-12-112025-11-19
Context window400K400Ksame
Max output128K128Ksame
Input price$1.75$1.25 / 1M tokens
Output price$14.00$10.00 / 1M tokens
ParametersUndisclosednot published
LicenseProprietaryProprietary (OpenAI API)
WeightsAPI onlyAPI onlysame
ModalitiesText, VisionText, Visionsame
Knowledge cutoffAug 2025September 30, 2024

Benchmarks both models report

These two models have no benchmark in common in our registry, so there is no like-for-like score to compare. See each model’s own results: GPT-5.2-Codex, GPT-5.1-Codex.

Which one should you pick?

Pick GPT-5.2-Codex if…

  • Your use case is: reach for it for long, independent execution of complex engineering tasks inside Codex (the CLI, IDE, or cloud).

Pick GPT-5.1-Codex if…

  • Cost matters: input tokens cost 1.4× less ($1.3 vs $1.8 per 1M).
  • Your use case is: autonomous, multi-step coding tasks such as opening and iterating on pull requests.

FAQ

Which is better, GPT-5.2-Codex or GPT-5.1-Codex?

GPT-5.1-Codex is cheaper on input tokens ($1.3 vs $1.8 per 1M, 1.4×). The better pick depends on whether you value benchmark scores, price per token, context length or openness for your workload.

How much cheaper is GPT-5.1-Codex?

GPT-5.2-Codex: $1.75 input, $14.00 output. GPT-5.1-Codex: $1.25 / 1M tokens input, $10.00 / 1M tokens output (list API prices as published by each maker).

What are the context windows of GPT-5.2-Codex and GPT-5.1-Codex?

GPT-5.2-Codex offers 400K with up to 128K output; GPT-5.1-Codex offers 400K with up to 128K output.

Is GPT-5.2-Codex newer than GPT-5.1-Codex?

GPT-5.2-Codex was released 2025-12-11; GPT-5.1-Codex was released 2025-11-19.

Go deeper