GPT 5.1 Codex Mini
OpenAI
openai/gpt-5.1-codex-mini
200K context
Context Window
200K
200,000 tokens
Max Output
33K
32,768 tokens
About this model
GPT-5.1 Codex Mini β fast and affordable code generation
This model supports up to 200K tokens of context. It provides strong code generation and debugging capabilities.
Access it through Chuizi.AI with a single ck- API key β no separate OpenAI account needed.
Highlights
200K context window
33K max output
Strong code generation
Best For
Code generationRefactoringDebuggingDocumentation
2025-11-12
Capabilities
ChatCodetoolscache
Aliases
gpt-5.1-codex-miniPricing (per 1M tokens)
| Pricing (per 1M tokens) | / 1M tokens |
|---|---|
| Input / 1M | $0.26 |
| Output / 1M | $2.10 |
| Cache Read | $0.03 |
Final prices shown
Quick Start
main.py
from openai import OpenAI client = OpenAI( base_url="https://api.chuizi.ai/v1", api_key="ck-your-key-here", ) response = client.chat.completions.create( model="openai/gpt-5.1-codex-mini", messages=[{"role": "user", "content": "Hello!"}], ) print(response.choices[0].message.content)