Skip to content

Codex Mini

Codex Mini is OpenAI's lightweight coding agent model optimized for fast, asynchronous software engineering tasks like writing features, fixing bugs, and running tests in sandboxed cloud environments.

ReasoningVision (Image)File InputTool UseImplicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'openai/codex-mini',
prompt: 'Why is the sky blue?'
})
Latency

P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.