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.
import { streamText } from 'ai'
const result = streamText({ model: 'openai/gpt-5.1-codex', prompt: 'Why is the sky blue?'})Playground
Try out GPT-5.1-Codex by OpenAI. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.