Back to models

GPT-5

-CodexA version of GPT-5 optimized for agentic coding in Codex

Context window200,000 tokens
Max output tokens4,096 tokens

Pricing

TypeInputOutput
Standard$2.50 / 1M tokens$20.00 / 1M tokens
Cached input$0.25 / 1M tokens

Parameters

ParameterDefaultRange
Max stop sequences0

Supported features

Capabilities

  • Streaming
  • Reasoning
  • System Prompt

Endpoints

  • Chat Completions
  • Batch

Tools

  • Code Interpreter

Use cases

  • text-chat

Model specifications

Model IDgpt-5-codex
FamilyOther
Access typeClosed
Input modalitiestext
Output modalitiestext
Last updatedJanuary 3, 2026
GPT-5 | ModelHub | ModelHub