SunsetDiff

Replacement for o1-mini: what changes when you switch

The official replacement is o4-mini. o1-mini shut down on 2025-10-27 per OpenAI's deprecation page (checked 2026-10-17). On the labeled example of 10 million input tokens and 2 million output tokens, o4-mini costs $19.8 a month, the same as $19.8 for o1-mini.

o1-mini model page · OpenAI

Official replacement. Full diff page

o1-mini to | (o4-mini)

All values from official sources Checked 2026-10-17.

Price per 1M tokens

Price comparison. Example monthly cost for 10M input tokens and 2M output tokens. Labeled example, not a bill.
FieldOldNewChange
Input $1.1 $1.1 0% (same)
Output $4.4 $4.4 0% (same)
Cached input $0.55 $0.275 Not published
Example monthly cost $19.8 $19.8 Example only

Context and max output

Token limits
LimitOldNewChange
Context window 128,000 200,000 +56.3% (higher)
Max output 65,536 100,000 +52.6% (higher)

Capabilities that differ

No differing capability values are published for both models.

API changes

No parameter change is listed on the official pages we checked. The sample below only swaps the model id.

Code

python before
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
    model="o1-mini",
    messages=[{"role": "user", "content": "Hello"}],
)
python after
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
    model="o4-mini",
    messages=[{"role": "user", "content": "Hello"}],
)
typescript before
import OpenAI from "openai";
const client = new OpenAI();
const response = await client.chat.completions.create({
  model: "o1-mini",
  messages: [{ role: "user", content: "Hello" }],
});
typescript after
import OpenAI from "openai";
const client = new OpenAI();
const response = await client.chat.completions.create({
  model: "o4-mini",
  messages: [{ role: "user", content: "Hello" }],
});
curl before
curl https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"o1-mini","messages":[{"role":"user","content":"Hello"}]}'
curl after
curl https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"o4-mini","messages":[{"role":"user","content":"Hello"}]}'

Checklist

  1. Read the shutdown date for o1-mini on the linked official page.
  2. Point your requests at o4-mini.
  3. Re-check price, context, and parameters on the provider pages linked here.
  4. Ship the change before the published shutdown date.

Related models

Questions

What is the replacement for o1-mini?

The official replacement is o4-mini. o1-mini shut down on 2025-10-27 per OpenAI's deprecation page (checked 2026-10-17). On the labeled example of 10 million input tokens and 2 million output tokens, o4-mini costs $19.8 a month, the same as $19.8 for o1-mini.

Is o4-mini cheaper than o1-mini?

The labeled example monthly cost is the same: $19.8.

Does o4-mini have a bigger context window than o1-mini?

Yes. The context window changes from 128,000 to 200,000 tokens.

Sources

Deprecation alerts

We store your email for deprecation alerts. We do not send email.

Deprecation alert signup
Providers (optional)