API PRICES

OpenAI · gpt-5.1-codex-mini

Provider prices, cheapest first

Browse all models

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: llms.best, group "Codex" 0.20625 USD_CREDIT per million total tokens (credit price, not cash, observed 2026-10-16). 64 sites have comparable prices; 113 sites list this model.Relay blended price uses 75% input and 25% output.

Price ranges per million tokens

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

USD_CREDIT · Lowest 0.20625 · median 1.58125 · highest 22.5 · 118 quotes USD / per million tokens, site credit

CNY_CREDIT · Lowest 0.3575 · median 3.2725 · highest 24.40625 · 15 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 · Aggregator0.2520.03—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 0.20625 · median 1.58125 · highest 22.5 (118 quotes, USD credits per million total tokens)

sites have comparable prices64113 sites list this model; approximately 37 operators
Lowest input price0.075USD credits / 1M
Median of each provider’s lowest price0.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
07new.yihubang.topAsk or discussCollected:
Collected this cycle
View 3 plans
gpt plus
gpt plus
Operator pending verification
0.2520.0250.6875Median price ÷ this price: 2.3×Full prices and sources
07new.yihubang.topAsk or discussCollected:
Collected this cycle
View 3 plans
gpt pro
gpt pro
Operator pending verification
0.2520.0250.6875Median price ÷ this price: 2.3×Full prices and sources
07novaapi.aiAsk or discussCollected:
Collected this cycle
View 2 plans
default
Default group [machine translation]Original: 默认分组
Operator pending verification
0.252—0.6875Median price ÷ this price: 2.3×Full prices and sources
07novaapi.aiAsk or discussCollected:
Collected this cycle
View 2 plans
vip
vip group [machine translation]Original: vip分组
Operator pending verification
0.252—0.6875Median price ÷ this price: 2.3×Full prices and sources
07tenzen.aiAsk or discussCollected:
Collected this cycle
View 1 plans
1 more site 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.

ze
ze-claude
Operator pending verification
0.252—0.6875Median price ÷ this price: 2.3×Full prices and sources
07zen-ai.topAsk or discussCollected:
Collected this cycle
View 3 plans
default
✨az official relay + others, 1 yuan per dao (US dollar) [machine translation]Original: ✨az官转+其他模型, 1元一刀
Operator pending verification
0.2520.0250.6875Median price ÷ this price: 2.3×Full prices and sources
07ai.t8star.orgAsk or discussCollected:
Collected this cycle
View 6 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
0.2520.0250.6875Median price ÷ this price: 2.3×Full prices and sources
07ai.t8star.orgAsk or discussCollected:
Collected this cycle
View 6 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
0.2520.0250.6875Median price ÷ this price: 2.3×Full prices and sources
07api.bltcy.topAsk or discussCollected:
Collected this cycle
View 6 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
Default group [machine translation]Original: 默认分组
Operator pending verification
0.2520.0250.6875Median price ÷ this price: 2.3×Full prices and sources
07api.bltcy.topAsk or discussCollected:
Collected this cycle
View 6 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.

svip
Pure Azure [machine translation]Original: 纯Azure
Operator pending verification
0.2520.0250.6875Median price ÷ this price: 2.3×Full prices and sources
07api.ifopen.aiAsk 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
0.2520.0250.6875Median price ÷ this price: 2.3×Full prices and sources
07api.tenzen.aiAsk or discussCollected:
Collected this cycle
View 1 plans
1 more site 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.

ze
ze-claude
Operator pending verification
0.252—0.6875Median price ÷ this price: 2.3×Full prices and sources
07api2.aigcbest.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
0.2520.0250.6875Median price ÷ this price: 2.3×Full prices and sources
07one-api.bltcy.topAsk or discussCollected:
Collected this cycle
View 6 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
Default group [machine translation]Original: 默认分组
Operator pending verification
0.2520.0250.6875Median price ÷ this price: 2.3×Full prices and sources
07one-api.bltcy.topAsk or discussCollected:
Collected this cycle
View 6 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.

svip
Pure Azure [machine translation]Original: 纯Azure
Operator pending verification
0.2520.0250.6875Median price ÷ this price: 2.3×Full prices and sources
41cnapi.kksj.orgAsk or discussCollected:
Collected this cycle
View 4 plans
azpro
More az concurrency group (azpro) [machine translation]Original: 更多的az并发分组(azpro)
Operator pending verification
0.32.4—0.825Median price ÷ this price: 1.916666666666666666666666666666666667×Full prices and sources
42cnapi.kksj.orgAsk or discussCollected:
Collected this cycle
View 4 plans
azplus
Pure az stable group, az only (azplus) [machine translation]Original: 纯az稳定分组,只有az(azplus)
Operator pending verification
0.352.8—0.9625Median price ÷ this price: 1.642857142857142857142857142857142857×Full prices and sources
43ai.comfly.orgAsk or discussCollected:
Collected this cycle
View 6 plans
1 more site of the same company

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

AZ-premium quality [machine translation]Group on site: AZ-优质
Pure Azure-premium quality, supports o1, o3 [machine translation]Original: 纯Azure-优质,支持o1、o3
Operator pending verification
0.37530.03751.03125Median price ÷ this price: 1.533333333333333333333333333333333333×Full prices and sources
43api.bltcy.aiAsk or discussCollected:
Collected this cycle
View 6 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.

AZ-premium quality [machine translation]Group on site: AZ-优质
Pure Azure-premium quality, supports o1, o3 [machine translation]Original: 纯Azure-优质,支持o1、o3
Operator pending verification
0.37530.03751.03125Median price ÷ this price: 1.533333333333333333333333333333333333×Full prices and sources
43poloai.topAsk or discussCollected:
Collected this cycle
View 7 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.

az
Microsoft Azure account pool resources [machine translation]Original: 微软Azure号池资源
Operator pending verification
0.37530.03751.03125Median price ÷ this price: 1.533333333333333333333333333333333333×Full prices and sources
43ai.t8star.orgAsk or discussCollected:
Collected this cycle
View 6 plans
1 more site of the same company

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

AZ-premium quality [machine translation]Group on site: AZ-优质
Pure Azure-premium quality, supports o1, o3 [machine translation]Original: 纯Azure-优质,支持o1、o3
Operator pending verification
0.37530.03751.03125Median price ÷ this price: 1.533333333333333333333333333333333333×Full prices and sources
43api.bltcy.topAsk or discussCollected:
Collected this cycle
View 6 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.

AZ-premium quality [machine translation]Group on site: AZ-优质
Pure Azure-premium quality, supports o1, o3 [machine translation]Original: 纯Azure-优质,支持o1、o3
Operator pending verification
0.37530.03751.03125Median price ÷ this price: 1.533333333333333333333333333333333333×Full prices and sources
43one-api.bltcy.topAsk or discussCollected:
Collected this cycle
View 6 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.

AZ-premium quality [machine translation]Group on site: AZ-优质
Pure Azure-premium quality, supports o1, o3 [machine translation]Original: 纯Azure-优质,支持o1、o3
Operator pending verification
0.37530.03751.03125Median price ÷ this price: 1.533333333333333333333333333333333333×Full prices and sources
43poloapi.topAsk or discussCollected:
Collected this cycle
View 7 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.

az
Microsoft Azure account pool resources [machine translation]Original: 微软Azure号池资源
Operator pending verification
0.37530.03751.03125Median price ÷ this price: 1.533333333333333333333333333333333333×Full prices and sources
43xy.poloapi.comAsk or discussCollected:
Collected this cycle
View 7 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.

az
Microsoft Azure account pool resources [machine translation]Original: 微软Azure号池资源
Operator pending verification
0.37530.03751.03125Median price ÷ this price: 1.533333333333333333333333333333333333×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.00075 / Output 0.006 USD credits / 1M
  • api.pezayo.com · codex · gpt-5.1-codex-mini · Input 0.0075 / Output 0.06 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: 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 314 recorded prices; 153 can be compared directly (150 ranked, 3 listed separately). Not comparable yet: price not parsed yet 109, scope of the official doc price not confirmed 24, ratio looks unset 13, display unit not confirmed 4, billed per request or another unit 3, tiered by rules (see Tiered prices) 2, new price under review; showing the previous one 1

121 recent · 14 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-mini?

llms.best, group "Codex", 0.2062 USD credit per million total tokens, observed 2026-10-16. 64 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 →