OpenAI o4-mini Model
OpenAI retired o4-mini from its API on October 23, 2026. This record preserves historical model details; the former API identity is unavailable, and OpenAI recommends GPT-5.6 Terra as a migration target.
- OpenAI recommended migration target
A different model requiring its own input, output, price and behavior checks.
🚀Function Overview
o4-mini is a historical model retired from OpenAI’s API on October 23, 2026. A migration suggestion is not an automatic runtime replacement.
Key Features
- OpenAI shutdown date: October 23, 2026; exact alias/snapshot scope in the official deprecations table.
- Historical specifications and sample syntax below do not prove current endpoint or gateway access.
- Examples are historical illustrations; GetLLMs did not execute requests or verify historical sample outputs.
- Optimized for math, code, and visual reasoning
- Agentic tool use (browsing, Python, image generation)
- Improved instruction following and conversational abilities
- Low-latency performance for high-throughput tasks
- Historical hardware and aggregator prices have not been verified against an archived provider contract; no current direct OpenAI price is implied.
Use Cases
- •Real-time assistant applications
- •Structured reasoning with tool use (web/Python)
- •Document analysis and visual interpretation
- •High-throughput workflows with tight latency requirements
⚙️Input Parameters
prompt
stringThe prompt to send to the model. Do not use if using messages.
system_prompt
stringSystem prompt to set the assistant's behavior
image_input
arrayList of images to send to the model
reasoning_effort
stringConstrains effort on reasoning for reasoning models. Currently supported values are low, medium, and high. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
max_completion_tokens
integerMaximum number of completion tokens to generate
💡Usage Examples
Example 1
Input Parameters
{
"prompt": "What is the theme of the Iliad?",
"system_prompt": "You only speak in mathematical terms.",
"reasoning_effort": "high",
"max_completion_tokens": 4096
}Output Results
Quick Actions
Technical Specifications
- Hardware Type
- Not specified
- Run Count
- 4.3k
- Commercial Use
- Supported
- Pricing
- Retired direct OpenAI API model; historical prices are not established by the reviewed sources. Previous aggregator quotes are unverified.
- Platform
- Replicate