InferIndex

ModelsOpenAIGPT-5.1-Codex

GPT-5.1-Codex

openai/gpt-5.1-codex400k context Compare →

Cheapest: NanoGPT and 3 others tied — $1.25 Input / $10.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.
$3.44
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.
$3.44
Offers
12
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

$3.44blended / 1M

No change7D
Input
$1.25
Output
$10.00
Cached
$0.13
Use via InferIndex$3.44 The router sends each request to the cheapest verified offer among the provider keys you connect.

Public leaderboards

  • Code Arena (WebDev)The Code Arena ranking (WebDev). The source publishes no style-corrected series (as read on 9 October 2026). #128 of 162Best rank in the source's rank spread, 128th to 140th, given the confidence intervals of all ranked models. 136th by score. 1,338 1,327 to 1,350Arena Score · 4,964 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)

  • $3.44 · Azure via Eden AI · cannot be designated the cheapest
  • $3.44 · Azure via Kilo Gateway · cannot be designated the cheapest
  • $3.44 · Azure via LLM API · cannot be designated the cheapest
  • $3.44 · Glama via Glama · cannot be designated the cheapest
  • $3.44 · OpenAI via LLM Gateway · cannot be designated the cheapest
  • $3.44 · Azure via OpenRouter · another route of the same provider
  • $3.44 · Nous Portal via Nous Portal · stale offer
  • $3.62 · 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.

Cheapest offer and official list price, by day, 30 days
DayCheapest offerOfficial list price
2026-10-30$3.44, Azure–No data
2026-11-02$3.44, Azure–No data
2026-11-03$3.44, Azure–No data
2026-11-04$3.44, Azure–No data
2026-11-06$3.44, Azure–No data
2026-11-07$3.44, Azure–No data
2026-11-08$3.44, Azure–No data
2026-11-10$3.44, Azure–No data
2026-11-12$3.44, Azure–No data
2026-11-13$3.44, Azure–No data
2026-11-14$3.44, NanoGPT–No data
2026-11-15$3.44, NanoGPT–No data
2026-11-16$3.44, NanoGPT–No data
2026-11-17$3.44, NanoGPT–No data
2026-11-18$3.44, NanoGPT–No data
2026-11-19$3.44, NanoGPT–No data
2026-11-20$3.44, NanoGPT–No data
2026-11-21$3.44, NanoGPT–No data
2026-11-22$3.44, NanoGPT–No data
2026-11-23$3.44, NanoGPT–No data
2026-11-24$3.44, NanoGPT–No data
2026-11-25$3.44, NanoGPT–No data
2026-11-26$3.44, NanoGPT–No data
2026-11-27$3.44, NanoGPT–No data
2026-11-28$3.44, NanoGPT–No data

Cheapest offer

Offers

12 of 12 offers

The router picks from these offers, cheapest first, among the keys you connect.
Offers for GPT-5.1-Codex, one row per offer, sorted by blended price.
RankProvider · 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 $/MOutput $/MBlended $/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.SignalsOffer
1 Azurevia Eden AI 1.25 10.00 3.44 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 Azurevia Kilo Gateway 1.25 10.00 3.44 400k Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
3 Azurevia LLM API 1.25 10.00 3.44 –Unpublished Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
4 Glama 1.25 10.00 3.44 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 NanoGPT 1.25 10.00 Use 3.44 · Cheapest right now 400k
6 Vercel AI Gateway 1.25 10.00 3.44 –Unpublished
7 ZenMux 1.25 10.00 3.44 400k
8 OpenAIvia LLM Gateway 1.25 10.00 3.44 –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 Azurevia LLM Gateway 1.25 10.00 3.44 –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 Azurevia OpenRouter 1.25 10.00 3.44 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.
11 ShengSuanYun 1.31 10.52 3.62 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
12 Nous Portal 1.25 10.00 3.44 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.

Blended = (3 × input + output) / 4, per million tokens. Prices in USD, converted at the ECB rate when the provider bills in another currency.

Method

Monthly cost for your workload

Computed by the API for the three cheapest offers, per 30-day month.
  1. NanoGPT$225.00per month
  2. Vercel AI Gateway$225.00per month+$0.00 vs the cheapest
  3. ZenMux$225.00per month+$0.00 vs the cheapest

Compare GPT-5.1-Codex with

Related models

More from OpenAI

All OpenAI models

Same index family

Use this data

The index is queryable. The API is free to use.
Free API
curl https://api.inferindex.dev/cheapest?model=openai/gpt-5.1-codex
MCP server
claude mcp add --transport http inferindex https://mcp.inferindex.dev/mcp

Also works in Cursor and Codex: see the MCP page.

Base URLhttps://api.inferindex.dev/router/v1
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.1-codex",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
Base URL
https://api.inferindex.dev/router/v1
Model
openai/gpt-5.1-codex
Routes to
NanoGPT · $3.44
Format
OpenAI · Anthropic