OpenAI Responses
gpt-5-codex
GPT-5-Codex is a version of GPT-5 optimized for agentic coding tasks in Codex or similar environments
πVisionπ§ Reasoningπ§Tool callingβ‘Caching
Pricing per 1M tokens
Input
$1.25
Output
$10.00
Cache write
$1.25
Cache read
$0.13
Specifications
Context window400K tokens
Max output128K tokens
API typechat
AddedSep 24, 2025
Model IDopenai-responses/gpt-5-codex
Privacy & data
Data retentionYes (30 days)
Used for trainingNo
Provider locationπΊπΈ US
Privacy policyOpenAI Privacy Policy β
