Skip to content

OpenAI GPT-5 & o3 Shut Down on 2026-12-11: 8-Day Emergency Migration Guide ​

Last verified: 2026-12-03 (8 days before cutover) — checked against the OpenAI API Deprecations schedule and GPT-6.2 documentation. Quoted per-token prices are official OpenAI list prices, not byesu rates; on byesu, text models are billed pay-as-you-go per token with live rates displayed in the console after sign-in.

8-Day Countdown: Cutover on December 11, 2026

On December 11, 2026 (six months after OpenAI's June 11, 2026 deprecation notice), OpenAI removes gpt-5 (gpt-5-2025-08-07), gpt-5-mini (gpt-5-mini-2025-08-07), gpt-5-nano (gpt-5-nano-2025-08-07), gpt-5-pro (gpt-5-pro-2025-10-06), o3 (o3-2025-04-16), and o3-pro (o3-pro-2025-06-10) from the API. Four days later, on December 15, 2026, OpenAI closes new fine-tuning job creation on select legacy base models. After cutover, requests to retired IDs fail immediately with model-not-found errors. Paste your .env or LiteLLM YAML into the Interactive Model Deprecation & Silent Reroute Scanner to flag affected IDs in browser.

Official Retirement & Replacement Table (2026-12-11) ​

Following the November 17, 2026 release of GPT-6.2, OpenAI updated its official Deprecations table so that gpt-5, o3, and their pro tiers point directly to gpt-6.2-sol rather than gpt-6.1-sol:

Retiring Model FamilyPinned Snapshot Shutting DownOfficial OpenAI ReplacementAPI / Mode Notes
gpt-5gpt-5-2025-08-07gpt-6.2-solSupports /v1/responses & /v1/chat/completions
gpt-5-minigpt-5-mini-2025-08-07gpt-6.1-terraMid-tier efficiency replacement on OpenAI's catalog
gpt-5-nanogpt-5-nano-2025-08-07gpt-6-lunaHigh-volume efficiency tier ($0.10 / $0.50 OpenAI list)
gpt-5-progpt-5-pro-2025-10-06gpt-6.2-solSet reasoning.mode: "pro" on /v1/responses
o3o3-2025-04-16gpt-6.2-solSupports /v1/responses & /v1/chat/completions
o3-proo3-pro-2025-06-10gpt-6.2-solSet reasoning.mode: "pro" on /v1/responses
Fine-tunes on these bases—Retrain on current baseLegacy base fine-tuning job creation ends 2026-12-15

Watch the 2026-12-15 Fine-Tuning Cutoff

Existing fine-tunes built on retiring base models stop serving on the base model's shutdown date, and OpenAI moved up the deadline for creating new fine-tuning jobs on select legacy base models to December 15, 2026 (ahead of the wider January 6, 2027 self-serve fine-tuning transition). Export your JSONL training sets now and validate replacement runs on supported current models instead of attempting last-minute legacy retraining.

Three Breaking Changes When Switching gpt-5 / o3 → gpt-6.2-sol ​

Changing the model string alone is rarely enough. Check these three failure modes before flipping production traffic:

1. max_tokens Returns HTTP 400 (unsupported_parameter) ​

Legacy Chat Completions callers that still send max_tokens will fail immediately at request validation:

  • On /v1/chat/completions: rename max_tokens to max_completion_tokens.
  • On /v1/responses: use max_output_tokens (minimum 16).
  • Reserve reasoning headroom: both caps cover internal reasoning tokens plus visible output tokens. A tight cap like 1024 can be consumed entirely during thinking and return an empty message with finish_reason: "length". Reserve at least 16,000–25,000 tokens when migrating o3 or gpt-5 workloads.
  • Full walkthrough and sanitizer snippet: OpenAI Unsupported parameter: max_tokens Fix Guide.

2. reasoning.effort: "none" and temperature Overrides Are Rejected ​

Early gpt-5 configurations often set reasoning_effort: "minimal" or "none" alongside temperature: 0.2 for low-latency classification or extraction. On gpt-6.2-sol:

  • reasoning.effort: "none" and "minimal" return HTTP 400 (unsupported_value). Supported levels on gpt-6.2-sol are "low", "medium" (default), "high", and "xhigh". If you genuinely need "none" with sampling parameters, route lightweight tasks to gpt-6-luna instead.
  • Strip temperature, top_p, top_logprobs, and logprobs. Because gpt-6.2-sol always runs at effort "low" or higher, sending custom sampling parameters triggers HTTP 400. Check LangChain, LlamaIndex, and internal SDK wrappers that inject temperature=0 or temperature=0.7 behind the scenes.
  • Migrating gpt-5-pro and o3-pro: move those calls to /v1/responses on gpt-6.2-sol with "reasoning": {"mode": "pro"} (and set HTTP read timeouts to >= 180s with streaming enabled).
  • Full per-model matrix: OpenAI reasoning.effort Unsupported Value Fix Guide.

3. The 272K Input Pricing Cliff on gpt-6.2-sol ​

gpt-6.2-sol expands the context window from gpt-5's 400K / o3's 200K ceiling up to 1,050,000 tokens (922K max input / 128K max output), but OpenAI's official pricing schedule introduces a sharp step-function threshold at 272,000 input tokens (verified against OpenAI's November 17, 2026 GPT-6.2 rate card):

OpenAI Official Tier (gpt-6.2-sol)≤ 272,000 Input Tokens> 272,000 Input Tokens (Full Request)
Uncached Input$2.00 / MTok$4.00 / MTok (2×)
Cached Input Read$0.10 / MTok$0.20 / MTok (2×)
30-Minute Cache Write$2.50 / MTok$5.00 / MTok (2×)
Output Tokens$10.00 / MTok$15.00 / MTok (1.5×)

Crossing 272,001 input tokens re-prices every token in the request, not just the overflow above 272K. If removing an old context cap lets an agent dump raw logs or entire repository trees into the prompt, a single 280K-input / 20K-output call jumps by roughly 85% at official list rates compared to a compacted 260K-input call. Keep explicit context truncation or conversation compaction below 250K–260K tokens on gpt-6.2-sol.

Emergency Audit: Catch Every Pinned Model ID Today ​

Step 1: One-Line Repository & Config Grep ​

Scan application code, .env templates, Helm charts, Terraform variables, and GitHub Actions workflows for every retiring alias and dated snapshot:

bash
grep -rnE --exclude-dir=node_modules --exclude-dir=.git --exclude-dir=.venv \
  'gpt-5(-mini|-nano|-pro|-2025-[0-9-]+)?|\bo3(-pro|-2025-[0-9-]+)?' .

Watch out for false negatives in admin databases, Dify / n8n workflow JSON exports, and developer IDE configs (~/.codex/config.toml, Cursor custom model lists) that live outside Git.

Step 2: Fail CI Automatically Using GET /v1/models shutdown_date ​

OpenAI exposes an optional shutdown_date string (YYYY-MM-DD) on GET /v1/models once a model's retirement is scheduled. Add this check to CI or a daily cron so future waves (such as the 2027-01-14 GPT-4o / GPT-4.1 shutdown) never sneak up on your team:

bash
curl -fsSL https://api.openai.com/v1/models \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
| jq -r '.data[] | select(.shutdown_date != null) | "\(.id)\t\(.shutdown_date)"' \
| sort -k2

Step 3: Safe Drop-In Request Shape on https://byesu.com/v1 ​

Here is a clean Python migration pattern using the OpenAI Responses API against https://byesu.com/v1 with explicit reasoning effort, max_output_tokens, and a p95-safe timeout:

python
from openai import OpenAI

client = OpenAI(
    api_key="sk-YOUR_TOKEN",
    base_url="https://byesu.com/v1",
    timeout=120.0,
)

resp = client.responses.create(
    model="gpt-6.2-sol",
    reasoning={"effort": "medium"},   # low | medium | high | xhigh (never "none")
    max_output_tokens=16384,          # replaces legacy max_tokens; covers reasoning + text
    input="Review this Go HTTP handler diff for context cancellation leaks.",
)
print(resp.output_text)

Landing the Migration Through byesu (What We Serve & Cross-Provider Fallbacks) ​

Centralizing model calls behind an OpenAI-compatible gateway means future snapshot retirements require updating one routing variable rather than redeploying dozens of microservices. If you route through byesu (https://byesu.com/v1), note the exact catalog coverage so your cutover plan has zero surprises:

  • Served directly with one default auto-group token: gpt-6.2-sol, gpt-6.2-astra, gpt-6.1-sol, and gpt-6-luna.
  • Important note on gpt-6.1-terra and retired IDs: a gateway only serves active models in its own catalog. byesu does not keep retired gpt-5 or o3 snapshots alive past OpenAI's shutdown, and if gpt-6.1-terra is not listed in the console for your route, map gpt-5-mini workloads either down to gpt-6-luna (for fast, high-throughput extraction) or up to gpt-6.2-sol (for tool-heavy reasoning). Always confirm live model availability and pay-as-you-go token rates in the byesu console after sign-in.
  • High-uptime cross-provider fallbacks on the same key: in late-November real-traffic benchmarks (week of 2026-11-23), newly launched gpt-6.2-sol posted a 97.64% weekly success rate and 34.56s p95 TTFT. With the same sk- token and /v1/chat/completions client, you can configure automatic failover to claude-opus-5-5 (99.99% weekly success, 1.93s p50 TTFT) or deepseek-v4-pro (99.90% weekly success, 3.16s p50 TTFT) whenever upstream OpenAI reasoning queues spike during the December 11 migration rush.

Need ready-to-paste client configs for Codex CLI, Cursor, or Cline? Use the AI Client & SDK Config Generator.

FAQ ​

Which OpenAI models shut down on December 11, 2026? ​

On December 11, 2026 (announced June 11, 2026), OpenAI shuts down gpt-5 (gpt-5-2025-08-07), gpt-5-mini (gpt-5-mini-2025-08-07), gpt-5-nano (gpt-5-nano-2025-08-07), gpt-5-pro (gpt-5-pro-2025-10-06), o3 (o3-2025-04-16), and o3-pro (o3-pro-2025-06-10), along with fine-tuned versions built on those snapshots.

What are OpenAI's official replacement models for the 2026-12-11 shutdown? ​

Per OpenAI's API Deprecations schedule (verified 2026-12-03): gpt-5 and o3 → gpt-6.2-sol; gpt-5-pro and o3-pro → gpt-6.2-sol with reasoning.mode: "pro" in the Responses API; gpt-5-mini → gpt-6.1-terra; and gpt-5-nano → gpt-6-luna.

Why do requests fail with HTTP 400 after switching gpt-5 or o3 to gpt-6.2-sol? ​

Check two fields first: replace legacy max_tokens with max_completion_tokens (Chat Completions) or max_output_tokens (Responses API), and remove reasoning.effort: "none" / "minimal" as well as temperature and top_p overrides.

What changes on December 15, 2026 for OpenAI fine-tuning? ​

OpenAI moved up the cutoff for creating new fine-tuning jobs on select legacy base models to December 15, 2026. Export your training sets now and train new fine-tunes on supported current base models rather than legacy snapshots.

Got a problem? Contact support or join our group.