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. Your use is subject to OpenAI's Terms & Privacy Policies.

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

Copy link to headingMore models by OpenAI

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
Providers
ZDR
No Training
Free Tier
Release Date
1.1M
1.9s
173tps
$0.20/MFast $0.40/M+1 more
$1.20/MFast $2.40/M+1 more
Read:
$0.02/M+1 more
Write:
$0.25/M+1 more
$10/K
+ input costs
+4
azure logo
bedrock logo
openai logo
07/09/2026
1.1M
2.3s
139tps
$4/M$2/M
Fast $4/M+1 more
$20/M$10/M
Fast $20/M+1 more
Read:
$0.40/M$0.20/M+1 more
Write:
$5/M$2.50/M+1 more
$10/K
+ input costs
+4
azure logo
bedrock logo
openai logo
07/09/2026
1.1M
2.2s
118tps
$2/MFast $4/M+1 more
$12/MFast $24/M+1 more
Read:
$0.20/M+1 more
Write:
$2.50/M+1 more
$10/K
+ input costs
+4
azure logo
bedrock logo
openai logo
07/09/2026
1M
0.5s
102tps
$5/MFast $12.50/M+1 more
$30/MFast $75/M+1 more
Read:
$0.50/M+1 more
Write:
$10/K
+ input costs
+4
azure logo
bedrock logo
openai logo
04/24/2026
400K
1.2s
216tps
$0.75/MFast $1.50/M
$4.50/MFast $9/M
Read:$0.08/M
Write:
$10/K
+ input costs
+4
azure logo
openai logo
03/17/2026
400K
4.2s
236tps
$0.05/M
$0.40/M
Read:$0.005/M
Write:
$14/K
+ input costs
+3
azure logo
openai logo
08/07/2025