Home › AI Model Guides › GPT-4o API Shutdown

GPT-4o API Shutdown: January 14, 2027

Last verified: · Dates and prices from OpenAI's official docs only

OpenAI notified developers on October 14, 2026 that GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini will be removed from the API on January 14, 2027. Fine-tuned versions shut down on the same schedule. Recommended replacement: gpt-6-luna (OpenAI deprecations).

Countdown to shutdown

–days
–hours
–minutes
–seconds

Counting down to 00:00 UTC on January 14, 2027. OpenAI publishes the date only, not a time of day, so treat the whole day as the deadline and migrate earlier.

Which models are being shut down?

ModelSnapshotsShutdown dateReplacement
GPT-4ogpt-4o-2024-08-06, gpt-4o-2024-11-20January 14, 2027gpt-6-luna
GPT-4o minigpt-4o-mini-2024-07-18January 14, 2027gpt-6-luna
GPT-4.1gpt-4.1-2025-04-14January 14, 2027gpt-6-luna
GPT-4.1 minigpt-4.1-mini-2025-04-14January 14, 2027gpt-6-luna

Source: OpenAI deprecations, entry "2026-10-14: GPT-4 series model deprecations" (verified 2026-10-14).

What is GPT-6 Luna?

OpenAI describes GPT-6 Luna as its "most efficient model for focused, high-volume tasks" (model page):

Verified prices (standard, per 1M tokens)

ModelInputOutputSource
GPT-4o$2.50$10.00developers.openai.com (verified 2026-10-14)
GPT-4o mini$0.15$0.60developers.openai.com (verified 2026-10-14)
GPT-4.1$2.00$8.00developers.openai.com (verified 2026-10-14)
GPT-4.1 mini$0.40$1.60developers.openai.com (verified 2026-10-14)
GPT-6 Luna$0.10$0.50developers.openai.com/pricing (verified 2026-10-14)

Cached input, Batch, Flex and long-context rates differ and are not used in the calculator.

Migration cost calculator

MigrationOld monthly costgpt-6-luna monthly costMonthly difference
GPT-4o → gpt-6-luna
GPT-4o mini → gpt-6-luna
GPT-4.1 → gpt-6-luna
GPT-4.1 mini → gpt-6-luna

Standard list prices only. GPT-6 Luna supports reasoning tokens, which are typically billed as output, so real output token counts may differ; measure on your own traffic.

How do I migrate from GPT-4o to gpt-6-luna?

  1. Find every use. Search code and config for the model IDs above, including aliases like gpt-4o and fine-tuned model names. To monitor programmatically, call GET /v1/models and check each model's shutdown_date field (deprecations).
  2. Check the endpoint. gpt-6-luna works with Chat Completions, Responses and Batch, but not Assistants, Realtime, audio or fine-tuning (model page). If you use those, you need a different migration path.
  3. Change the model string to "model": "gpt-6-luna", behind a config flag so you can roll back.
  4. Test before switching. Re-run your prompts and evaluations, especially structured outputs, tool calls and output length. Luna's reasoning.effort defaults to medium (model page), which affects latency and output tokens.
  5. Plan fine-tunes. Fine-tuned versions shut down with their base models, and Luna does not support fine-tuning, so decide on a replacement approach early.
  6. Roll out gradually and watch cost, latency and error rates well before January 14, 2027.

Taking a break from migration? Open a free pixel blind box in Starbox, our guinea pig card game.

Play Starbox

FAQ

When is GPT-4o being removed from the OpenAI API?

OpenAI's deprecations page lists January 14, 2027 as the shutdown date for gpt-4o-2024-08-06 and gpt-4o-2024-11-20. Developers were notified on October 14, 2026.

Which models are affected?

GPT-4o (gpt-4o-2024-08-06, gpt-4o-2024-11-20), GPT-4o mini (gpt-4o-mini-2024-07-18), GPT-4.1 (gpt-4.1-2025-04-14) and GPT-4.1 mini (gpt-4.1-mini-2025-04-14). Fine-tuned versions of these models follow the same shutdown schedule.

Will my GPT-4o API access end completely?

For the listed snapshots, yes: OpenAI says they will be removed from the API on January 14, 2027. Requests to those model IDs should be migrated before then.

What replaces GPT-4o?

OpenAI's recommended replacement for all four models is gpt-6-luna.

How much does GPT-6 Luna cost compared with GPT-4o?

Standard prices per 1M tokens: gpt-6-luna $0.10 input / $0.50 output, GPT-4o $2.50 / $10.00, GPT-4.1 $2.00 / $8.00, GPT-4.1 mini $0.40 / $1.60, GPT-4o mini $0.15 / $0.60.

Can I fine-tune GPT-6 Luna to replace my GPT-4o fine-tune?

OpenAI's GPT-6 Luna model page lists fine-tuning as not supported. Fine-tunes on the deprecated models shut down with their base models, so plan an alternative before January 14, 2027.

How can I check shutdown dates programmatically?

Call GET /v1/models and read each model's optional shutdown_date field (a YYYY-MM-DD string, or null if none is announced).

Sources

  1. https://developers.openai.com/api/docs/deprecations (2026-10-14)
  2. https://developers.openai.com/api/docs/pricing (2026-10-14)
  3. https://developers.openai.com/api/docs/models/gpt-6-luna (2026-10-14)
  4. https://developers.openai.com/api/docs/models/gpt-4o (2026-10-14)
  5. https://developers.openai.com/api/docs/models/gpt-4o-mini (2026-10-14)
  6. https://developers.openai.com/api/docs/models/gpt-4.1 (2026-10-14)
  7. https://developers.openai.com/api/docs/models/gpt-4.1-mini (2026-10-14)

Last verified 2026-10-14. DreamCavy is not affiliated with OpenAI. Check the official deprecations page for changes.

Related guides & free tools

首页 › AI 模型指南 › GPT-4o API 下线

GPT-4o API 下线:2027 年 1 月 14 日

最后核实: · 日期与价格仅来自 OpenAI 官方文档

OpenAI 于 2026 年 10 月 14 日通知开发者:GPT-4o、GPT-4o mini、GPT-4.1 和 GPT-4.1 mini 将于 2027 年 1 月 14 日从 API 移除。微调版本按同一时间表下线。推荐替代:gpt-6-luna(OpenAI 弃用页)。

下线倒计时

–天
–时
–分
–秒

倒计时至 2027 年 1 月 14 日 00:00 UTC。OpenAI 只公布日期、未公布具体时刻,请把当天视为截止日并提前迁移。

哪些模型将下线?

模型快照下线日期替代
GPT-4ogpt-4o-2024-08-06, gpt-4o-2024-11-202027 年 1 月 14 日gpt-6-luna
GPT-4o minigpt-4o-mini-2024-07-182027 年 1 月 14 日gpt-6-luna
GPT-4.1gpt-4.1-2025-04-142027 年 1 月 14 日gpt-6-luna
GPT-4.1 minigpt-4.1-mini-2025-04-142027 年 1 月 14 日gpt-6-luna

来源:OpenAI 弃用页“2026-10-14: GPT-4 series model deprecations”条目 (核实于 2026-10-14)。

GPT-6 Luna 是什么?

OpenAI 称 GPT-6 Luna 是其“面向专注、高并发任务的最高效模型”(模型页):

已核实价格(标准价,每 100 万 token)

模型输入输出来源
GPT-4o$2.50$10.00developers.openai.com (核实于 2026-10-14)
GPT-4o mini$0.15$0.60developers.openai.com (核实于 2026-10-14)
GPT-4.1$2.00$8.00developers.openai.com (核实于 2026-10-14)
GPT-4.1 mini$0.40$1.60developers.openai.com (核实于 2026-10-14)
GPT-6 Luna$0.10$0.50developers.openai.com/pricing (核实于 2026-10-14)

缓存输入、Batch、Flex 与长上下文价格不同,计算器未使用。

迁移成本计算器

迁移原月成本gpt-6-luna 月成本月度差额
GPT-4o → gpt-6-luna
GPT-4o mini → gpt-6-luna
GPT-4.1 → gpt-6-luna
GPT-4.1 mini → gpt-6-luna

仅按标准标价计算。GPT-6 Luna 支持推理 token,通常按输出计费,实际输出 token 数可能不同,请用自己的流量实测。

如何从 GPT-4o 迁移到 gpt-6-luna?

  1. 找出所有用到的地方。在代码和配置中搜索上述模型 ID,包括 gpt-4o 这类别名和微调模型名。要用程序监控,可调用 GET /v1/models 并检查每个模型的 shutdown_date 字段(弃用页)。
  2. 检查端点。gpt-6-luna 支持 Chat Completions、Responses 和 Batch,不支持 Assistants、Realtime、音频或微调(模型页)。如果你用到这些,需要另寻迁移方案。
  3. 修改模型字符串为 "model": "gpt-6-luna",并用配置开关控制以便回滚。
  4. 切换前先测试。重跑你的提示词和评测,尤其是结构化输出、工具调用和输出长度。Luna 的 reasoning.effort 默认为 medium(模型页),会影响延迟和输出 token。
  5. 规划微调。微调版本随基础模型下线,而 Luna 不支持微调,请尽早确定替代方案。
  6. 逐步上线,并在 2027 年 1 月 14 日之前留足时间观察成本、延迟和错误率。

迁移间隙想放松一下?去星河卡盒免费开一个像素盲盒吧。

玩星河卡盒

常见问题

GPT-4o 什么时候从 OpenAI API 下线?

OpenAI 弃用页面列出 gpt-4o-2024-08-06 和 gpt-4o-2024-11-20 的下线日期为 2027 年 1 月 14 日。开发者于 2026 年 10 月 14 日收到通知。

哪些模型受影响?

GPT-4o(gpt-4o-2024-08-06、gpt-4o-2024-11-20)、GPT-4o mini(gpt-4o-mini-2024-07-18)、GPT-4.1(gpt-4.1-2025-04-14)和 GPT-4.1 mini(gpt-4.1-mini-2025-04-14)。基于这些模型的微调版本按同一时间表下线。

我的 GPT-4o API 访问会完全终止吗?

对所列快照来说是的:OpenAI 表示它们将于 2027 年 1 月 14 日从 API 移除。调用这些模型 ID 的请求应在此之前完成迁移。

用什么替代 GPT-4o?

OpenAI 为这四个模型推荐的替代都是 gpt-6-luna。

GPT-6 Luna 和 GPT-4o 价格对比?

标准价(每 100 万 token):gpt-6-luna 输入 $0.10 / 输出 $0.50,GPT-4o $2.50 / $10.00,GPT-4.1 $2.00 / $8.00,GPT-4.1 mini $0.40 / $1.60,GPT-4o mini $0.15 / $0.60。

能微调 GPT-6 Luna 来替代我的 GPT-4o 微调模型吗?

OpenAI 的 GPT-6 Luna 模型页显示不支持微调。基于被弃用模型的微调会随基础模型一起下线,请在 2027 年 1 月 14 日前规划替代方案。

如何用程序查询下线日期?

调用 GET /v1/models,读取每个模型可选的 shutdown_date 字段(YYYY-MM-DD 字符串;未公布时为 null)。

来源

  1. https://developers.openai.com/api/docs/deprecations (2026-10-14)
  2. https://developers.openai.com/api/docs/pricing (2026-10-14)
  3. https://developers.openai.com/api/docs/models/gpt-6-luna (2026-10-14)
  4. https://developers.openai.com/api/docs/models/gpt-4o (2026-10-14)
  5. https://developers.openai.com/api/docs/models/gpt-4o-mini (2026-10-14)
  6. https://developers.openai.com/api/docs/models/gpt-4.1 (2026-10-14)
  7. https://developers.openai.com/api/docs/models/gpt-4.1-mini (2026-10-14)

最后核实于 2026-10-14。DreamCavy 与 OpenAI 无关联。如有变动请以官方弃用页为准。

相关指南与免费工具