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
USD_CREDIT · Lowest 0.20625 · median 0.6875 · highest 22.5 · 34 quotes USD / per million tokens, site credit
CNY_CREDIT · Lowest 0.3575 · median 2.9390625 · highest 24.0625 · 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 | |||||||
| 01 | llms.bestAsk or discussCollected: Collected this cycle View 2 plans | Codex Plus/Pro Mix Operator pending verification | 0.075 | 0.6 | — | 0.20625Median price ÷ this price: 3.333333333333333333333333333333333333× | Full prices and sources |
| 02 | gptapi.asiaAsk or discussCollected: Collected this cycle View 2 plans 2 more sites of the same companyBasis: 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 | 0.208 | 1.664 | — | 0.572Median price ÷ this price: 1.201923076923076923076923076923076923× | Full prices and sources |
| 03 | bita-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.225 | 1.8 | 0.0225 | 0.61875Median price ÷ this price: 1.111111111111111111111111111111111111× | Full prices and sources |
| 03 | cnapi.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 | 0.225 | 1.8 | — | 0.61875Median price ÷ this price: 1.111111111111111111111111111111111111× | Full prices and sources |
| 05 | 123api.coAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 0.25 | 2 | — | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | 35.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 | 0.25 | 2 | 0.025 | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | ai.comfly.orgAsk or discussCollected: Collected this cycle View 6 plans 1 more site of the same companyBasis: 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.25 | 2 | 0.025 | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | aigcbest.topAsk or discussCollected: Collected this cycle View 2 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. | default ⭐ Recommended | all-model automatic load optimization [machine translation]Original: ⭐ 推荐 | 全模型自动负载优化 Operator pending verification | 0.25 | 2 | 0.025 | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | api.bianxie.aiAsk or discussCollected: Collected this cycle View 1 plans | default default Operator pending verification | 0.25 | 2 | 0.025 | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | api.bltcy.aiAsk or discussCollected: Collected this cycle View 6 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. | default Default group [machine translation]Original: 默认分组 Operator pending verification | 0.25 | 2 | 0.025 | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | api.gravitex.aiAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 0.25 | 2 | 0.03 | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | api.onefaka.comAsk or discussCollected: Collected this cycle View 5 plans | c15 Claude Channel 15 Only Operator pending verification | 0.25 | 2 | 0.025 | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | api.pezayo.comAsk or discussCollected: Collected this cycle View 2 plans | coding openai coding openai group, can call kimi-latest, deepseek-flash models via the openai chat completion format and the openai response format [machine translation]Original: coding openai 分组,能通过 openai chat completion格式和 openai response 格式调用 kimi-latest,deepseek-flash 模型 Operator pending verification | 0.25 | 2 | 0.025 | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | llm.azopenai.comAsk or discussCollected: Collected this cycle View 1 plans | default default Operator pending verification | 0.25 | 2 | 0.025 | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | new.yihubang.topAsk or discussCollected: Collected this cycle View 3 plans | GPT relay [machine translation]Group on site: GPT 中转 GPT relay [machine translation]Original: GPT 中转 Operator pending verification | 0.25 | 2 | 0.025 | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | novaapi.aiAsk or discussCollected: Collected this cycle View 2 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 0.25 | 2 | — | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | tenzen.aiAsk or discussCollected: Collected this cycle View 1 plans 1 more site of the same companyBasis: 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.25 | 2 | — | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 05 | zen-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.25 | 2 | 0.025 | 0.6875Median price ÷ this price: 1× | Full prices and sources |
| 19 | poloai.topAsk or discussCollected: Collected this cycle View 7 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 | 0.375 | 3 | 0.0375 | 1.03125Median price ÷ this price: 0.666666666666666666666666666666666667× | Full prices and sources |
| 20 | 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 | 0.4 | 3.2 | 0.2 | 1.1Median price ÷ this price: 0.625× | Full prices and sources |
| 21 | 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 | 0.45 | 3.6 | 0.045 | 1.2375Median price ÷ this price: 0.555555555555555555555555555555555556× | Full prices and sources |
| 22 | apijing.comAsk or discussCollected: Collected this cycle View 1 plans | azude with images [machine translation]Group on site: azude带图片 azude with images [machine translation]Original: azude带图片 Operator pending verification | 0.55 | 4.4 | 0.055 | 1.5125Median price ÷ this price: 0.454545454545454545454545454545454545× | Full prices and sources |
| 23 | 9527.codesAsk or discussCollected: Collected this cycle View 1 plans 4 more sites of the same companyBasis: 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. | Azure-GPT Azure-GPT Operator pending verification | 0.75 | 6 | 0.075 | 2.0625Median price ÷ this price: 0.333333333333333333333333333333333333× | Full prices and sources |
| 24 | witflow.aiAsk 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-AZ-all models [machine translation]Group on site: OpenAI-AZ-全模型 az resources only [machine translation]Original: 只有az资源 Operator pending verification | 1 | 8 | 0.1 | 2.75Median price ÷ this price: 0.25× | Full prices and sources |
| 24 | xrok.devAsk or discussCollected: Collected this cycle View 2 plans | GPT GPT official account pool [machine translation]Original: GPT官号号池 Operator pending verification | 1 | 8 | — | 2.75Median price ÷ this price: 0.25× | 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.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 →