Skip to content
Dashboard

GPT-5.1-Codex

GPT-5.1-Codex is a GPT-5.1 generation coding agent model designed for autonomous software engineering, combining improved reasoning over the GPT-5 codex generation with the ability to read, write, execute, and verify code in sandboxed environments. 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',
prompt: 'Why is the sky blue?'
})
Read docs

Copy link to headingProviders

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
Free Tier
Release Date
400K128K
0.5s
67tps
$1.25/M
$10/M
Read:$0.13/M
Write:
$14/K
+ input costs
+3
11/12/2025