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?'
})
Throughput

P50 throughput on live AI Gateway traffic, in tokens per second (TPS). Visit the docs for more info.