Skip to content
Dashboard

GPT 5.1 Codex Mini

GPT 5.1 Codex Mini is the lightweight, fast variant in the GPT-5.1 codex family, optimized for routine coding tasks like bug fixes, feature scaffolding, and test generation at a cost that scales to high-frequency CI and development workflows.

File InputImplicit CachingReasoningTool UseVision (Image)Web Search
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'openai/gpt-5.1-codex-mini',
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
64tps
$0.25/M
$2/M
Read:$0.03/M
Write:
$14/K
+ input costs
+3
11/12/2025
OpenAI
Legal:Terms
Privacy
400K128K
$0.25/M
$2/M
Read:$0.03/M
Write:
$10/K
+ input costs
+3
11/12/2025