OpenAI API
Developer platform for OpenAI's text, image, audio and video models, billed per usage.
At a glance
| Category | AI Agents & Models |
|---|---|
| Free plan | No |
| Plans | API usage: Pay-as-you-go per 1 million tokens: input, cached input and output are priced separately by model. Standard, Batch, Flex and Fast processing modes have different rates; Batch saves 50% on inputs and outputs for asynchronous tasks. |
| Billing basis | API usage: Billing period not confirmed |
| Included seats and extra-seat charges | API usage: Seat terms not recorded |
| Plan limits | API usage: Images, audio, video and built-in tools are priced separately from text tokens. |
| Estimated monthly cost for 5 people | No recorded paid plan covers this team size |
| Pricing source and review date | Vendor pricing page, checked 29 Nov 2026 |
| Website | openai.com |
Overview
Developer platform for OpenAI's models, billed per 1 million tokens with separate input, cached-input and output rates. Standard, Batch, Flex and Fast modes are priced separately; Batch saves 50% on inputs and outputs for tasks run asynchronously over 24 hours. Image, audio and video models and built-in tools have their own pricing units.
Limits and conditions
- Rates shown are standard processing for context lengths up to 272K input tokens.
- gpt-5.6-sol promotional pricing ends on 30 November 2026 and is not listed here.
- Priority processing was renamed Fast mode on July 30, 2026.
- OpenAI models on Amazon Bedrock are billed through AWS and may differ from direct OpenAI pricing.
Model prices
US dollars per 1 million tokens, standard processing, as listed on the vendor's pricing page. Checked 29 Nov 2026.
| Model | Input | Cached input | Output | Conditions |
|---|---|---|---|---|
| gpt-6.2-astra | $8.00 | $0.40 | $40.00 | Short context (up to 272K input tokens); long context costs more |
| gpt-6.2-sol | $2.00 | $0.10 | $10.00 | Short context (up to 272K input tokens); long context costs more |
| gpt-6.1-terra | $1.00 | $0.05 | $5.00 | Short context (up to 272K input tokens); long context costs more |
| gpt-6-luna | $0.10 | $0.01 | $0.50 | Short context (up to 272K input tokens); long context costs more |
| gpt-5.5 | $5.00 | $0.50 | $30.00 | Below 272K context length |
| gpt-5.4 | $2.50 | $0.25 | $15.00 | Below 272K context length |
| gpt-5.4-mini | $0.75 | $0.075 | $4.50 | — |
| gpt-5.4-nano | $0.20 | $0.02 | $1.25 | — |
| gpt-4.1 | $2.00 | $0.50 | $8.00 | — |
| gpt-4o-mini | $0.15 | $0.075 | $0.60 | — |
| o3 | $2.00 | $0.50 | $8.00 | — |
Pricing
Per 1M tokens, standard processing: gpt-6.2-astra $8 input / $40 output; gpt-6.2-sol $2 / $10; gpt-6-luna $0.10 / $0.50. Full per-model table below.
| Plan | Price | What's included |
|---|---|---|
| API usage | Pay-as-you-go per 1 million tokens: input, cached input and output are priced separately by model. Standard, Batch, Flex and Fast processing modes have different rates; Batch saves 50% on inputs and outputs for asynchronous tasks. | Images, audio, video and built-in tools are priced separately from text tokens. |
Pricing source: vendor pricing page, checked 29 Nov 2026. Prices shown in USD.
Compare OpenAI API
OpenAI API vs Anthropic API · OpenAI API vs DeepSeek · OpenAI API vs Google Gemini API · OpenAI API vs Mistral API
Alternatives to OpenAI API
| Tool | Category | Licence | Stars | Latest release | Pricing |
|---|---|---|---|---|---|
Anthropic's developer API for the Claude models, billed per usage. | AI Agents & Models | — | — | — | Per 1M tokens: Claude Fable 5.2 $8 input / $40 output; Opus 5.5 $4 / $20; Sonnet 5.5 $2 / $10; Haiku 5.5 $0.10 / $0.50. Full per-model table below. |
AI model platform with hosted chat and developer APIs. Its API offers reasoning modes and tool calling, with OpenAI- and Anthropic-compatible interfaces. | AI Agents & Models | — | — | — | Per 1M tokens, peak rates: deepseek-flash $0.30 input / $1.20 output; deepseek-v4-pro $1.32 / $3.96. Off-peak rates are half. Full per-model table below. |
Google's developer API for the Gemini models, with a free tier and a paid tier billed per usage. | AI Agents & Models | — | — | — | Per 1M tokens, paid tier, standard: Gemini 3.5 Flash $1.50 input / $9.00 output; Gemini 3.1 Pro Preview $2.00 / $12.00; Gemini 2.5 Flash-Lite $0.10 / $0.40. A free tier is available. Full per-model table below. |
Mistral AI's developer API (La Plateforme) for its language, code, audio and OCR models, billed per usage. | AI Agents & Models | — | — | — | Per 1M tokens: Mistral Large 4 $0.70 input / $2.10 output; Mistral Small 4 $0.15 / $0.60; Ministral 3 (3B) $0.10 / $0.10. Full per-model table below. |