OpenAI: o4 Mini · fastrouter
OpenAI o4-mini combines exceptional efficiency with sophisticated reasoning capabilities in a compact model from the o-series. Released in April 2025, this streamlined solution maintains powerful multimodal and agentic capabilities while significantly reducing computational requirements. The model achieves remarkable benchmark performance, including near-perfect scores on AIME with Python (99.5%) and competitive results on SWE-bench, outperforming its predecessor o3-mini and approaching the larger o3 model in several domains. Despite its optimized size, o4-mini excels in STEM tasks, visual problem-solving (MathVista, MMMU), and code editing applications. Its refined reinforcement learning architecture enables sophisticated capabilities like tool chaining, structured output generation, and multi-step task completion with minimal latency—often resolving complex problems in under a minute, making it ideal for high-throughput scenarios prioritizing both speed and quality.
Input, $/1M $1.10
Output, $/1M $4.40
Cache read $0.28
Cache write —
Context 200 000
Max output 100 000
Accepts images, text
Last checked 04.11.2026 12:00:14 UTC
Source provider's page
Price alerts
API
OpenAI-compatible API: the official OpenAI SDKs work with this base URL. Replace YOUR_API_KEY with your key from the provider.
| API base URL | |
|---|---|
| Endpoint | |
| Model id | |
curl
curl https://go.fastrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "openai/o4-mini", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'Python
import requests
r = requests.post(
"https://go.fastrouter.ai/api/v1/chat/completions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "openai/o4-mini",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
},
)
print(r.json())JavaScript
const r = await fetch("https://go.fastrouter.ai/api/v1/chat/completions", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "openai/o4-mini",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}),
});
console.log(await r.json());Request (JSON)
{
"model": "openai/o4-mini",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Response (JSON)
{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "openai/o4-mini",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hi! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}The address is taken from the provider's model list; check it against the provider's documentation.
Source: AI Rate Card, https://airatecard.com/en/c/offer%3Afastrouter%7Copenai/o4-mini, prices checked 2026-11-04; seller's page: https://fastrouter.ai/models/openai/o4-mini
Technical details
ID: offer:fastrouter|openai/o4-mini