OpenAI

GPT 5.1 Codex

Type
image generation
Context
400K tokens
Max output
128K
Released
12 November 2025
Knowledge cutoff
September 2024
API string
openai/gpt-5.1-codex

Prices by provider

Provider Input, $ per 1M Output, $ per 1M In our data since
OpenCode Zen $1.07 $8.5 31 Jul 2026
Poe $1.1 $9 31 Jul 2026
Jiekou.AI $1.125 $9 31 Jul 2026
vivgrid $1.25 $10 31 Jul 2026
AIHubMix $1.25 $10 31 Jul 2026
Abacus.AI $1.25 $10 31 Jul 2026
Azure Cognitive Services $1.25 $10 31 Jul 2026
Cloudflare AI Gateway $1.25 $10 31 Jul 2026
Helicone $1.25 $10 31 Jul 2026
Kilo Code $1.25 $10 31 Jul 2026
LLM Gateway $1.25 $10 31 Jul 2026
Microsoft Foundry azure/global/gpt-5.1-codex $1.25 $10 31 Jul 2026
NanoGPT $1.25 $10 31 Jul 2026
OpenAI $1.25 $10 31 Jul 2026
OpenRouter $1.25 $10 31 Jul 2026
OrcaRouter $1.25 $10 31 Jul 2026
Requesty $1.25 $10 31 Jul 2026
Vercel $1.25 $10 31 Jul 2026
ZenMux $1.25 $10 31 Jul 2026
Microsoft Foundry azure/eu/gpt-5.1-codex $1.38 $11 31 Jul 2026

Only the base tier and only per-token prices are shown. Batch, discounted and cached rates, as well as prices per image or per second of video, do not go into this table: they cannot stand in the same column as a price per million tokens.

A single provider appears several times if it sells this model under different identifiers and at different prices — for example, at different weight precision. The identifier is shown next to the name. Identical offers that arrived from two sources under different spellings are merged into one row.

The date in the last column is the day this price first entered our collection. The price may well be older: before that day we simply were not recording it. It has not changed since — otherwise a new row with a new date would stand in its place.

Measurement results

Task set Result Run conditions Measured by
Arena Score, web development 1,336.07 1,324–1,348