GPT 5.2 Codex
GPT 5.2 Codex is the GPT-5.2 generation coding agent model from OpenAI, combining GPT-5.2 advances in reasoning with purpose-built autonomous software engineering capabilities.
import { streamText } from 'ai'
const result = streamText({ model: 'openai/gpt-5.2-codex', prompt: 'Why is the sky blue?'})