mainContent: OpenAI API Pricing Contact sales Add API credits (opens in a new window) 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.2 The best model for coding and agentic tasks across industries Price Input: $1.750 / 1M tokens Cached input: $0.175 / 1M tokens Output: $14.000 / 1M tokens GPT-5.2 pro The smartest and most precise model Price Input: $21.00 / 1M tokens Cached input: - Output: $168.00 / 1M tokens GPT-5 mini A faster, cheaper version of GPT-5 for well-defined tasks Price Input: $0.250 / 1M tokens Cached input: $0.025 / 1M tokens Output: $2.000 / 1M tokens Pricing reflects standard processing rates. 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 Input: $3.00 / 1M tokens Cached input: $0.75 / 1M tokens Output: $12.00 / 1M tokens Training: $25.00 / 1M tokens GPT-4.1 mini Fine-tuning price Input: $0.80 / 1M tokens Cached input: $0.20 / 1M tokens Output: $3.20 / 1M tokens Training: $5.00 / 1M tokens GPT-4.1 nano Fine-tuning price Input: $0.20 / 1M tokens Cached input: $0.05 / 1M tokens Output: $0.80 / 1M tokens Training: $1.50 / 1M tokens o4-mini Reinforcement fine-tuning price Input: $4.00 / 1M tokens Cached input: $1.00 / 1M tokens Output: $16.00 / 1M tokens Training: $100.00 / training hour Explore detailed pricing (opens in a new window) Our APIs Realtime API Build low-latency, multimodal experiences including speech-to-speech. Text Text gpt-realtime $4.00 / 1M input tokens $0.40 / 1M cached input tokens $16.00 / 1M output tokens gpt-realtime $4.00 / 1M input tokens $0.40 / 1M cached input tokens $16.00 / 1M output tokens gpt-realtime-mini $0.60 / 1M input tokens $0.06 / 1M cached input tokens $2.40 / 1M output tokens gpt-realtime-mini $0.60 / 1M input tokens $0.06 / 1M cached input tokens $2.40 / 1M output tokens Audio Audio gpt-realtime $32.00 / 1M input tokens $0.40 / 1M cached input tokens $64.00 / 1M output tokens gpt-realtime $32.00 / 1M input tokens $0.40 / 1M cached input tokens $64.00 / 1M output tokens gpt-realtime-mini $10.00 / 1M input tokens $0.30 / 1M cached input tokens $20.00 / 1M output tokens gpt-realtime-mini $10.00 / 1M input tokens $0.30 / 1M cached input tokens $20.00 / 1M output tokens Image Image gpt-realtime $5.00 / 1M input tokens $0.50 / 1M cached input tokens - gpt-realtime $5.00 / 1M input tokens $0.50 / 1M cached input tokens - gpt-realtime-mini $0.80 / 1M input tokens $0.08 / 1M cached input tokens - gpt-realtime-mini $0.80 / 1M input tokens $0.08 / 1M cached input tokens - 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 Image Generation API Precise, high-fidelity image generation and editing with our latest multimodal model. Text Text GPT-image-1.5 $5.00 / 1M input tokens $1.25 / 1M cached input tokens * $10.00 / 1M output tokens * GPT-image-1.5 $5.00 / 1M input tokens $1.25 / 1M cached input tokens * $10.00 / 1M output tokens * GPT-image-1 $5.00 / 1M input tokens $1.25 / 1M cached input tokens * - GPT-image-1 $5.00 / 1M input tokens $1.25 / 1M cached input tokens * - GPT-image-1-mini $2.00 / 1M input tokens $0.20 / 1M cached input tokens * - GPT-image-1-mini $2.00 / 1M input tokens $0.20 / 1M cached input tokens * - Image Image GPT-image-1.5 $8.00 / 1M input tokens $2.00 / 1M cached input tokens * $32.00 / 1M output tokens GPT-image-1.5 $8.00 / 1M input tokens $2.00 / 1M cached input tokens * $32.00 / 1M output tokens

mainContent changed from OpenAI API Pricing Contact sales Add API credits (opens in a new window) 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.2 The best model for coding and agentic tasks across industries Price Input: $1.750 / 1M tokens Cached input: $0.175 / 1M tokens Output: $14.000 / 1M tokens GPT-5.2 pro The smartest and most precise model Price Input: $21.00 / 1M tokens Cached input: - Output: $168.00 / 1M tokens GPT-5 mini A faster, cheaper version of GPT-5 for well-defined tasks Price Input: $0.250 / 1M tokens Cached input: $0.025 / 1M tokens Output: $2.000 / 1M tokens Pricing reflects standard processing rates. 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 Input: $3.00 / 1M tokens Cached input: $0.75 / 1M tokens Output: $12.00 / 1M tokens Training: $25.00 / 1M tokens GPT-4.1 mini Fine-tuning price Input: $0.80 / 1M tokens Cached input: $0.20 / 1M tokens Output: $3.20 / 1M tokens Training: $5.00 / 1M tokens GPT-4.1 nano Fine-tuning price Input: $0.20 / 1M tokens Cached input: $0.05 / 1M tokens Output: $0.80 / 1M tokens Training: $1.50 / 1M tokens o4-mini Reinforcement fine-tuning price Input: $4.00 / 1M tokens Cached input: $1.00 / 1M tokens Output: $16.00 / 1M tokens Training: $100.00 / training hour Explore detailed pricing (opens in a new window) Our APIs Realtime API Build low-latency, multimodal experiences including speech-to-speech. Text Text gpt-realtime $4.00 / 1M input tokens $0.40 / 1M cached input tokens $16.00 / 1M output tokens gpt-realtime $4.00 / 1M input tokens $0.40 / 1M cached input tokens $16.00 / 1M output tokens gpt-realtime-mini $0.60 / 1M input tokens $0.06 / 1M cached input tokens $2.40 / 1M output tokens gpt-realtime-mini $0.60 / 1M input tokens $0.06 / 1M cached input tokens $2.40 / 1M output tokens Audio Audio gpt-realtime $32.00 / 1M input tokens $0.40 / 1M cached input tokens $64.00 / 1M output tokens gpt-realtime $32.00 / 1M input tokens $0.40 / 1M cached input tokens $64.00 / 1M output tokens gpt-realtime-mini $10.00 / 1M input tokens $0.30 / 1M cached input tokens $20.00 / 1M output tokens gpt-realtime-mini $10.00 / 1M input tokens $0.30 / 1M cached input tokens $20.00 / 1M output tokens Image Image gpt-realtime $5.00 / 1M input tokens $0.50 / 1M cached input tokens - gpt-realtime $5.00 / 1M input tokens $0.50 / 1M cached input tokens - gpt-realtime-mini $0.80 / 1M input tokens $0.08 / 1M cached input tokens - gpt-realtime-mini $0.80 / 1M input tokens $0.08 / 1M cached input tokens - 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 Image Generation API Precise, high-fidelity image generation and editing with our latest multimodal model. Text Text GPT-image-1.5 $5.00 / 1M input tokens $1.25 / 1M cached input tokens * $10.00 / 1M output tokens * GPT-image-1.5 $5.00 / 1M input tokens $1.25 / 1M cached input tokens * $10.00 / 1M output tokens * GPT-image-1 $5.00 / 1M input tokens $1.25 / 1M cached input tokens * - GPT-image-1 $5.00 / 1M input tokens $1.25 / 1M cached input tokens * - GPT-image-1-mini $2.00 / 1M input tokens $0.20 / 1M cached input tokens * - GPT-image-1-mini $2.00 / 1M input tokens $0.20 / 1M cached input tokens * - Image Image GPT-image-1.5 $8.00 / 1M input tokens $2.00 / 1M cached input tokens * $32.00 / 1M output tokens GPT-image-1.5 $8.00 / 1M input tokens $2.00 / 1M cached input tokens * $32.00 / 1M output tokens GPT-image-1 $10.00 / 1M input tokens $2.50 / 1M cached input tokens * $40.00 / 1M output tokens GPT-image-1 $10.00 / 1M input tokens $2.50 / 1M cached input tokens * $40.00 / 1M output tokens GPT-image-1-mini $2.50 / 1M input tokens $0.25 / 1M cached input tokens * $8.00 / 1M output tokens GPT-image-1-mini $2.50 / 1M input tokens $0.25 / 1M cached input tokens * $8.00 / 1M output tokens Prompts are billed similarly to other GPT models. Image outputs cost approximately $0.01 (low), $0.04 (medium), and $0.17 (high) for square images. *available via the Responses API *text output tokens include model reasoning tokens For detailed token usage by image quality and size, see the docs . Responses API Our newest API combining the simplicity of Chat Completions with the built-in tool use of Assistants. Price Responses API is not priced separately. Tokens are billed at the chosen language model’s input and output... to OpenAI API Pricing Contact sales 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.2 The best model for coding and agentic tasks across industries Price Input: $1.750 / 1M tokens Cached input: $0.175 / 1M tokens Output: $14.000 / 1M tokens GPT-5.2 pro The smartest and most precise model Price Input: $21.00 / 1M tokens Cached input: - Output: $168.00 / 1M tokens GPT-5 mini A faster, cheaper version of GPT-5 for well-defined tasks Price Input: $0.250 / 1M tokens Cached input: $0.025 / 1M tokens Output: $2.000 / 1M tokens Pricing reflects standard processing rates. 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 Input: $3.00 / 1M tokens Cached input: $0.75 / 1M tokens Output: $12.00 / 1M tokens Training: $25.00 / 1M tokens GPT-4.1 mini Fine-tuning price Input: $0.80 / 1M tokens Cached input: $0.20 / 1M tokens Output: $3.20 / 1M tokens Training: $5.00 / 1M tokens GPT-4.1 nano Fine-tuning price Input: $0.20 / 1M tokens Cached input: $0.05 / 1M tokens Output: $0.80 / 1M tokens Training: $1.50 / 1M tokens o4-mini Reinforcement fine-tuning price Input: $4.00 / 1M tokens Cached input: $1.00 / 1M tokens Output: $16.00 / 1M tokens Training: $100.00 / training hour Explore detailed pricing (opens in a new window) Our APIs Realtime API Build low-latency, multimodal experiences including speech-to-speech. Text Text gpt-realtime $4.00 / 1M input tokens $0.40 / 1M cached input tokens $16.00 / 1M output tokens gpt-realtime $4.00 / 1M input tokens $0.40 / 1M cached input tokens $16.00 / 1M output tokens gpt-realtime-mini $0.60 / 1M input tokens $0.06 / 1M cached input tokens $2.40 / 1M output tokens gpt-realtime-mini $0.60 / 1M input tokens $0.06 / 1M cached input tokens $2.40 / 1M output tokens Audio Audio gpt-realtime $32.00 / 1M input tokens $0.40 / 1M cached input tokens $64.00 / 1M output tokens gpt-realtime $32.00 / 1M input tokens $0.40 / 1M cached input tokens $64.00 / 1M output tokens gpt-realtime-mini $10.00 / 1M input tokens $0.30 / 1M cached input tokens $20.00 / 1M output tokens gpt-realtime-mini $10.00 / 1M input tokens $0.30 / 1M cached input tokens $20.00 / 1M output tokens Image Image gpt-realtime $5.00 / 1M input tokens $0.50 / 1M cached input tokens - gpt-realtime $5.00 / 1M input tokens $0.50 / 1M cached input tokens - gpt-realtime-mini $0.80 / 1M input tokens $0.08 / 1M cached input tokens - gpt-realtime-mini $0.80 / 1M input tokens $0.08 / 1M cached input tokens - 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 Image Generation API Precise, high-fidelity image generation and editing with our latest multimodal model. Text Text GPT-image-1.5 $5.00 / 1M input tokens $1.25 / 1M cached input tokens * $10.00 / 1M output tokens * GPT-image-1.5 $5.00 / 1M input tokens $1.25 / 1M cached input tokens * $10.00 / 1M output tokens * GPT-image-1 $5.00 / 1M input tokens $1.25 / 1M cached input tokens * - GPT-image-1 $5.00 / 1M input tokens $1.25 / 1M cached input tokens * - GPT-image-1-mini $2.00 / 1M input tokens $0.20 / 1M cached input tokens * - GPT-image-1-mini $2.00 / 1M input tokens $0.20 / 1M cached input tokens * - Image Image GPT-image-1.5 $8.00 / 1M input tokens $2.00 / 1M cached input tokens * $32.00 / 1M output tokens GPT-image-1.5 $8.00 / 1M input tokens $2.00 / 1M cached input tokens * $32.00 / 1M output tokens GPT-image-1 $10.00 / 1M input tokens $2.50 / 1M cached input tokens * $40.00 / 1M output tokens GPT-image-1 $10.00 / 1M input tokens $2.50 / 1M cached input tokens * $40.00 / 1M output tokens GPT-image-1-mini $2.50 / 1M input tokens $0.25 / 1M cached input tokens * $8.00 / 1M output tokens GPT-image-1-mini $2.50 / 1M input tokens $0.25 / 1M cached input tokens * $8.00 / 1M output tokens Prompts are billed similarly to other GPT models. Image outputs cost approximately $0.01 (low), $0.04 (medium), and $0.17 (high) for square images. *available via the Responses API *text output tokens include model reasoning tokens For detailed token usage by image quality and size, see the docs . Responses API Our newest API combining the simplicity of Chat Completions with the built-in tool use of Assistants. Price Responses API is not priced separately. Tokens are billed at the chosen language model’s input and output rates. Chat Completions API Build text-...