OpenAIPaidOperational

GPT 5 Codex

API model name: gpt-5-codex

GPT 5 Codex is OpenAI's chat model, served on the Api.Airforce unified API. It has a 400K-token context window. Beyond text, it accepts image as input. Capabilities include Vision, Tool calling, Reasoning. It is priced at $2.67 per million input tokens and $21.42 per million output tokens. Knowledge cutoff: 2024-09-30. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.

Pricing

Input / 1M tokens
$2.67
Output / 1M tokens
$21.42
Cache read / 1M tokens
$0.27

Specifications

Provider
OpenAI
Type
chat model
Context window
400K tokens
Max output
128K tokens
Knowledge cutoff
2024-09-30
Input
text, image
Output
text

Capabilities

VisionTool callingReasoningStreaming

Benchmarks

Independent evaluations and measured speed from Artificial Analysis.

Intelligence Index
36.1/100
Math Index
98.7/100
MMLU-Pro87%
GPQA Diamond84%
Humanity's Last Exam26%
LiveCodeBench84%
AIME 202599%
Output speed180.4 tok/s
Time to first token8.14 s

Source: Benchmark data by Artificial Analysis (artificialanalysis.ai)

What is GPT 5 Codex used for?

  • Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.
  • Image understanding — analyze photos, screenshots, charts and scanned documents.
  • Agents & automation — function calling and tool use for multi-step workflows.
  • Complex reasoning — math, coding and step-by-step problem solving.
  • Long-context tasks — process entire documents or codebases in a single prompt.
  • Real-time experiences — stream tokens for responsive chat and apps.

GPT 5 Codex vs. similar models

ModelIntelligenceContextInput / 1MOutput / 1M
GPT 5 Codex36.1400K$2.67$21.42
GPT 3.5$0.47$1.39
GPT 3.5 Turbo 16k$10.26$20.52
GPT 47.08K$64.26$128.52

Prices are Api.Airforce pay-as-you-go rates per 1M tokens. Context is the maximum input length.

Related models

GPT 5 Codex — frequently asked questions

How much does GPT 5 Codex cost?
GPT 5 Codex is billed pay-as-you-go at $2.67 per 1M input tokens and $21.42 per 1M output tokens. There is no subscription — you only pay for what you use.
What is the context window of GPT 5 Codex?
GPT 5 Codex supports a context window of up to 400K tokens. It can return up to 128K tokens in a single response.
What can GPT 5 Codex do?
GPT 5 Codex supports Vision, Tool calling, Reasoning.
Is GPT 5 Codex free to use?
GPT 5 Codex is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
How do I use GPT 5 Codex via the API?
GPT 5 Codex is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID gpt-5-codex with your Api.Airforce API key.
Who makes GPT 5 Codex?
GPT 5 Codex is OpenAI's chat model, served through the unified Api.Airforce gateway alongside 100+ other models.