ft-o4-mini-2025-04-16 — Deprecated
- Deprecated
- —
- Shutdown
- 2026-10-23
- Status
- deprecated
- Replacement
- gpt-5-mini
Quick fix — copy & paste
Choose your language. The "before" block matches the deprecated call; the "after" block is the drop-in replacement.
# OpenAI: ft-o4-mini-2025-04-16 (deprecated)
model = "ft-o4-mini-2025-04-16" # Replacement
model = "gpt-5-mini" // OpenAI: ft-o4-mini-2025-04-16 (deprecated)
const model = "ft-o4-mini-2025-04-16"; // Replacement
const model = "gpt-5-mini"; "model": "ft-o4-mini-2025-04-16" "model": "gpt-5-mini" This migration was generated automatically from the model rename. If your code does more than swap a model id, double-check request/response shapes against the official OpenAI migration guide.
Error messages
Seeing one of these? You're in the right place.
-
model_not_found: ft-o4-mini-2025-04-16 -
The model `ft-o4-mini-2025-04-16` has been deprecated -
The model `ft-o4-mini-2025-04-16` does not exist or you do not have access to it
Replacement options
-
gpt-5-miniCompare token cost →
Other OpenAI deprecations
What this means for your code
ft-o4-mini-2025-04-16 is a fine-tuned model based on a deprecated base model. Fine-tuned models cannot be migrated by changing a string. The base model's deprecation means your fine-tune will stop working. You need to re-fine-tune on a supported base.
OpenAI has scheduled ft-o4-mini-2025-04-16 for shutdown on 2026-10-23. That gives you 168 days to migrate. Until then the model still works, but every API call after that date will return a model_not_found error.
Find every call in your codebase
Before you change anything, locate every place the deprecated model id is referenced. Search source files, environment files, feature flags, and config repos. Use these commands from your project root:
Python projects
grep -rn '"ft-o4-mini-2025-04-16"' --include="*.py" . JavaScript / TypeScript projects
grep -rn '"ft-o4-mini-2025-04-16"' --include="*.{js,ts,tsx,jsx}" . Anywhere (configs, scripts, infra)
grep -rn "ft-o4-mini-2025-04-16" . Migration checklist
Steps in order. Skip any that don't apply, but read the whole list — for fine tuning models, the non-obvious steps are usually the ones that break in production.
- 1. Identify the deprecated base model used by your fine-tune
- 2. Re-prepare your training data — format may need updating for the new base
- 3. Run a fresh fine-tuning job against a current base model
- 4. Validate the new fine-tune meets your evals before swapping in
- 5. Plan a parallel-run period where both the old and new fine-tunes serve traffic
Will this migration cost more?
Switching from ft-o4-mini-2025-04-16 to gpt-5-mini could change your costs significantly. Calculate the exact difference for your prompts.
Open the cost calculator →