Skip to content
Dashboard

GPT-5-Codex

GPT-5-Codex is a GPT-5 family model specialized for autonomous software engineering, designed to operate as a coding agent that reads repositories, writes code, executes tests, and iterates on solutions in sandboxed environments.

File InputImplicit CachingReasoningTool UseVision (Image)Web Search
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'openai/gpt-5-codex',
prompt: 'Why is the sky blue?'
})

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Context
Max Output
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
ZDR
No Training
Release Date
Azure
Legal:Terms
Privacy
400K128K
0.7s
$1.25/M
$10/M
Read:$0.13/M
Write:
$14/K
+ input costs
+3
09/15/2025
OpenAI
Legal:Terms
Privacy
400K128K
$1.25/M
$10/M
Read:$0.13/M
Write:
$10/K
+ input costs
+3
09/15/2025