GPT-5.2-Codex is an enhanced version of GPT-5.1-Codex, optimized for software engineering and coding tasks in interactive sessions and longer independent runs. It builds projects, develops features, debugs, refactors at large scale, and reviews code. Compared to its predecessor, it follows developer instructions more closely and writes cleaner code. It works with the CLI, IDEs, GitHub, and cloud platforms, and adjusts its reasoning effort to the task: quick responses for simple work and sustained effort on larger projects. It supports structured code reviews, detects critical flaws, validates behavior against tests, and accepts images for UI work. It is tailored for agentic coding.
Struck through is the lowest price elsewhere on the market.
$0.875
market price $1.75 market
$0.0875
market price $0.175 market
$7.00
market price $14.00 market
How fast the model answers over every route we serve it from: throughput is tokens written per second, time to first token is how soon the answer starts, end-to-end latency is the whole request.
Share of requests served without a server error. Client errors (4xx) do not count.
Works with the OpenAI SDK pointed at our base URL. Every parameter is in the API reference.
Tokens processed per day on NagaAI.
GPT-5.2-Codex is an enhanced version of GPT-5.1-Codex, optimized for software engineering and coding tasks in interactive sessions and longer independent runs. It builds projects, develops features, debugs, refactors at large scale, and reviews code.
On NagaAI, GPT 5.2 Codex costs $0.875 per 1M input tokens and $7 per 1M output tokens. You pay only for what you use, with no subscription.
GPT 5.2 Codex reads up to 400k tokens in one request, counting the prompt and the answer together.
Yes. GPT 5.2 Codex can call your functions as tools and can answer in a JSON schema you give it.
It takes text and images as input and returns text.
Create an API key, copy the model ID from the top of this page and send requests with the OpenAI or Anthropic SDK pointed at NagaAI. The API section on this page has a ready example.