Atlas / Models / OpenAI / OpenAI: GPT-5 Codex

OpenAI: GPT-5 Codex✓ Catalog verified

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. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5, Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. Reasoning effort can be adjusted with the `reasoning.effort` parameter. Read the docs here Codex integrates into developer environments including the CLI, IDE extensions, GitHub, and cloud tasks. It adapts reasoning effort dynamically—providing fast responses for small tasks while sustaining extended multi-hour runs for large projects. The model is trained to perform structured code reviews, catching critical flaws by reasoning over dependencies and validating behavior against tests. It also supports multimodal inputs such as images or screenshots for UI development and integrates tool use for search, dependency installation, and environment setup. Codex is intended specifically for agentic coding applications.

Input price
$1.25 /1M
Output price
$10.00 /1M
Context
400K
Modalities
textimage
Released
Sep 23, 2025
Tool calling
✓ Yes
Atlas signal
90/100
01

Overview

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. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5, Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. Reasoning effort can be adjusted with the `reasoning.effort` parameter. Read the docs here Codex integrates into developer environments including the CLI, IDE extensions, GitHub, and cloud tasks. It adapts reasoning effort dynamically—providing fast responses for small tasks while sustaining extended multi-hour runs for large projects. The model is trained to perform structured code reviews, catching critical flaws by reasoning over dependencies and validating behavior against tests. It also supports multimodal inputs such as images or screenshots for UI development and integrates tool use for search, dependency installation, and environment setup. Codex is intended specifically for agentic coding applications.

Access: available through the official OpenAI API. Context window: 400K.

Pricing and metadata from the ModelsAtlas catalog.Last refreshed Aug 5, 2026
02

Specifications

API identifieropenai/gpt-5-codex
ProviderOpenAI
Model typeMultimodal LLM
Context window400K catalog
Input modalitiestext · image
Output modalitiestext
ReleasedSep 23, 2025
TokenizerGPT
ModeratedYes
Architecture modalitytext+image->text
Supported parameters
include_reasoningmax_tokensreasoningresponse_formatseedstructured_outputstool_choicetools
Source: provider documentation + catalog feedMethodology →

API defaults

Default parameters
{
  "top_p": null,
  "temperature": null,
  "frequency_penalty": null
}
03

Pricing

Live pricing components for openai/gpt-5-codex as published in the catalog.

$1.25
Input /1M
$10.00
Output /1M
Per request
Per image
Pricing componentRaw unit priceNormalizedUnit
Prompt tokens$0.00000125$1.25 / 1MPer input token
Completion tokens$0.00001$10.00 / 1MPer output token
Request feeN/AN/APer request
Image feeN/AN/APer image unit
Web search feeN/AN/APer search request
Source: catalog pricing feedCompare all pricing →Cheapest models →
04

Cost calculator

Estimate monthly spend from your own token volumes.

Scale / Volume

Estimated Total Cost

$2.63Calculated from current list pricing in the ModelsAtlas catalog.
05

Capabilities

CapabilityStatusWhat it means
Visual Understanding✓ SupportedImage and document analysis support
Audio ProcessingNot advertisedSpeech and voice aligned flows
Tool Calling✓ SupportedSupports tools / function calling
Self-HostingNot advertisedDeploy outside managed APIs
Derived from catalog capability tags and supported parameters
06

Capability signals

Directional signals derived from model metadata and capability tags — not official benchmark submissions.

OpenAI: GPT-5 Codex
MMLU Signal (Reasoning)
97signal
Coding Signal (HumanEval proxy)
97signal
Math Signal (GSM8K proxy)
83signal
Science Signal (GPQA proxy)
83signal
Estimated from metadata — not an official benchmark runAll benchmarks →Methodology →
07

Quick start

Call OpenAI: GPT-5 Codex through an OpenAI-compatible client.

from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="openai/gpt-5-codex",
    messages=[{"role": "user", "content": "Explain quantum physics."}]
)

print(response.choices[0].message.content)
08

Alternatives

Closest models by context window from a different provider.

09

Sources & attribution

Pricing and metadata are maintained in the ModelsAtlas catalog.

Capability bars use metadata tags — directional estimates onlyHow we source and verify data →
10

Frequently asked questions

How much does OpenAI: GPT-5 Codex cost?

$1.25 per 1M input tokens and $10.00 per 1M output tokens on the official OpenAI API.

What is the context window of OpenAI: GPT-5 Codex?

OpenAI: GPT-5 Codex supports up to 400K tokens of context.

Does OpenAI: GPT-5 Codex support tool / function calling?

Yes, OpenAI: GPT-5 Codex supports tool / function calling — you can register tools and the model will emit structured tool calls.

How do I access OpenAI: GPT-5 Codex?

Use the official OpenAI API with the model id `openai/gpt-5-codex`. See the Quick start section above for code examples.