API PRICES
OpenAI · gpt-5.1-codex-mini
Provider prices, cheapest first
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
Relay USD credit prices · Lowest 0.20625 · median 0.6875 · highest 22.5 · 34 quotes USD / per million tokens, site credit
Relay CNY credit prices · Lowest 0.3575 · median 2.9391 · highest 24.063 · 10 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
| Provider | Input | Output | Cache read | Cache write | Unit | Observed | Conditions and source |
|---|---|---|---|---|---|---|---|
| OpenRouter · Aggregator | 0.25 | 2 | 0.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 providersPrice range: lowest 0.20625 · median 0.6875 · highest 22.5 (34 quotes, USD credits per million total tokens)
Relays
Prices below are in site credit, not cash.
| # | Provider | Plan / conditions | Input ↑USD credits / 1M | Output USD credits / 1M | Cache readUSD credits / 1M | BlendedUSD credits / 1M | Details |
|---|---|---|---|---|---|---|---|
| Recent price | |||||||
| 26 | api.eido.topAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 1.25 | 10 | 0.125 | 3.4375Median price ÷ this price: 0.2× | Full prices and sources |
| 26 | codechn.comAsk or discussCollected: Collected this cycle View 2 plans | gpt/grok Supported models: gpt, grok [machine translation]Original: 支持模型:gpt、grok Operator pending verification | 1.25 | 10 | 0.125 | 3.4375Median price ÷ this price: 0.2× | Full prices and sources |
| 28 | api.vibelearning.topAsk or discussCollected: Collected this cycle View 1 plans | azure-gpt Independent official line, not a subscription-account reverse proxy, consistently stable, 2000 RPM, distillation allowed [machine translation]Original: 独立官方线路,非订阅账号反代,持续稳定,2000 RPM,可蒸馏 Operator pending verification | 1.375 | 11 | 0.1375 | 3.7813Median price ÷ this price: 0.2× | Full prices and sources |
| 29 | api.xistree.hkAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 1.5 | 12 | — | 4.125Median price ÷ this price: 0.2× | Full prices and sources |
| 30 | sg.uiuiapi.comAsk or discussCollected: Collected this cycle View 1 plans | AZ-T3-Openai AzureGPT models have higher stability [machine translation]Original: AzureGPT模型稳定性更高 Operator pending verification | 3.75 | 22.5 | — | 8.4375Median price ÷ this price: 0.1× | Full prices and sources |
| 31 | xinsuanai.comAsk or discussCollected: Collected this cycle View 4 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 4 | 32 | — | 11Median price ÷ this price: 0.1× | Full prices and sources |
| 32 | deepkey.topAsk or discussCollected: Collected this cycle View 1 plans | gpt-openai2 gpt-openai-official KEY-channel 2 [machine translation]Original: gpt-openai-官KEY-渠道2 Operator pending verification | 5 | 25 | — | 10Median price ÷ this price: 0.1× | Full prices and sources |
| 33 | api.xhuoai.comAsk or discussCollected: Collected this cycle View 1 plans | Enterprise channel [machine translation]Group on site: 企业渠道 OpenAI/Claude enterprise-grade channel, top choice for top speed and stability, ultra-high concurrency, features identical to official, 5.6/10 of list price, rate multiplier 4.0 [machine translation]Original: OpenAI/Claude企业级渠道,追求极速稳定首选,超高并发,功能与官方完全一致,5.6折,倍率4.0 Operator pending verification | 6 | 48 | — | 16.5Median price ÷ this price: 0× | Full prices and sources |
| 34 | api.aabao.topAsk or discussCollected: Collected this cycle View 1 plans 1 more site of the same companyBasis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding. | OpenAI direct connection [machine translation]Group on site: OpenAI直连 OpenAI direct connection (8.0x rate multiplier) [machine translation]Original: OpenAI直连(8.0倍率) Operator pending verification | 10 | 60 | — | 22.5Median price ÷ this price: 0× | Full prices and sources |
| Older price | |||||||
| 01 | api.openai-ch.topAsk or discussCollected: Carried previous price Not updated this time; showing the previous price View 5 plans | Azure-Ⅰ Azure 0.2x rate multiplier group [machine translation]Original: Azure 0.2倍率分组 Operator pending verification | 0.05 | 0.4 | 0.005 | 0.1375Median price ÷ this price: 5× | Full prices and sources |
| 02 | newapi.prorisehub.comAsk or discussCollected: Carried previous price Not updated this time; showing the previous price View 3 plans | default ⚠️ Default general group: can call every model on the site, don't use it if you don't understand!!! Billing is very expensive!!! [machine translation]Original: ⚠️ 默认通用分组:可调用全站所有模型,不懂别用!!!计费很贵!!! Operator pending verification | 0.225 | 1.8 | 0.0225 | 0.61875Median price ÷ this price: 1.1× | Full prices and sources |
| 03 | kg-api.cloudAsk or discussCollected: Carried previous price Not updated this time; showing the previous price View 6 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 0.25 | 2 | 0.025 | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| Flagged · not ranked · Recent price | |||||||
| — | xinsuanai.comAsk or discussCollected: Collected this cycle View 4 plans | vip vip group [machine translation]Original: vip分组 Note: far from other providers’ prices. This price is not ranked or counted. Operator pending verification | 12 | 96 | — | 33Median price ÷ this price: 0× | Full prices and sources |
| — | xinsuanai.comAsk or discussCollected: Collected this cycle View 4 plans | svip svip group [machine translation]Original: svip分组 Note: far from other providers’ prices. This price is not ranked or counted. Operator pending verification | 16 | 128 | — | 44Median price ÷ this price: 0× | Full prices and sources |
| — | xinsuanai.comAsk or discussCollected: Collected this cycle View 4 plans | Official relay Claude [machine translation]Group on site: 官转克劳德 Official relay Claude [machine translation]Original: 官转克劳德 Note: far from other providers’ prices. This price is not ranked or counted. Operator pending verification | 40 | 320 | — | 110Median price ÷ this price: 0× | 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
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.
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.20625 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 →