Codex Mini
Codex Mini is OpenAI's lightweight coding agent model optimized for fast, asynchronous software engineering tasks like writing features, fixing bugs, and running tests in sandboxed cloud environments.
import { streamText } from 'ai'
const result = streamText({ model: 'openai/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 |
|---|