GPT-5.1-Codex-Mini
openai/gpt-5.1-codex-mini
GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex
Key facts
- Input price
- $0.25 / 1M tokens
- Output price
- $2.00 / 1M tokens
- Context window
- 400K tokens
- Max output
- 128K tokens
- Accepts
- Text, Images
- Returns
- Text
Example: 1,000 requests with 1,000 input and 500 output tokens each would cost about $1.25 (1M input tokens × $0.25 + 0.5M output tokens × $2.00). Estimate your own usage.
Prices are the provider’s own per-token rates with zero markup, from our price list as of Oct 18, 2026. If a call has extra provider charges (images, audio, web search, cached prompts), you pay the reported cost.
Call it from your code
curl https://api.tokenctr.com/v1/chat/completions \
-H "Authorization: Bearer $TOKENCENTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "openai/gpt-5.1-codex-mini", "messages": [{"role": "user", "content": "Hello!"}]}'Works with any OpenAI-compatible SDK: set the base URL to https://api.tokenctr.com/v1. Quickstart
Benchmarks
Artificial Analysis
- Intelligence index
- 20.4
Design Arena
| Category | Rank | Elo | Win rate |
|---|---|---|---|
| Models: ASCII art | 58 | 1107 | 43% |
| Models: SVG | 88 | 976 | 35.3% |
| Models: Game dev | 95 | 1096 | 43.4% |
| Models: Data visualization | 98 | 1098 | 40.6% |
| Models: UI components | 98 | 1080 | 41% |
| Models: Websites | 102 | 1113 | 42.9% |
| Models: Code | 103 | 1096 | 41.5% |
| Models: 3D | 112 | 989 | 32.8% |
Source: Artificial Analysis indexes and Design Arena results as published in OpenRouter’s model data, fetched Oct 15, 2026. Higher is better. Not measured by TokenCenter. See all rankings.