GPT-5.1 Codex Mini
Model Information
Display Name: GPT-5.1 Codex Mini
API Model ID: openai/gpt-5.1-codex-mini
Category: Image To Text
Description: GPT-5.1 Codex Mini is the smaller, faster version of GPT-5.1-Codex — OpenAI's line tuned for software engineering, built for interactive development sessions and long, independent execution of engineering tasks. **Key Features:** - 400,000-token context window - Up to 100K output tokens - Multimodal input: text and image - Function/tool calling and structured outputs (JSON schema) - Reasoning with adjustable effort - Low latency and low cost per task **Best For:** - Agentic coding: generating, editing and reviewing code - Tool-driven engineering workflows - Fast iterations where cost per call matters **Note:** optimized to act on code. Prompts that forbid its natural output (e.g. "answer in at most N sentences, without rewriting the code") can make it spend the whole budget reasoning and return nothing.
Context Window: 400,000 tokens
Max Output: 100,000 tokens
How to Use This Model
To use GPT-5.1 Codex Mini via the HInow.ai API, use the model ID: openai/gpt-5.1-codex-mini
API Request Example (Chat/Text)
POST https://api.hinow.ai/v1/chat/completions
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"model": "openai/gpt-5.1-codex-mini",
"messages": [
{"role": "user", "content": "Your message here"}
]
}
API Request Example (Image Generation)
POST https://api.hinow.ai/v1/images
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"model": "openai/gpt-5.1-codex-mini",
"prompt": "Your image description here"
}
Pricing
- input: $0.375
- output: $3.00
Available Parameters
- max_tokens: Max tokens to generate, including reasoning (Options: 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 100000)
- reasoning_effort: Reasoning depth (Options: minimal, low, medium, high)
- seed: Integer seed for reproducible sampling
- tools: Function/tool definitions for agentic workflows
- tool_choice: Controls whether the model calls a tool (Options: auto, none, required)
- response_format: Output format (structured outputs supported) (Options: text, json_object, json_schema)
Quick Reference
To use this model, set: "model": "openai/gpt-5.1-codex-mini"
Featured: No
Documentation: https://hinow.ai/models/openai/gpt-5.1-codex-mini
API Endpoint: https://api.hinow.ai/v1


