Switch model

API PRICES

OpenAI · gpt-5.1-codex-mini

Provider prices, cheapest first

Browse all models

All official and inference price observations

OpenAI · gpt-5.1-codex-mini official price: not yet recorded. Cheapest inference provider: OpenRouter, input 0.25, output 2 USD per million tokens. Cheapest relay: bita-api-production.up.railway.app, group "gpt-origin" 0.61875 USD_CREDIT per million total tokens (credit price, not cash, observed 2026-10-23). 59 sites have comparable prices; 112 sites list this model.Relay blended price uses 75% input and 25% output. Conditions: Additional web_search price 0.01 USD (per unit as declared by OpenRouter)

Price ranges per million tokens

Inference provider cash prices · Lowest 0.6875 · median 0.6875 · highest 0.6875 · 1 quotes USD / per million tokens

Relay USD credit prices · Lowest 0.61875 · median 0.61875 · highest 0.61875 · 1 quotes USD / per million tokens, site credit

Official prices are the vendor's cash prices. Inference providers also list cash prices and can be compared directly. Relays list prices in site credit; what you actually pay depends on each site's top-up rate, so they cannot be compared with official prices directly.

Inference providers

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and source
OpenRouter · AggregatorStandard0.2520.03—USD / 1M tokensAdditional web_search price 0.01 USD (per unit as declared by OpenRouter)
Full price conditions
{
  "sourceUnit": "USD_PER_TOKEN",
  "sourceAmounts": {
    "cacheRead": "0.00000003",
    "input": "0.00000025",
    "output": "0.000002"
  },
  "conditions": [],
  "contextTier": null,
  "processingMode": null,
  "conditionNotes": [
    "Additional web_search price 0.01 USD (per unit as declared by OpenRouter)"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source
Older official and inference provider prices

Earlier price observations and their original conditions

Inference providers

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and source
OpenRouter · AggregatorStandard0.2520.03—USD / 1M tokensAdditional web_search price 0.01 USD (per unit as declared by OpenRouter)
Full price conditions
{
  "sourceUnit": "USD_PER_TOKEN",
  "sourceAmounts": {
    "cacheRead": "0.00000003",
    "input": "0.00000025",
    "output": "0.000002"
  },
  "conditions": [],
  "contextTier": null,
  "processingMode": null,
  "conditionNotes": [
    "Additional web_search price 0.01 USD (per unit as declared by OpenRouter)"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source

Unit: USD credits per 1M tokens. These are site-credit prices; actual cost depends on each site’s top-up rate.

Filtering by provider: bita-api-production.up.railway.app

Searching…

Browse all providers
Clear filters

Blended price = input × 75% + output × 25%, without cache.

Price range: lowest 0.61875 · median 0.61875 · highest 0.61875 (1 quotes, USD credits per million total tokens)

sites have comparable prices59112 sites list this model; approximately 1 operators
Lowest input price0.225USD credits / 1M
Median of each provider’s lowest price0.225USD credits / 1M

Relays

Prices below are in site credit, not cash.

#ProviderPlan / conditionsInput ↑USD credits / 1MOutput USD credits / 1MCache readUSD credits / 1MBlendedUSD credits / 1MDetails
Recent price
01bita-api-production.up.railway.appAsk or discussCollected:
Collected this cycle
View 1 plans
gpt-origin
gpt full suite [machine translation]Original: gpt全家桶
Operator pending verification
0.2251.80.02250.61875Median price ÷ this price: 1×Full prices and sources
Special groups · 3 rows · not ranked

These plans are marked as test, internal, disabled, gated by top-up or membership, or have a near-zero ratio. They may not be purchasable or stable, so they are listed separately and left out of the ranking and statistics.

  • near-zero-ratio group: 2 rows
  • test or debug group: 1 rows
  • api.pezayo.com · codex anthropic · gpt-5.1-codex-mini · Input 0.001 / Output 0.008 USD credits / 1M
  • api.pezayo.com · codex · gpt-5.1-codex-mini · Input 0.01 / Output 0.08 USD credits / 1M
  • test-api.apiqik.online · openai · gpt-5.1-codex-mini · Input 0.075 / Output 0.6 USD credits / 1M
View all 3 rows →
How this ranking works

All per-token prices: 93,968 prices from 854 sites (about 751 companies). 84,786 are ranked, from 838 sites (about 736 companies); 9,182 more are listed separately and not ranked. Prices collected up to 2026-10-24.

This model has 323 recorded prices; 154 can be compared directly (151 ranked, 3 listed separately). Not comparable yet: price not parsed yet 95, scope of the official doc price not confirmed 24, ratio looks unset 17, new price under review; showing the previous one 15, display unit not confirmed 4, tiered by rules (see Tiered prices) 4, billed per request or another unit 3

1 recent · 0 stale (older than 10 days, or not updated by this refresh) · 0 unverified timestamps. Minimum and median only count recent paid prices; older prices stay in the table. 0 zero-valued pairs are separately unverified, without proof of free eligibility. Timing does not verify payment, upstream identity or quality.

Prices are converted to site credits using each site’s published ratio. What you actually pay depends on its top-up rate. Input, output and cache prices in each row come from the same plan. Several sites run by the same company take one place in the ranking: its cheapest plan, with the other sites listed under it. We judge “same company” by identical prices, status pages or homepage code; this is not a legal finding. To see every site’s prices, choose “All plans” or filter by provider.

“Self-declared unofficial channel” means the plan name itself says “reverse-engineered” or similar. We have not verified their source or quality. Minimum and median only count regular plans.

Full methodology →

Sources not accepted this cycle and reasons

Manufacturer documentation and lifecycle

These manufacturer statements do not verify relay backends, availability, GPU ownership or cash eligibility. Aliases are never merged automatically.

gpt-5.1-codex-mini

Manufacturer-declared status
RETIRED
Deprecation date (separate from retirement)
2026-04-22
New-user access cutoff
Not specified
Model retirement date
2026-07-23
Recommended migration (not an alias)
gpt-5.6-terra
Documentation checked
2026-10-23T20:08:15.290815+00:00

原厂明确停止,或明确停服日期已过去;不表示本次付费接口实测失败。

Complete declarations and historical observations
{
  "author": "OpenAI",
  "availability": "RETIRED",
  "availabilityScope": "OpenAI official API",
  "backendTested": false,
  "deprecationAnnouncedOn": "2026-04-22",
  "documentationReadAt": "2026-10-23T20:08:15.290815+00:00",
  "documentedAliases": [],
  "endpointDisposition": "DOCUMENTED_SHUTDOWN",
  "evidenceKeys": [
    "openai-deprecations"
  ],
  "newUserAccessDateStatus": "NOT_ESTABLISHED_BY_REVIEWED_DOCUMENTATION",
  "newUserAccessStopsOn": null,
  "note": "",
  "officialId": "gpt-5.1-codex-mini",
  "qualificationEffect": "DOCUMENTATION_ONLY_NO_AUTOMATIC_PRICE_OR_RANKING_CHANGE",
  "recommendedReplacements": [
    "gpt-5.6-terra"
  ],
  "retirementDate": "2026-07-23",
  "sourceUrls": [
    "https://developers.openai.com/api/docs/deprecations"
  ],
  "verifiedOn": "2026-10-23"
}

Download complete public documentation archive, including unmatched items

FAQ

Which API is cheapest for OpenAI · gpt-5.1-codex-mini?

bita-api-production.up.railway.app, group "gpt-origin", 0.61875 USD credit per million total tokens, observed 2026-10-23. 59 sites have comparable prices.

How do I use OpenAI · gpt-5.1-codex-mini in Claude Code or Codex?

Install Grandet Skill, then say "Connect the cheapest OpenAI · gpt-5.1-codex-mini API to Claude Code for me". Install Skill →