API PRICES

OpenAI · gpt-5.1-codex

Provider prices, cheapest first

Browse all models

OpenAI · gpt-5.1-codex official price: not yet recorded. Cheapest inference provider: OpenRouter, input 1.25, output 10 USD per million tokens. Cheapest relay: llms.best, group "Codex" 1.03125 USD_CREDIT per million total tokens (credit price, not cash, observed 2026-10-16). 68 sites have comparable prices; 120 sites list this model.Relay blended price uses 75% input and 25% output.

Price ranges per million tokens

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

USD_CREDIT · Lowest 1.03125 · median 5.15625 · highest 35.13125 · 268 quotes USD / per million tokens, site credit

CNY_CREDIT · Lowest 3.09375 · median 7.62575 · highest 24.40625 · 24 quotes CNY / 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

ProviderInputOutputCache readCache writeUnitObservedConditions and source
OpenRouter · Aggregator1.25100.13—USD / 1M tokens
Official source

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

Searching…

Browse all providers

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

Price range: lowest 1.03125 · median 5.15625 · highest 35.13125 (268 quotes, USD credits per million total tokens)

sites have comparable prices68120 sites list this model; approximately 42 operators
Lowest input price0.375USD credits / 1M
Median of each provider’s lowest price1.25USD 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
01llms.bestAsk or discussCollected:
Collected this cycle
View 6 plans
Codex
Plus/Pro Mix
Operator pending verification
0.3753—1.03125Median price ÷ this price: 5×Full prices and sources
01llms.bestAsk or discussCollected:
Collected this cycle
View 6 plans
Codex
Name on site: gpt-5.1-codex-medium
Plus/Pro Mix
Operator pending verification
0.3753—1.03125Median price ÷ this price: 5×Full prices and sources
01llms.bestAsk or discussCollected:
Collected this cycle
View 6 plans
Codex
Name on site: gpt-5.1-codex-high
Plus/Pro Mix
Operator pending verification
0.3753—1.03125Median price ÷ this price: 5×Full prices and sources
04xrok.devAsk or discussCollected:
Collected this cycle
View 2 plans
GPT
GPT official account pool [machine translation]Original: GPT官号号池
Operator pending verification
0.6255—1.71875Median price ÷ this price: 3×Full prices and sources
05happyapi.orgAsk or discussCollected:
Collected this cycle
View 15 plans
1 more site of the same company

Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

gpt special price [machine translation]Group on site: gpt 特价
Name on site: gpt-5.1-codex-high
gpt model special-price group, works with codex, supports tool calling, works with cc [machine translation]Original: gpt 模型特价分组,支持codex使用,支持工具调用,支持cc使用
Operator pending verification
0.7560.0752.0625Median price ÷ this price: 2.5×Full prices and sources
05happyapi.orgAsk or discussCollected:
Collected this cycle
View 15 plans
1 more site of the same company

Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

gpt special price [machine translation]Group on site: gpt 特价
gpt model special-price group, works with codex, supports tool calling, works with cc [machine translation]Original: gpt 模型特价分组,支持codex使用,支持工具调用,支持cc使用
Operator pending verification
0.7560.0752.0625Median price ÷ this price: 2.5×Full prices and sources
05happyapi.orgAsk or discussCollected:
Collected this cycle
View 15 plans
1 more site of the same company

Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

gpt special price [machine translation]Group on site: gpt 特价
Name on site: gpt-5.1-codex-low
gpt model special-price group, works with codex, supports tool calling, works with cc [machine translation]Original: gpt 模型特价分组,支持codex使用,支持工具调用,支持cc使用
Operator pending verification
0.7560.0752.0625Median price ÷ this price: 2.5×Full prices and sources
05happyapi.orgAsk or discussCollected:
Collected this cycle
View 15 plans
1 more site of the same company

Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

gpt special price [machine translation]Group on site: gpt 特价
Name on site: gpt-5.1-codex-xhigh
gpt model special-price group, works with codex, supports tool calling, works with cc [machine translation]Original: gpt 模型特价分组,支持codex使用,支持工具调用,支持cc使用
Operator pending verification
0.7560.0752.0625Median price ÷ this price: 2.5×Full prices and sources
05happyapi.orgAsk or discussCollected:
Collected this cycle
View 15 plans
1 more site of the same company

Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

gpt special price [machine translation]Group on site: gpt 特价
Name on site: gpt-5.1-codex-medium
gpt model special-price group, works with codex, supports tool calling, works with cc [machine translation]Original: gpt 模型特价分组,支持codex使用,支持工具调用,支持cc使用
Operator pending verification
0.7560.0752.0625Median price ÷ this price: 2.5×Full prices and sources
05cn.happyapi.orgAsk or discussCollected:
Collected this cycle
View 15 plans
1 more site of the same company

Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

gpt special price [machine translation]Group on site: gpt 特价
Name on site: gpt-5.1-codex-low
gpt model special-price group, works with codex, supports tool calling, works with cc [machine translation]Original: gpt 模型特价分组,支持codex使用,支持工具调用,支持cc使用
Operator pending verification
0.7560.0752.0625Median price ÷ this price: 2.5×Full prices and sources
05cn.happyapi.orgAsk or discussCollected:
Collected this cycle
View 15 plans
1 more site of the same company

Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

gpt special price [machine translation]Group on site: gpt 特价
Name on site: gpt-5.1-codex-xhigh
gpt model special-price group, works with codex, supports tool calling, works with cc [machine translation]Original: gpt 模型特价分组,支持codex使用,支持工具调用,支持cc使用
Operator pending verification
0.7560.0752.0625Median price ÷ this price: 2.5×Full prices and sources
05cn.happyapi.orgAsk or discussCollected:
Collected this cycle
View 15 plans
1 more site of the same company

Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

gpt special price [machine translation]Group on site: gpt 特价
Name on site: gpt-5.1-codex-medium
gpt model special-price group, works with codex, supports tool calling, works with cc [machine translation]Original: gpt 模型特价分组,支持codex使用,支持工具调用,支持cc使用
Operator pending verification
0.7560.0752.0625Median price ÷ this price: 2.5×Full prices and sources
05cn.happyapi.orgAsk or discussCollected:
Collected this cycle
View 15 plans
1 more site of the same company

Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

gpt special price [machine translation]Group on site: gpt 特价
gpt model special-price group, works with codex, supports tool calling, works with cc [machine translation]Original: gpt 模型特价分组,支持codex使用,支持工具调用,支持cc使用
Operator pending verification
0.7560.0752.0625Median price ÷ this price: 2.5×Full prices and sources
05cn.happyapi.orgAsk or discussCollected:
Collected this cycle
View 15 plans
1 more site of the same company

Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

gpt special price [machine translation]Group on site: gpt 特价
Name on site: gpt-5.1-codex-high
gpt model special-price group, works with codex, supports tool calling, works with cc [machine translation]Original: gpt 模型特价分组,支持codex使用,支持工具调用,支持cc使用
Operator pending verification
0.7560.0752.0625Median price ÷ this price: 2.5×Full prices and sources
15gptapi.asiaAsk or discussCollected:
Collected this cycle
View 2 plans
2 more sites of the same company

Basis: identical homepage assets, identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

default
Default channel [machine translation]Original: 默认通道
Operator pending verification
1.0088.064—2.772Median price ÷ this price: 1.860119047619047619047619047619047619×Full prices and sources
15cn.gptapi.asiaAsk or discussCollected:
Collected this cycle
View 2 plans
2 more sites of the same company

Basis: identical homepage assets, identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

default
Default channel [machine translation]Original: 默认通道
Operator pending verification
1.0088.064—2.772Median price ÷ this price: 1.860119047619047619047619047619047619×Full prices and sources
15yutoapi.comAsk or discussCollected:
Collected this cycle
View 2 plans
2 more sites of the same company

Basis: identical homepage assets, identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

default
Default channel [machine translation]Original: 默认通道
Operator pending verification
1.0088.064—2.772Median price ÷ this price: 1.860119047619047619047619047619047619×Full prices and sources
18bita-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
1.12590.11253.09375Median price ÷ this price: 1.666666666666666666666666666666666667×Full prices and sources
18cnapi.kksj.orgAsk or discussCollected:
Collected this cycle
View 4 plans
default
Default group, AZ channel plus official reverse-engineered channel for some models, AZ first, reverse-engineered as fallback, auto-tuning (default) [machine translation]Original: 默认分组,AZ渠道加部分模型官方逆向渠道,优先AZ,保底逆向,自动调优(default)
Operator pending verification
1.1259—3.09375Median price ÷ this price: 1.666666666666666666666666666666666667×Full prices and sources
20123api.coAsk or discussCollected:
Collected this cycle
View 1 plans
default
Default group [machine translation]Original: 默认分组
Operator pending verification
1.2510—3.4375Median price ÷ this price: 1.5×Full prices and sources
2035.aigcbest.topAsk or discussCollected:
Collected this cycle
View 2 plans
default
⭐ Recommended | all-model automatic load optimization, highest availability [machine translation]Original: ⭐ 推荐 | 全模型自动负载优化最高可用性
Operator pending verification
1.25100.1253.4375Median price ÷ this price: 1.5×Full prices and sources
20ai.comfly.orgAsk or discussCollected:
Collected this cycle
View 18 plans
1 more site of the same company

Basis: identical quotes. Counted as one company in the ranking; this is not a legal finding.

default
Default group [machine translation]Original: 默认分组
Operator pending verification
1.25100.1253.4375Median price ÷ this price: 1.5×Full prices and sources
20ai.comfly.orgAsk or discussCollected:
Collected this cycle
View 18 plans
1 more site of the same company

Basis: identical quotes. Counted as one company in the ranking; this is not a legal finding.

svip
Pure Azure [machine translation]Original: 纯Azure
Operator pending verification
1.25100.1253.4375Median price ÷ this price: 1.5×Full prices and sources
20aigcbest.topAsk or discussCollected:
Collected this cycle
View 2 plans
2 more sites of the same company

Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding.

default
⭐ Recommended | all-model automatic load optimization [machine translation]Original: ⭐ 推荐 | 全模型自动负载优化
Operator pending verification
1.25100.1253.4375Median price ÷ this price: 1.5×Full prices and sources
20api.ai-gaochao.cnAsk or discussCollected:
Collected this cycle
View 17 plans
Evan
Evan
Operator pending verification
1.25100.1253.4375Median price ÷ this price: 1.5×Full prices and sources
Special groups · 1 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.

  • test or debug group: 1 rows
View all 1 rows →
How this ranking works

All per-token prices: 97,455 prices from 871 sites (about 765 companies). 89,631 are ranked, from 861 sites (about 755 companies); 7,824 more are listed separately and not ranked. Prices collected up to 2026-10-17.

This model has 612 recorded prices; 321 can be compared directly (320 ranked, 1 listed separately). Not comparable yet: price not parsed yet 150, scope of the official doc price not confirmed 72, ratio looks unset 45, display unit not confirmed 6, tiered by rules (see Tiered prices) 2, new price under review; showing the previous one 1

268 recent · 26 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 →

Switch model

Sources not accepted this cycle and reasons

FAQ

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

llms.best, group "Codex", 1.031 USD credit per million total tokens, observed 2026-10-16. 68 sites have comparable prices.

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

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