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
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.
Fine-tuning our models
Customize our models to get even higher performance for your specific use cases.
GPT-4.1
Fine-tuning price
$3.00 / 1M tokens
$0.75 / 1M tokens
$12.00 / 1M tokens
$25.00 / 1M tokens
GPT-4.1 mini
Fine-tuning price
$0.80 / 1M tokens
$0.20 / 1M tokens
$3.20 / 1M tokens
$5.00 / 1M tokens
GPT-4.1 nano
Fine-tuning price
$0.20 / 1M tokens
$0.05 / 1M tokens
$0.80 / 1M tokens
$1.50 / 1M tokens
o4-mini
Reinforcement fine-tuning price
$4.00 / 1M tokens
$1.00 / 1M tokens
$16.00 / 1M tokens
$100.00 / training hour
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.
Responses API
Our newest API combining the simplicity of Chat Completions with the built-in tool use of Assistants.
Chat Completions API
Build text-based conversational experiences.
Assistants API
Build assistant-like experiences with our tools.
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 |
- 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 |
AgentKit
Build, deploy, and optimize production-grade agents with Agent Builder, ChatKit, and Evals.
Explore our offerings for Enterprise customers: Priority processing, Scale Tier and Reserved Capacity.