OpenAI
gpt-5.1-codex-mini
GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex
USD / 1M tokens
USD · Price estimate · Updated 2026-10-06
Context window
400,000tokens · model specificationModel max output
128,000tokensFirst request
Upstream rate limit. This entry is not currently enabled in the Tokely API.
Compare nearby prices
| Model | Input | Output | Context |
|---|---|---|---|
| gpt-5.1-codex-miniOpenAI · this model | $0.459563 | $3.6765 | 400,000 |
| gpt-5-miniOpenAI | $0.459563 | $3.6765 | 400,000 |
| gpt-5-mini-2025-08-07OpenAI | $0.459563 | $3.6765 | 400,000 |
| MiniMax-M2.7MiniMax | $0.825 | $3.3 | 204,800 |
| gemini-3.1-flash-liteGoogle | $0.597432 | $3.584588 | 1,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 referenceFrequently 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.