OpenAI: GPT-5.1 Codex Mini
stableGPT-5.1 Codex Mini is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.
gpt-5.1-codex-minigpt-5
Context
400K
tokens
Max output
128K
tokens
Input
$0.25
per 1M
Output
$2.00
per 1M
Activity
Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.
Providers
ProviderContextInput /MOutput /M
Pricing
| Item | Price | Unit |
|---|---|---|
| Input | $0.25 | per 1M tokens |
| Output | $2.00 | per 1M tokens |
| Cache read | $0.025 | per 1M tokens |
Performance
Reliability
Compare
Compare usage and performance
Place this model beside up to three other catalog models.
Capabilities
Capabilities
Modalities
Input
Output
Details
- Model ID
- gpt-5.1-codex-mini
- Family
- gpt-5
- Status
- stable
- Knowledge
- -
- Released
- -
Gateway Config
- API
- 2024-01-01
- Auth
- OPENAI_API_KEY
- Discovery
- static
- Provider type
- static
Quick Start
index.ts
Endpoint
Base URL
https://api.openai.com/v1Chat completions
https://api.openai.com/v1/chat/completionsModel
gpt-5.1-codex-miniAuth env
OPENAI_API_KEYGPT-5.1 Codex Mini FAQ
How much does the GPT-5.1 Codex Mini API cost?
Through OpenAI, GPT-5.1 Codex Mini costs $0.25 per 1M input tokens and $2.00 per 1M output tokens.
What is the context window of GPT-5.1 Codex Mini?
GPT-5.1 Codex Mini accepts up to 400K tokens of context and returns up to 128K output tokens on OpenAI.
What can GPT-5.1 Codex Mini do?
GPT-5.1 Codex Mini supports chat, function calling, image input, reasoning and coding. It accepts text and image input.
How do I call GPT-5.1 Codex Mini through Everstack?
Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @openai/gpt-5.1-codex-mini. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.
