GPT-5.2-Codex
openai/gpt-5.2-codex400k context Compare →Cheapest: NanoGPT and 3 others tied — $1.75 Input / $14.00 Output per million — checked
- MedianThe median blended price among comparable offers: one price per provider (its cheapest route), standard tier, current prices only. Priority tiers and prices converted from points are not counted.
- $4.81
- Most expensiveThe highest blended price among comparable offers: one price per provider (its cheapest route), standard tier, current prices only. Priority tiers and prices converted from points are not counted.
- $4.81
- Offers
- 13
- Providers
- 8
- QualityQuality rank from public evaluations. 1 = best. Data credits
- Not ranked in this quality board
- CodeCoding quality rank from public evaluations. 1 = best. Data credits
- Not ranked in this quality board
Via InferIndex
Price checked on Nov 28, 2026, 10:26 PM UTC$4.81blended / 1M
No change7D- Input
- $1.75
- Output
- $14.00
- Cached
- $0.18
Public leaderboards
- Code Arena (WebDev)The Code Arena ranking (WebDev). The source publishes no style-corrected series (as read on 9 October 2026). #129 of 162Best rank in the source's rank spread, 129th to 139th, given the confidence intervals of all ranked models. 135th by score. 1,339 1,330 to 1,348Arena Score · 6,669 votes
Source: Arena (opens in a new tab) · Data under the CC BY 4.0 license (creativecommons.org/licenses/by/4.0) · CC BY 4.0 (opens in a new tab) · scores and ranks as published on 23 Nov 2026
Listed offers, by price
Comparable offersOther offersSolid steps are comparable offers; dashed steps are the other offers, which are not counted in cheapest, median or most expensive.Offers not counted in cheapest, median or most expensive (8)
- $4.81 · Azure via Eden AI · cannot be designated the cheapest
- $4.81 · Azure via Kilo Gateway · cannot be designated the cheapest
- $4.81 · Azure via LLM API · cannot be designated the cheapest
- $4.81 · Glama via Glama · cannot be designated the cheapest
- $4.81 · OpenAI via LLM Gateway · cannot be designated the cheapest
- $4.81 · Azure via OpenRouter · another route of the same provider
- $4.81 · Nous Portal via Nous Portal · stale offer
- $5.06 · ShengSuanYun via ShengSuanYun · cannot be designated the cheapest
Price historyThe cheapest offer each day, against the lab's official list price when it publishes one. Each day at 00:00 UTC, the offer the API would have selected as the cheapest, with the same exclusions as /cheapest. Blended price, promotions included.
| Day | Cheapest offer | Official list price |
|---|---|---|
| 2026-11-22 | $4.81, NanoGPT | –No data |
| 2026-11-23 | $4.81, NanoGPT | –No data |
| 2026-11-24 | $4.81, NanoGPT | –No data |
| 2026-11-25 | $4.81, NanoGPT | –No data |
| 2026-11-26 | $4.81, NanoGPT | –No data |
| 2026-11-27 | $4.81, NanoGPT | –No data |
| 2026-11-28 | $4.81, NanoGPT | –No data |
| Day | Cheapest offer | Official list price |
|---|---|---|
| 2026-10-30 | $4.81, Azure | –No data |
| 2026-10-31 | $4.81, Azure | –No data |
| 2026-11-03 | $4.81, Azure | –No data |
| 2026-11-04 | $4.81, Azure | –No data |
| 2026-11-05 | $4.81, Azure | –No data |
| 2026-11-06 | $4.81, Azure | –No data |
| 2026-11-08 | $4.81, Azure | –No data |
| 2026-11-13 | $4.81, Azure | –No data |
| 2026-11-14 | $4.81, NanoGPT | –No data |
| 2026-11-15 | $4.81, NanoGPT | –No data |
| 2026-11-16 | $4.81, NanoGPT | –No data |
| 2026-11-17 | $4.81, NanoGPT | –No data |
| 2026-11-18 | $4.81, NanoGPT | –No data |
| 2026-11-19 | $4.81, NanoGPT | –No data |
| 2026-11-20 | $4.81, NanoGPT | –No data |
| 2026-11-21 | $4.81, NanoGPT | –No data |
| 2026-11-22 | $4.81, NanoGPT | –No data |
| 2026-11-23 | $4.81, NanoGPT | –No data |
| 2026-11-24 | $4.81, NanoGPT | –No data |
| 2026-11-25 | $4.81, NanoGPT | –No data |
| 2026-11-26 | $4.81, NanoGPT | –No data |
| 2026-11-27 | $4.81, NanoGPT | –No data |
| 2026-11-28 | $4.81, NanoGPT | –No data |
| Day | Cheapest offer | Official list price |
|---|---|---|
| 2026-10-20 | $4.81, Azure | –No data |
| 2026-10-21 | $4.81, Azure | –No data |
| 2026-10-22 | $4.81, Azure | –No data |
| 2026-10-23 | $4.81, Azure | –No data |
| 2026-10-24 | $4.81, Azure | –No data |
| 2026-10-25 | $4.81, Azure | –No data |
| 2026-10-26 | $4.81, NanoGPT | –No data |
| 2026-10-28 | $4.81, Azure | –No data |
| 2026-10-30 | $4.81, Azure | –No data |
| 2026-10-31 | $4.81, Azure | –No data |
| 2026-11-03 | $4.81, Azure | –No data |
| 2026-11-04 | $4.81, Azure | –No data |
| 2026-11-05 | $4.81, Azure | –No data |
| 2026-11-06 | $4.81, Azure | –No data |
| 2026-11-08 | $4.81, Azure | –No data |
| 2026-11-13 | $4.81, Azure | –No data |
| 2026-11-14 | $4.81, NanoGPT | –No data |
| 2026-11-15 | $4.81, NanoGPT | –No data |
| 2026-11-16 | $4.81, NanoGPT | –No data |
| 2026-11-17 | $4.81, NanoGPT | –No data |
| 2026-11-18 | $4.81, NanoGPT | –No data |
| 2026-11-19 | $4.81, NanoGPT | –No data |
| 2026-11-20 | $4.81, NanoGPT | –No data |
| 2026-11-21 | $4.81, NanoGPT | –No data |
| 2026-11-22 | $4.81, NanoGPT | –No data |
| 2026-11-23 | $4.81, NanoGPT | –No data |
| 2026-11-24 | $4.81, NanoGPT | –No data |
| 2026-11-25 | $4.81, NanoGPT | –No data |
| 2026-11-26 | $4.81, NanoGPT | –No data |
| 2026-11-27 | $4.81, NanoGPT | –No data |
| 2026-11-28 | $4.81, NanoGPT | –No data |
Cheapest offer
| Rank | Provider · viaYou buy access through an aggregator: one account and one API that forward your requests to other providers. "Via" names the aggregator; the price is the one it charges you. When "via" says "hosted API", no aggregator is involved: the model belongs to a lab and another provider sells it. | Input $/M | Output $/M | Blended $/MA single price that mixes input and output: 3 input tokens for 1 output token, per million tokens. It makes offers easy to rank; your real cost depends on your own mix. | ContextThe maximum amount of text, counted in tokens, the model can take in and write in a single request. Past this limit, the request is refused or cut. | ConditionsWhat a provider says about how it handles your data and who can sign up: training on prompts, processing region, sign-up requirements. Each comes from the provider's published documents; when nothing is published, it stays unknown. | Signals | Offer |
|---|---|---|---|---|---|---|---|---|
| 1 | 1.75 | 14.00 | 4.81 | 272k | Unverified. No public page for this offer: listed, not designated cheapest | : Eden AI (opens in a new tab) No public price page for this model |
||
| 2 | 1.75 | 14.00 | 4.81 | 400k | Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest | |||
| 3 | 1.75 | 14.00 | 4.81 | –Unpublished | Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest | |||
| 4 | 1.75 | 14.00 | 4.81 | 400k | Unverified. No public page for this offer: listed, not designated cheapest | : Glama (opens in a new tab) No public price page for this model |
||
| 5 | 1.75 | 14.00 | Use 4.81 · Cheapest right now | 400k | ||||
| 6 | 1.75 | 14.00 | 4.81 | –Unpublished | ||||
| 7 | 1.75 | 14.00 | 4.81 | 400k | ||||
| 8 | 1.75 | 14.00 | 4.81 | –Unpublished | Fee 5%: LLM Gateway adds a 5% fee on credit usage, plus 1.5% for cards issued outside the US (read on llmgateway.io/pricing on Nov 28). Offers are ranked with the 5% included. | |||
| 9 | 1.75 | 14.00 | 4.81 | –Unpublished | Fee 5%: LLM Gateway adds a 5% fee on credit usage, plus 1.5% for cards issued outside the US (read on llmgateway.io/pricing on Nov 28). Offers are ranked with the 5% included. | |||
| 10 | 1.75 | 14.00 | 4.81 | 400k | United States | Fee 5%: Requesty adds a 5% markup (read on requesty.ai/pricing on Nov 28). Offers are ranked with this fee included. | ||
| 11 | 1.75 | 14.00 | 4.81 | 400k | Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Nov 28). Offers are ranked with this fee included. | |||
| 12 | 1.84 | 14.73 | 5.06 | 400k | Unverified. No public page for this offer: listed, not designated cheapest | : ShengSuanYun (opens in a new tab) No public price page for this model |
||
| 13 | 1.75 | 14.00 | 4.81 | 400k | Unverified. Neither seller nor price found on its page for 72 hours: listed, not designated cheapeststale: This offer has not been rechecked recently.+1 |
No training on promptsPrompts may be used for trainingTraining terms not published
backend not named. The router bills this price itself without naming who serves the model.
No offer matches these filters.
Blended = (3 × input + output) / 4, per million tokens. Prices in USD, converted at the ECB rate when the provider bills in another currency.
Monthly cost for your workload
Computed by the API for the three cheapest offers, per 30-day month.- NanoGPT$315.00per month
- Vercel AI Gateway$315.00per month+$0.00 vs the cheapest
- ZenMux$315.00per month+$0.00 vs the cheapest
The estimate could not be updated. Try again in a moment.
Compare GPT-5.2-Codex with
Related models
More from OpenAI
Same index family
Use this data
The index is queryable. The API is free to use.curl https://api.inferindex.dev/cheapest?model=openai/gpt-5.2-codex claude mcp add --transport http inferindex https://mcp.inferindex.dev/mcp
https://api.inferindex.dev/router/v1curl https://api.inferindex.dev/router/v1/chat/completions \
-H "Authorization: Bearer YOUR_INFERINDEX_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.2-codex",
"messages": [{"role": "user", "content": "Hello"}]
}'from openai import OpenAI
client = OpenAI(
base_url="https://api.inferindex.dev/router/v1",
api_key="YOUR_INFERINDEX_KEY",
)
reply = client.chat.completions.create(
model="openai/gpt-5.2-codex",
messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.inferindex.dev/router/v1",
apiKey: "YOUR_INFERINDEX_KEY",
});
const reply = await client.chat.completions.create({
model: "openai/gpt-5.2-codex",
messages: [{ role: "user", content: "Hello" }],
});
console.log(reply.choices[0].message.content);export ANTHROPIC_BASE_URL="https://api.inferindex.dev/router"
export ANTHROPIC_AUTH_TOKEN="YOUR_INFERINDEX_KEY"
claude --model openai/gpt-5.2-codex
- Base URL
https://api.inferindex.dev/router/v1- Model
openai/gpt-5.2-codex- Routes to
NanoGPT · $4.81- Format
- OpenAI · Anthropic