Skip to main content
API Pricing

OpenAI: GPT-5 Codex API Pricing

GPT-5-Codex is a specialized version of GPT-5 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

Input / 1M tokens
$1.25
Output / 1M tokens
$10.00
Cost per request (1K in / 500 out)
$0.0063
~$6.25 per 1M tokens mixed

Specifications

Context Window 400K tokens
Max Output Tokens 128,000
Vision Support Yes
Function Calling No
Streaming Yes
Modality multimodal
Release Date 2025-09-23
Price history will appear here after the first price change is detected.

More from OpenAI

Input / 1M tokens
$2.50
Output / 1M tokens
$10.00
Context: 128K Streaming
Input / 1M tokens
$0.60
Output / 1M tokens
$2.40
Context: 128K Streaming
Input / 1M tokens
$5.00
Output / 1M tokens
$30.00
Context: 400K Vision Streaming
Input / 1M tokens
$0.50
Output / 1M tokens
$1.50
Context: 16K Streaming
Input / 1M tokens
$1.00
Output / 1M tokens
$2.00
Context: 4K Streaming

Similar Models from Other Providers

Input / 1M tokens
Variable
Output / 1M tokens
Variable
Context: 2.0M Vision Streaming
Input / 1M tokens
Free
Output / 1M tokens
Free
Context: 262K Vision Streaming
Input / 1M tokens
Free
Output / 1M tokens
Free
Context: 262K Vision Streaming
Input / 1M tokens
Free
Output / 1M tokens
Free
Context: 1.0M Vision Streaming
Input / 1M tokens
Free
Output / 1M tokens
Free
Context: 1.0M Vision Streaming