File No. 174
OpenAI API pricing, checked October 2026
The OpenAI API gives developers access to OpenAI's models. It bills per token: a price per 1 million input tokens, cached input tokens and output tokens, set by model.
The short answer. OpenAI API pricing is per token. GPT-6 Luna costs $0.10 per 1M input tokens and $0.50 per 1M output tokens; GPT-6.1 Sol $2.00 and $10.00; GPT-6 Astra $10.00 and $50.00. GPT-4o, at $2.50 and $10.00, leaves the API on 14 Jan 2027. Read off developers.openai.com/api/docs/pricing on 24 Oct 2026.
What each plan costs
| Plan | Price | Billed | Checked | Source |
|---|---|---|---|---|
| GPT-6 Astra | $10.00/1M input tokens | per 1M input tokens, Standard processing, short context | Vendor page | |
| Output $50.00 and cached input $1.00 per 1M tokens. Listed first among the flagship models. | ||||
| GPT-6.1 Sol | $2.00/1M input tokens | per 1M input tokens, Standard processing, short context | Vendor page | |
| Output $10.00 and cached input $0.10 per 1M tokens. A flagship model listed for coding and agentic work. | ||||
| GPT-6 Luna | $0.10/1M input tokens | per 1M input tokens, Standard processing, short context | Vendor page | |
| Output $0.50 and cached input $0.01 per 1M tokens. The flagship model OpenAI names as the replacement for GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini. | ||||
| GPT-4o | $2.50/1M input tokens | per 1M input tokens, Standard processing, short context | Vendor page | |
| Output $10.00 and cached input $1.25 per 1M tokens. Removed from the API on 14 Jan 2027, per OpenAI's deprecations page. | ||||
| GPT-4o mini | $0.15/1M input tokens | per 1M input tokens, Standard processing, short context | Vendor page | |
| Output $0.60 and cached input $0.075 per 1M tokens. Removed from the API on 14 Jan 2027, per OpenAI's deprecations page. | ||||
| GPT-4.1 | $2.00/1M input tokens | per 1M input tokens, Standard processing, short context | Vendor page | |
| Output $8.00 and cached input $0.50 per 1M tokens. Removed from the API on 14 Jan 2027, per OpenAI's deprecations page. | ||||
| GPT-4.1 mini | $0.40/1M input tokens | per 1M input tokens, Standard processing, short context | Vendor page | |
| Output $1.60 and cached input $0.10 per 1M tokens. Removed from the API on 14 Jan 2027, per OpenAI's deprecations page. | ||||
Get an email if OpenAI API changes its price
One email when a price on this file changes. Nothing else, and one click to stop.
What the free tier actually allows
- The pricing page lists per-token prices only and names no free plan for the API.
What the pricing page does not say
- Prices are per 1 million tokens and differ for input, cached input and output, so the bill depends on the mix as well as the volume.
- The figures on this file are Standard processing at short context. The page lists other modes (Flex/Batch, Fast, Ultrafast) and long context prices separately.
- Regional processing (data residency) endpoints cost 10% more for models released on or after 5 Mar 2026.
- GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini are removed from the API on 14 Jan 2027. OpenAI names gpt-6-luna as the replacement.
What a month of OpenAI API use costs
OpenAI API cost is set by tokens, not by users. The sums below use the Standard prices per 1M tokens read on 24 Oct 2026, for a month of 10 million input tokens and 2 million output tokens, with no caching.
| Model | Input | Output | Month |
|---|---|---|---|
| GPT-6 Luna | 10 x $0.10 = $1 | 2 x $0.50 = $1 | 10 x $0.10 + 2 x $0.50 = $2 |
| GPT-6.1 Sol | 10 x $2.00 = $20 | 2 x $10.00 = $20 | 10 x $2.00 + 2 x $10.00 = $40 |
| GPT-4o | 10 x $2.50 = $25 | 2 x $10.00 = $20 | 10 x $2.50 + 2 x $10.00 = $45 |
| GPT-4o mini | 10 x $0.15 = $1.50 | 2 x $0.60 = $1.20 | 10 x $0.15 + 2 x $0.60 = $2.70 |
| GPT-4.1 | 10 x $2.00 = $20 | 2 x $8.00 = $16 | 10 x $2.00 + 2 x $8.00 = $36 |
| GPT-4.1 mini | 10 x $0.40 = $4 | 2 x $1.60 = $3.20 | 10 x $0.40 + 2 x $1.60 = $7.20 |
Models leaving the API
OpenAI's deprecations page lists GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini for removal on 14 Jan 2027, with gpt-6-luna as the recommended replacement for all four. Their prices stay on the pricing page until then.
Billing details
The pricing page has processing modes: Standard, Flex/Batch, Fast and Ultrafast, and a Short and Long context switch. This file lists Standard, short context prices. The page says regional processing (data residency) endpoints cost 10% more for models released on or after 5 Mar 2026. Tokens used by built-in tools are billed at the chosen model's token rates.
Other AI model APIs will be filed in the AI model APIs drawer.
If this one does not fit
- Anthropic API not published
- A separate AI model API billed per token. No Tooldossier file yet, so no price is given here.
- Google Gemini API not published
- A separate AI model API billed per token. No Tooldossier file yet, so no price is given here.
Questions
- How much does the OpenAI API cost?
- It is priced per 1 million tokens by model. GPT-6 Luna is $0.10 per 1M input tokens and $0.50 per 1M output tokens; GPT-6.1 Sol is $2.00 and $10.00; GPT-6 Astra is $10.00 and $50.00, on Standard processing.
- How much does GPT-4o cost?
- GPT-4o is $2.50 per 1M input tokens, $10.00 per 1M output tokens and $1.25 per 1M cached input tokens. GPT-4o mini is $0.15, $0.60 and $0.075. Both leave the API on 14 Jan 2027.
- When is GPT-4o retired?
- OpenAI's deprecations page lists GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini for removal from the API on 14 Jan 2027, with gpt-6-luna as the recommended replacement.
- Is the OpenAI API free?
- The pricing page lists per-token prices and names no free plan for the API.
- Does the OpenAI API charge per user?
- No. The API is billed by tokens used, not by seats. ChatGPT business plans are priced separately.
What this check confirmed
Read off https://developers.openai.com/api/docs/pricing on 24 Oct 2026 from a US connection, in USD, as loaded and with All models expanded, on the Standard processing mode and short context. Confirmed: input, output and cached input prices per 1M tokens for GPT-6 Astra, GPT-6.1 Sol, GPT-6 Luna, GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini; the 10% uplift for regional processing on models released on or after 5 Mar 2026. Also read https://developers.openai.com/api/docs/deprecations: GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini are removed on 14 Jan 2027, with gpt-6-luna as the recommended replacement. Not confirmed: Flex/Batch, Fast and Ultrafast prices; long context prices; cache write prices; image, audio and tool prices; any volume discount; taxes.
Figures on this file were read off the vendor's own pricing page on the dates shown. Prices change without notice; check before buying.
Price changed? Say so
No account needed. Reports go to a person, not straight onto the page.
Work at OpenAI API? Claim this listing to suggest corrections from a company address.