All guides
Operations

When an LLM Is Deprecated: How to Migrate Without a Cost Surprise

What deprecation schedules look like, how cost shifts when you move to the successor, and monthly cost comparisons for seven real deprecated-to-successor pairs.

Deprecation is a cost event as well as an engineering one. When a model is retired, you move to a successor whose per-token price, output length and context window may all differ, and in our data the monthly bill for the same workload moved anywhere from down 55% to up 300% across real pairs. The fix is to price the move before the shutdown date, using your own token mix, and to leave time to test.

Deprecation dates below are as of October 24, 2026, hand-researched from each provider's lifecycle documentation, so some dates listed as upcoming have since passed. Prices are per 1 million tokens, as of November 25, 2026. Always confirm a date and replacement on the provider's page before you plan around it. Our live tracker is at /deprecations.

What the schedules look like

We track deprecation pages for nine providers, and they are not equally useful. Five publish dated schedules (OpenAI, Anthropic, Google, Mistral, Moonshot). Three publish partial information (Qwen, xAI, DeepSeek). One, Z.AI, has no public deprecation page or retirement dates we could find. If you depend on a provider in the second or third group, you will learn about retirements from changelogs and emails, so subscribe to them and do not wait for a dashboard to warn you.

Across the five documented providers and Qwen, the data holds 31 dated entries. On October 24, 18 were still in the future. For those 18:

  • The median remaining time to shutdown was 68 days.
  • 3 were within 30 days, 9 within 60 days, 13 within 90 days and 16 within 180 days.
  • The longest runway was Google's gemini-embedding-001, at 568 days.

That is time remaining at the snapshot, not the notice originally given, because the data records shutdown dates and not announcement dates. The only explicit notice commitment in the data is Anthropic's: at least 60 days before retiring a publicly released model. Active Anthropic models also carry a "not sooner than" earliest-retirement date, which is a floor and not an announced retirement. Treat 60 days as the planning minimum, not the typical case, and do not assume other providers offer it.

Two patterns are worth knowing:

Retirements arrive in batches. OpenAI's list has 15 dated entries, with three sharing 2026-11-30, and six falling between 2026-10-23 and 2026-12-11 (covering o3, the gpt-5 snapshots and several image models). A single date can retire many of your models at once.

Not every deprecation names a replacement, and not every one is a model. Two entries say "No replacement listed" or "No replacement model" (OpenAI's Videos API and its v1/prompts API). Others retire products: OpenAI's Assistants API, Evals dashboard and Agent Builder, and an Anthropic API change on 2026-10-21 that removed the temperature, top_p and top_k parameters, which now return a 400 error. Those cost you engineering time rather than per-token money, but they show up on the same deadline.

Some providers also reroute silently. Google lists older stable names such as gemini-3.5-flash and gemini-3.7-flash as auto-routed to gemini-3.6-flash and gemini-3.8-flash, with no shutdown date. DeepSeek likewise routes legacy deepseek-v4-flash names to V4.1-Flash with no end date given. If you call an alias, your bill and your outputs can change without a code change.

How often models leave

Deprecation notices are only part of the churn. Our catalog has recorded 19 model ids that have left it. Seven of them are batch listings, leaving 12 standard models. Qwen accounts for 5 of the 19, Anthropic for 3 (all "fast" variants of Opus), Xiaomi for 2 and DeepSeek for 2, with single ids from Google, Mistral, Moonshot, OpenAI, StepFun, Tencent and xAI. In the changelog window from October 3 to November 25, 9 models were removed and 86 were added. Models arrive about ten times as often as they leave, so the successor is usually already on the shelf.

What changes when you move

Price per token. The headline number, and it can go either way. Successors are not automatically cheaper. The table below shows both.

Output length. Cost is input tokens times the input price plus output tokens times the output price, so a successor that writes 30% more tokens to answer the same question raises the bill even at the same rate. Newer models sometimes explain more, sometimes less. Measure it on your own prompts rather than trusting a rate card.

Tokenizer. Different model families, and sometimes different generations of one family, split text into tokens differently, so the same prompt can count as more or fewer tokens. Re-count with the target model's tokenizer; the token counter is a starting point, and the provider's own counting tool is better.

Context window and caching. Windows in our data grew in several pairs below, which can let you drop chunking logic. Cache-read prices also moved, usually less than the headline price, so a heavily cached workload sees a different delta than an uncached one. See prompt caching explained.

Behavior. Prompts tuned for the old model may not work on the new one. This is the largest source of migration effort and it does not appear on any price list.

Worked cost comparisons

The pairs below come from the deprecation data (a deprecated model plus its named replacement) where both models are priced in our table. Assumed workload, ours and adjustable: 40M input tokens and 8M output tokens a month, no caching. The last column re-prices the successor if it writes 30% more output.

DeprecatedSuccessorPrice in/outMonthlyChangeChange if +30% output
GPT-5.4 NanoGPT-6 Luna$0.20/$1.25 to $0.10/$0.50$18 to $8-55.6%-48.9%
Gemini 3.5 FlashGemini 3.6 Flash$1.50/$9.00 to $0.75/$3.75$132 to $60-54.5%-47.7%
GPT-5.3-CodexGPT-6 Sol$1.75/$14.00 to $2.00/$10.00$182 to $160-12.1%+1.1%
Gemini 3.7 FlashGemini 3.8 Flash$0.75/$3.75 to same$60 to $600%+15.0%
Gemini 3.1 Flash LiteGemini 3.5 Flash Lite$0.25/$1.50 to $0.30/$2.50$22 to $32+45.5%+72.7%
Kimi K2.6Kimi K3.1 Pro$0.95/$4.00 to $2.00/$10.00$70 to $160+128.6%+162.9%
Kimi K2.5Kimi K3.1 Pro$0.50/$2.50 to $2.00/$10.00$40 to $160+300.0%+360.0%

Dates and what each pair tells you:

  • GPT-5.4 Nano to GPT-6 Luna. Nano retires 2027-04-01 and the data names GPT-6 Luna as its replacement. Both prices fall and the context window grows from 400K to 1M tokens. At this mix Luna would need to write 3.5 times as many output tokens before the bill matched, so this is the safe kind of migration. The risk is quality, not cost. See GPT-6 Luna.
  • Gemini 3.5 Flash to 3.6 Flash. Google lists 3.5 Flash as auto-routed to 3.6 Flash. If you call the old name, the price drop arrives without a deploy. The cached-input price halves as well, from $0.15 to $0.075.
  • GPT-5.3-Codex to GPT-6 Sol. Retires 2027-04-01 and the data lists GPT-6 Sol. Input is slightly dearer and output is 29% cheaper. Break-even is an output increase of about 28%, so if Sol is wordier than Codex in your task, the saving disappears. This is the case where measuring matters most. Codex's 400K context also becomes 1M.
  • Gemini 3.1 Flash Lite to 3.5 Flash Lite. Retires 2027-05-07. Input is up 20% and output is up 67%, so cost rises 45.5% at this mix, and output-heavy workloads rise further. If you chose Flash Lite for price, this is the moment to re-run the price comparison against alternatives, rather than accepting the default successor.
  • Kimi K2.6 and K2.7 Code to Kimi K3.1 Pro. Moonshot says the remaining K2-series models are planned for retirement by the end of December 2026, and the date in our data is the end of that window, not a confirmed day. The source names K3.1 Pro as the replacement it gave for earlier K2 retirements. K2.7 Code has the same $0.95/$4.00 price as K2.6, so it gets the same +128.6%. Kimi K2.5 was already past its 2026-08-31 shutdown when we checked; its row shows what a late migration to the same successor costs, which is a 4x higher bill. The successor does bring a 1M-token window against 262K.
  • Gemini 3.7 Flash to 3.8 Flash. Google lists 3.7 Flash as auto-routed to 3.8 Flash. The price is identical, so only the verbosity risk remains: with output at half of this workload's bill, 30% longer answers add 15%.

Two pairs we could not price. Claude Sonnet 4.5 (retiring 2026-11-30, replacement claude-sonnet-5-5) is not in our price table, so check your invoice rate against Sonnet 5.5's $2.00/$10.00. And OpenAI's gpt-4.1 and gpt-4o snapshots (retiring 2027-01-14, replacement gpt-6-luna) are also unpriced here. In both cases, run the same arithmetic with your own rates. Our cost calculator will do it.

Migration checklist

  1. Inventory every model string. Search code, config, prompt-management tools, fine-tune lists and scheduled jobs. Include aliases such as "latest" names, since those can reroute without notice.
  2. Record the shutdown date and the named replacement from the provider's page, not from a blog post. Note whether the date is firm or a window.
  3. Pull your real token mix for each affected feature: input, output and cached tokens per request over the last 30 days.
  4. Price the move with that mix at both models' rates, and again with the successor writing 30% more and 30% less output. If a cached share is high, price cache reads separately.
  5. Re-count tokens on the successor's tokenizer, using a sample of at least a few hundred real prompts.
  6. Evaluate quality on your own test set. Compare the named successor with at least one alternative from /compare, since the default is not always the best value.
  7. Check non-price changes: removed request parameters, output format differences, rate limits on the new model (see rate limits explained), and context-window assumptions in your chunking.
  8. Shadow-run, then ramp. Send a copy of production traffic to the successor, compare cost per request and output quality, then shift traffic gradually.
  9. Set a hard internal deadline at least 30 days before the shutdown date. In our data, 9 of 18 upcoming shutdowns were within 60 days, so a migration started at the deadline will not finish in time.
  10. Watch the bill for two weeks after cutover, per feature, and compare with the forecast. Our budget guide covers the logging to do this.

When the cheapest successor is not the named one

A replacement named in a deprecation notice is a default, not a recommendation. Providers pick the closest model in their own lineup. If the named successor is dearer, as in the Flash Lite and Kimi rows, check same-tier models from other providers, and check whether a smaller model in the same family clears your quality bar. Use /price-performance and the methodology page to see how we rank models. Moving providers costs more engineering time than moving within one, so weigh the saving against that before switching.