API Pricing
Flagship models
Our frontier models are designed to spend more time thinking before producing a response, making them ideal for complex, multi-step problems.
GPT-5.4
Our most capable model for professional work
Price
$2.50 / 1M tokens
$0.25 / 1M tokens
$15.00 / 1M tokens
GPT-5.4 mini
Our strongest mini model yet for coding, computer use, and subagents
Price
$0.750 / 1M tokens
$0.075 / 1M tokens
$4.500 / 1M tokens
GPT-5.4 nano
Our cheapest GPT-5.4-class model for simple high-volume tasks
Price
$0.20 / 1M tokens
$0.02 / 1M tokens
$1.25 / 1M tokens
Pricing above reflects standard processing rates for context lengths under 270K. See the full pricing page here(opens in a new window). Data residency and Regional Processing(opens in a new window) endpoints are charged an additional 10% for all GPT 5.4 models.
To optimize cost and performance for different use cases, we also offer:
- Batch API(opens in a new window): Save 50% on inputs and outputs with the Batch API and run tasks asynchronously over 24 hours.
- Priority processing: offers reliable, high-speed performance with the flexibility to pay-as-you-go.
Our APIs
Realtime API
Build low-latency, multimodal experiences including speech-to-speech.
Sora Video API
Richly detailed, dynamic video generation and remixing with our latest generative model.
| Models | Size | Price per second |
|---|---|---|
| sora-2 | Portrait: 720 x 1280 Landscape: 1280 x 720 | $0.10 |
| sora-2-pro | Portrait: 720 x 1280 Landscape: 1280 x 720 | $0.30 |
| sora-2-pro | Portrait: 1024 x 1792 Landscape: 1792 x 1024 | $0.50 |
| sora-2-pro | Portrait: 1080 x 1920 Landscape: 1920 x 1080 | $0.70 |
Image Generation API
Precise, high-fidelity image generation and editing with our latest multimodal model.
Built-in tools
Extend model capabilities with built-in tools in the API Platform.
| Current prices | Starting March 31, 2026 |
|---|---|
| 1 GB (default): $0.03 / container | 1 GB (default): $0.03 / per 20 minute session |
| 4 GB: $0.12 / container | 4 GB: $0.12 / per 20 minute session |
| 16 GB: $0.48 / container | 16 GB: $0.48 / per 20 minute session |
| 64 GB: $1.92 / container | 64 GB: $1.92 / per 20 minute session |
(Responses API only)
- Tool calls are billed per 1,000 calls, according to the tool version and model type.
- Search content tokens are tokens retrieved from the search index and fed to the model alongside your prompt to generate an answer. These are billed at the model’s input token rate, unless otherwise specified.
| Tool Version | Cost |
|---|---|
| Web search (all models) | $10.00 / 1K calls + search content tokens billed at model rates1 |
| Web search preview (reasoning models) | $10.00 / 1K calls + search content tokens billed at model rates |
| Web search preview (non-reasoning models) | $25.00 / 1K calls + search content tokens are free |
Explore our offerings for Enterprise customers: Priority processing, Scale Tier and Reserved Capacity.