identity

proprietary
OpenAI logo

gpt-5.2-codexOpenAI

from /1M in$1.75microsoft azure ai
context400K128K out
providers11 region
endpoints11 region
endpoints
1
regions
1
api
chat
released
January 2026

capabilities 6/8

visionreasoningtoolscachingweb searchjson schemacomputer useimage gen

endpoints

1 / 1 region
Providers serving gpt-5.2-codex, with pricing and measured performance. Best value in each column is coloured.
#flags
1Microsoft Azure AIeastus2400K$1.75$14.00$0.17zdr
provider price, no markupper 1M tokensblank where no qualifying sample

measured

through Sep 12

no measured traffic for this model yet. the endpoints table above carries provider pricing

benchmarks

artificial analysis
Benchmark scores, each normalised to 100
evalScore as a share of 100/100
τ²-Bench92.1
GPQA Diamond89.9
Terminal-Bench Hard37.1
Humanity's Last Exam35.7
Intelligence Index28.5
5 evalsmean56.7

Scores from Artificial Analysis and public leaderboards, normalised to 100. Bar colour is the band, not the rank: green 80 and up, blue 55 and up, amber 30 and up. Benchmarks measure narrow skills, so test on your own workload before committing. Released 2025-12-11.

call it

model=
azure/gpt-5.2-codex@eastus2

this model has no managed policy yet, so call the provider endpoint directly. every id in the endpoints table works the same way

Base url is https://router.requesty.ai/v1 for every id here. One key reaches the whole catalog.

quickstart

openai compatible
main.py
from openai import OpenAI client = OpenAI(    api_key="YOUR_REQUESTY_API_KEY",    base_url="https://router.requesty.ai/v1",) response = client.chat.completions.create(    model="azure/gpt-5.2-codex@eastus2",    messages=[        {"role": "user", "content": "Explain quantum computing in one paragraph."},    ],) print(response.choices[0].message.content)

Change the base url, use your Requesty key, set the model to any id in the call pane. Existing OpenAI SDK code needs no other edit, and the same key reaches every other model in the catalog, so switching later is a one-parameter change. Browse all models

notes

reference

OpenAI's most intelligent coding model optimized for long-horizon, agentic coding tasks.

questions 5

Which providers serve gpt-5.2-codex?
gpt-5.2-codex is available from 1 provider through Requesty: Microsoft Azure AI. All endpoints share one OpenAI-compatible API and one key, and Requesty fails over between them automatically.
How much does gpt-5.2-codex cost?
Pricing starts at $1.75 per million input tokens and $14.00 per million output tokens on the cheapest provider. Prices vary by provider and region; the table above shows every endpoint. Requesty charges exactly what the upstream provider charges, with no markup.
Is gpt-5.2-codex open weights?
No. gpt-5.2-codex is a proprietary model from OpenAI, served through OpenAI's own API and licensed cloud platforms.
What is the context window of gpt-5.2-codex?
gpt-5.2-codex supports up to 400K tokens of context, with up to 128K output tokens per response. Some providers expose a smaller window; check the per-endpoint context column above.
How do I use gpt-5.2-codex with the OpenAI SDK?
Install the OpenAI SDK, set base_url to "https://router.requesty.ai/v1", set your API key to your Requesty key, and set the model to "azure/gpt-5.2-codex@eastus2" or any endpoint id from the table above. The quickstart section shows Python, JavaScript and cURL snippets.

more from openai 6

Other OpenAI models
modelcontextfrom /Mproviders
gpt-6-astra1.1M$5.002
gpt-5.6-luna1.1M$0.103
gpt-5.6-terra1.1M$1.003
gpt-5.6-sol1.1M$2.503
gpt-5.5-pro1.1M$30.001
gpt-5.51.1M$2.503

route gpt-5.2-codex through one endpoint

One key for 1 provider on this model and 600+ others. No markup on provider prices, automatic failover, caching built in. Weekly aggregates in the measured pane come from production traffic routed through Requesty, one line per provider on a shared axis. Methodology

gpt-5.2-codex1 provider1 endpointsfrom $1.75 /1M inctx 400Kupdated Sep 12