All models

OpenAI

gpt-5.1-codex-mini

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

textUpstream rate limitreasoningfunction tools
gpt-5.1-codex-miniVersion date 2025-11-13
Our price

USD / 1M tokens

input$0.459563Official: $0.25
cached input$0.045957Official: $0.025
output$3.6765Official: $2

USD · Price estimate · Updated 2026-10-06

Official provider pricingVerified 2026-10-05 · Standard text tokens; excludes audio, images, tools and other billable features

Context window

400,000tokens · model specification

Model max output

128,000tokens

First request

Upstream rate limit. This entry is not currently enabled in the Tokely API.

Compare nearby prices

USD per million tokens. Compare price and context; these are not quality benchmarks.
ModelInputOutputContext
gpt-5.1-codex-miniOpenAI · this model$0.459563$3.6765400,000
gpt-5-miniOpenAI$0.459563$3.6765400,000
gpt-5-mini-2025-08-07OpenAI$0.459563$3.6765400,000
MiniMax-M2.7MiniMax$0.825$3.3204,800
gemini-3.1-flash-liteGoogle$0.597432$3.5845881,048,576

Capabilities & limits

Provider
OpenAI
API model ID
gpt-5.1-codex-mini
Category
Text
Endpoints
POST /v1/chat/completionsPOST /v1/responses
Model modalities
image, text. Tokely currently accepts text input.

The context includes your instructions, conversation history, tool definitions and generated output. Keep the input and requested output within the model’s context window.

OpenRouter model reference

Frequently asked questions

How much does gpt-5.1-codex-mini cost?

$0.459563 per million input tokens, $3.6765 per million output tokens and $0.045957 per million cached input tokens. This is an estimate; API access is currently unavailable.

Do I need a separate OpenAI account?

Use your Tokely API key and balance. A separate provider key is not required.

What is the context window?

400,000 tokens, including input and output. The Tokely request body and output limits listed above also apply.

Related versions