OpenAI
Basic

GPT-5.1 Codex Mini

gpt-5.1-codex-mini

OpenAI's lightweight Codex — fast and affordable code generation on the Basic plan.

代码

技术规格

API 标识符gpt-5.1-codex-mini
订阅计划Basic
最大上下文200 000 tokens
视觉(图像)
原生网络访问
图像生成
输入成本$0.40 / M tokens
输出成本$1.60 / M tokens

概述

GPT-5.1 Codex Mini is the compact version of OpenAI's Codex family, specialized in code generation and completion. With 200,000 tokens of context and a controlled cost, it's well suited to everyday development tasks — functions, scripts, small modules — without the bill of a top-tier Codex model. Mingo selects it on the Basic plan for code requests that don't need the depth of GPT-5.1 Codex Max.


优势

FastAffordableCode-specialized200K context

理想使用场景

Functions and scripts

Quick generation of functions, utility scripts and small modules.

Code completion

Suggestions and completions in an editor or coding assistant.

Simple bug fixes

Identifying and fixing common errors in small files.

Unit tests

Generating unit tests for existing functions.

定价

输入 Token
$0.40
每百万 Token
输出 Token
$1.60
每百万 Token

常见问题

What is the difference between Codex Mini and Codex Max?
GPT-5.1 Codex Max offers much greater depth and context for large refactors, while Codex Mini is optimized for speed and cost on everyday code tasks.
Is GPT-5.1 Codex Mini available on Basic?
Yes, Mingo selects GPT-5.1 Codex Mini for code tasks on the Basic plan.
Does GPT-5.1 Codex Mini support multiple programming languages?
Yes, like the whole Codex family, it supports most common programming languages.

Use GPT-5.1 Codex Mini with Mingo

Mingo automatically routes your everyday code tasks to GPT-5.1 Codex Mini on the Basic plan.

免費試用 Mingo