API PRICES
OpenAI · gpt-5.1-codex
Provider prices, cheapest first
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.0313 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
Relay USD credit prices · Lowest 1.0313 · median 5.1563 · highest 35.131 · 268 quotes USD / per million tokens, site credit
Relay CNY credit prices · Lowest 3.0938 · median 7.6258 · highest 24.406 · 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
| Provider | Input | Output | Cache read | Cache write | Unit | Observed | Conditions and source |
|---|---|---|---|---|---|---|---|
| OpenRouter · Aggregator | 1.25 | 10 | 0.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.
Price range: lowest 1.0313 · median 5.1563 · highest 35.131 (268 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 | |||||||
| 124 | learn-ai.topAsk or discussCollected: Collected this cycle View 1 plans | openai 1.5 Operator pending verification | 1.875 | 15 | — | 5.1563Median price ÷ this price: 1× | Full prices and sources |
| 124 | poloai.topAsk or discussCollected: Collected this cycle View 15 plans 2 more sites 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. | az Microsoft Azure account pool resources [machine translation]Original: 微软Azure号池资源 Operator pending verification | 1.875 | 15 | 0.1875 | 5.1563Median price ÷ this price: 1× | Full prices and sources |
| 124 | xrok.devAsk or discussCollected: Collected this cycle View 2 plans | AZ-GPT-1.3 AZ GPT supports high concurrency, channel 2 [machine translation]Original: AZ GPT支持高并发,渠道2 Operator pending verification | 1.875 | 15 | — | 5.1563Median price ÷ this price: 1× | Full prices and sources |
| 124 | ai.t8star.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. | 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 | 1.875 | 15 | 0.1875 | 5.1563Median price ÷ this price: 1× | Full prices and sources |
| 124 | api.bltcy.topAsk or discussCollected: Collected this cycle View 18 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 | 1.875 | 15 | 0.1875 | 5.1563Median price ÷ this price: 1× | Full prices and sources |
| 124 | one-api.bltcy.topAsk or discussCollected: Collected this cycle View 18 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 | 1.875 | 15 | 0.1875 | 5.1563Median price ÷ this price: 1× | Full prices and sources |
| 124 | poloapi.topAsk or discussCollected: Collected this cycle View 15 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 | 1.875 | 15 | 0.1875 | 5.1563Median price ÷ this price: 1× | Full prices and sources |
| 124 | xy.poloapi.comAsk or discussCollected: Collected this cycle View 15 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 | 1.875 | 15 | 0.1875 | 5.1563Median price ÷ this price: 1× | Full prices and sources |
| 134 | deepkey.topAsk or discussCollected: Collected this cycle View 5 plans | gpt-azure4 gpt-azure4-high-tier pool-supports astra [machine translation]Original: gpt-azure4-高等级池-支持astra Operator pending verification | 2 | 10 | — | 4Median price ÷ this price: 1.3× | Full prices and sources |
| 134 | deepkey.topAsk or discussCollected: Collected this cycle View 5 plans | gpt-azure4 Name on site: gpt-5.1-codex-high gpt-azure4-high-tier pool-supports astra [machine translation]Original: gpt-azure4-高等级池-支持astra Operator pending verification | 2 | 10 | — | 4Median price ÷ this price: 1.3× | Full prices and sources |
| 134 | deepkey.topAsk or discussCollected: Collected this cycle View 5 plans | gpt-azure4 Name on site: gpt-5.1-codex-medium gpt-azure4-high-tier pool-supports astra [machine translation]Original: gpt-azure4-高等级池-支持astra Operator pending verification | 2 | 10 | — | 4Median price ÷ this price: 1.3× | Full prices and sources |
| 134 | nexaxis.aiAsk or discussCollected: Collected this cycle View 2 plans | ChatGPT_AZ 5.5 only [machine translation]Group on site: ChatGPT_AZ 5.5专用 ChatGPT_AZ 5.5 only [machine translation]Original: ChatGPT_AZ 5.5专用 Operator pending verification | 2 | 16 | 0.2 | 5.5Median price ÷ this price: 0.9× | Full prices and sources |
| 138 | deepkey.topAsk or discussCollected: Collected this cycle View 5 plans | gpt-azure-18 gpt-azure-1.8-enterprise exclusive supply [machine translation]Original: gpt-azure-1.8-企业专供 Operator pending verification | 2.25 | 11.25 | — | 4.5Median price ÷ this price: 1.1× | Full prices and sources |
| 138 | www.cybersol.netAsk or discussCollected: Collected this cycle View 2 plans | GPT Advance Openai official Tier5 account direct connection, high availability. Too much image generation abuse will cause errors and disabling. [machine translation]Original: Openai官方Tier5账号直连,高可用。出图滥用过多会报错禁用。 Operator pending verification | 2.25 | 18 | 0.225 | 6.1875Median price ÷ this price: 0.8× | Full prices and sources |
| 140 | api.ai-gaochao.cnAsk or discussCollected: Collected this cycle View 17 plans | svip svip Operator pending verification | 2.5 | 20 | 0.25 | 6.875Median price ÷ this price: 0.8× | Full prices and sources |
| 140 | poloai.topAsk or discussCollected: Collected this cycle View 15 plans 2 more sites 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. | Relay low price | one key calls all models [machine translation]Group on site: 中转低价|一key调用全模型 ✨️All-model relay, low price, stable, fast [machine translation]Original: ✨️全模型中转,低价稳定、快速 Operator pending verification | 2.5 | 20 | 0.25 | 6.875Median price ÷ this price: 0.8× | Full prices and sources |
| 140 | poloapi.topAsk or discussCollected: Collected this cycle View 15 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. | Relay low price | one key calls all models [machine translation]Group on site: 中转低价|一key调用全模型 ✨️All-model relay, low price, stable, fast [machine translation]Original: ✨️全模型中转,低价稳定、快速 Operator pending verification | 2.5 | 20 | 0.25 | 6.875Median price ÷ this price: 0.8× | Full prices and sources |
| 140 | xy.poloapi.comAsk or discussCollected: Collected this cycle View 15 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. | Relay low price | one key calls all models [machine translation]Group on site: 中转低价|一key调用全模型 ✨️All-model relay, low price, stable, fast [machine translation]Original: ✨️全模型中转,低价稳定、快速 Operator pending verification | 2.5 | 20 | 0.25 | 6.875Median price ÷ this price: 0.8× | Full prices and sources |
| 144 | ai.comfly.orgAsk or discussCollected: Collected this cycle View 18 plans 1 more site of the same companyBasis: identical quotes. Counted as one company in the ranking; this is not a legal finding. | AZ-premium quality [machine translation]Group on site: AZ-优质 Name on site: gpt-5.1-codex-medium Pure Azure-premium quality, supports o1, o3 [machine translation]Original: 纯Azure-优质,支持o1、o3 Operator pending verification | 2.625 | 21 | 0.2625 | 7.2188Median price ÷ this price: 0.7× | Full prices and sources |
| 144 | ai.comfly.orgAsk or discussCollected: Collected this cycle View 18 plans 1 more site of the same companyBasis: identical quotes. Counted as one company in the ranking; this is not a legal finding. | AZ-premium quality [machine translation]Group on site: AZ-优质 Name on site: gpt-5.1-codex-high Pure Azure-premium quality, supports o1, o3 [machine translation]Original: 纯Azure-优质,支持o1、o3 Operator pending verification | 2.625 | 21 | 0.2625 | 7.2188Median price ÷ this price: 0.7× | Full prices and sources |
| 144 | api.bltcy.aiAsk or discussCollected: Collected this cycle View 18 plans 2 more sites 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. | AZ-premium quality [machine translation]Group on site: AZ-优质 Name on site: gpt-5.1-codex-medium Pure Azure-premium quality, supports o1, o3 [machine translation]Original: 纯Azure-优质,支持o1、o3 Operator pending verification | 2.625 | 21 | 0.2625 | 7.2188Median price ÷ this price: 0.7× | Full prices and sources |
| 144 | api.bltcy.aiAsk or discussCollected: Collected this cycle View 18 plans 2 more sites 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. | AZ-premium quality [machine translation]Group on site: AZ-优质 Name on site: gpt-5.1-codex-high Pure Azure-premium quality, supports o1, o3 [machine translation]Original: 纯Azure-优质,支持o1、o3 Operator pending verification | 2.625 | 21 | 0.2625 | 7.2188Median price ÷ this price: 0.7× | Full prices and sources |
| 144 | ai.t8star.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. | AZ-premium quality [machine translation]Group on site: AZ-优质 Name on site: gpt-5.1-codex-medium Pure Azure-premium quality, supports o1, o3 [machine translation]Original: 纯Azure-优质,支持o1、o3 Operator pending verification | 2.625 | 21 | 0.2625 | 7.2188Median price ÷ this price: 0.7× | Full prices and sources |
| 144 | ai.t8star.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. | AZ-premium quality [machine translation]Group on site: AZ-优质 Name on site: gpt-5.1-codex-high Pure Azure-premium quality, supports o1, o3 [machine translation]Original: 纯Azure-优质,支持o1、o3 Operator pending verification | 2.625 | 21 | 0.2625 | 7.2188Median price ÷ this price: 0.7× | Full prices and sources |
| 144 | api.bltcy.topAsk or discussCollected: Collected this cycle View 18 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-优质 Name on site: gpt-5.1-codex-medium Pure Azure-premium quality, supports o1, o3 [machine translation]Original: 纯Azure-优质,支持o1、o3 Operator pending verification | 2.625 | 21 | 0.2625 | 7.2188Median price ÷ this price: 0.7× | 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
- test-api.apiqik.online · openai · gpt-5.1-codex · Input 0.375 / Output 3 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 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.
Sources not accepted this cycle and reasons
FAQ
Which API is cheapest for OpenAI · gpt-5.1-codex?
llms.best, group "Codex", 1.0313 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 →