GPT-5.1-Codex-Mini is the smaller, faster, and more cost-effective member of OpenAI's GPT-5.1 Codex family β built specifically for quick code edits, interactive coding sessions, and cost-sensitive agentic workflows. Released on November 13, 2025 alongside GPT-5.1 and GPT-5.1-Codex, it shares the same 400K context window and 128K max output as its siblings but at roughly one-fifth the price: $0.25/M input tokens and $2/M output tokens.
Like all Codex-family models, GPT-5.1-Codex-Mini is accessed through Codex surfaces (CLI, IDE extension, cloud sandbox, code review) or via the OpenAI API. It supports the same parameter set as GPT-5.1-Codex β temperature, max_tokens, tools, tool_choice, response_format, reasoning, stop β including adaptive reasoning effort with 'none' through 'high' levels. From a TheRouter operator's perspective, the model is listed as active and reachable through the standard /v1/chat/completions endpoint at the attractive $0.25/$2 price point.
Use GPT-5.1-Codex-Mini when you need fast, cost-effective coding assistance for interactive editing, quick PR reviews, or lightweight agentic tasks that don't require the frontier reasoning of GPT-5.1-Codex or GPT-5.1-Codex-Max. For long-running autonomous coding sessions (24+ hours), front-end GPT-5.1-Codex-Max is the better choice; for general reasoning and chat, route to openai/gpt-5.1.