Skip to content

Model detail

gpt-5.1-codex-mini

Provided by OpenAI
Pay-as-you-go

GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex

Model specs

Context length
400K
Max output
128K
I/O modalities
Text / Image
Released
2025-11

02

API endpoints

One MixRoute gateway, OpenAI-compatible

  • OpenAI-compatible /v1/chat/completions POST

03

Pricing

Flat rate, unit: /1M Tokens

Input

$1.2500 /1M Tokens

Completion

$10.0000 /1M Tokens

05

Selection summary

Quickly judge whether it fits your workload

What is this model good for?

Smaller and faster coding tasks

Use gpt-5.1-codex-mini when a lighter, faster option is sufficient for scoped development work derived from a Codex workflow.

What should you check before using it?

Confirm quality on the smaller task profile

Compare code correctness, latency, and completion quality with a larger coding model on the routine tasks you intend to route here.

How should you start?

Route bounded development work to gpt-5.1-codex-mini

Use model ID gpt-5.1-codex-mini for a controlled pilot, with tests and review retained for every proposed code change.

08

Token cost estimator

Live estimate from this page's pricing, not an actual bill

This model has no cache-read price; caching is not counted

09

FAQ

gpt-5.1-codex-mini is a smaller and faster option for scoped coding work where a lighter Codex-oriented model is sufficient.

One endpoint, a testable decision

Test this model and alternate routes with the same request format

Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.