# OpenAI: GPT-5 Codex

Provider: openai  
Category: llm  
Model ID: `openai/gpt-5-codex`

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....

## Specs

- Context length: 400000 tokens
- Max output: 128000 tokens
- Modalities: text, image
- Released: 2025-09-23

## Pricing

- Input: $1.25 per million tokens
- Output: $10.00 per million tokens

## Providers

- **openai** — ctx 400000, input $1.25/M, output $10.00/M

---
Last verified: 2026-04-23T23:46:29.618Z  
Canonical URL: https://switchy.build/models/gpt-5-codex