OpenAI

OpenAI: o4-mini

deprecated

o4-mini is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.

o4-minio-seriesreleased Apr 16, 2025
Context
200K
tokens
Max output
100K
tokens
Input
$1.10
per 1M
Output
$4.40
per 1M

Activity

Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.

Providers

ProviderContextInput /MOutput /M

Pricing

ItemPriceUnit
Input$1.10per 1M tokens
Output$4.40per 1M tokens
Cache read$0.28per 1M tokens

Performance

Reliability

Compare

Compare usage and performance
Place this model beside up to three other catalog models.

Capabilities

Capabilities
Modalities
Input
Output
Details
Model ID
o4-mini
Family
o-series
Status
deprecated
Knowledge
-
Released
Apr 16, 2025
Gateway Config
API
2024-01-01
Auth
OPENAI_API_KEY
Discovery
static
Provider type
static

Quick Start

index.ts
import Everstack from "@everstack/node";const client = new Everstack({  apiKey: process.env.EVERSTACK_API_KEY!,  baseUrl: "https://{instance}.{region}.everstack.ai",});const completion = await client.chat.completions.create({  model: "@openai/o4-mini",  messages: [{ role: "user", content: "Explain vector cache routing." }],});console.log(completion.choices[0]?.message?.content);

Endpoint

Base URL
https://api.openai.com/v1
Chat completions
https://api.openai.com/v1/chat/completions
Model
o4-mini
Auth env
OPENAI_API_KEY

o4-mini FAQ

How much does the o4-mini API cost?

Through OpenAI, o4-mini costs $1.10 per 1M input tokens and $4.40 per 1M output tokens.

What is the context window of o4-mini?

o4-mini accepts up to 200K tokens of context and returns up to 100K output tokens on OpenAI.

Which providers offer o4-mini?

o4-mini is available from Azure OpenAI and OpenAI. Everstack can route between them with automatic fallback when one is unavailable.

What can o4-mini do?

o4-mini supports chat, function calling, image input and reasoning. It accepts text and image input.

How do I call o4-mini through Everstack?

Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @openai/o4-mini. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.