Pinning model versions means sending an AI API one exact model ID, not a name that can point to a different model next month. An alias such as chat-latest or gemini-flash-latest moves when the vendor ships something new. A pinned ID stays on one model until the vendor retires it.
Our OpenAI TTS shutdown post covers one retirement: what ends on January 6 and January 20, 2027, and what replaces it. This piece covers the question behind every retirement like it: how OpenAI, Anthropic and Google name model versions, what shifts when an alias moves, and how to keep plugins working.
The short version: pin a specific model ID in production, and write it down for every site. Pinning protects behavior, not price or lifespan. Pinned IDs still retire, and the price on a fixed ID can still change, as Gemini 4 Argon’s did on December 1. Keep an inventory, watch the deprecation pages, and test replacements on real prompts before the date.
Aliases and pinned model versions, in plain terms
A model ID is the string a plugin sends with each request. There are two kinds.
A pinned ID names one fixed model. OpenAI calls these snapshots. Its GPT-4.1 model page says: "Snapshots let you lock in a specific version of the model so that performance and behavior remain consistent." The snapshot there is gpt-4.1-2025-04-14.
An alias is a pointer. The vendor decides what it points to. The same page lists gpt-4.1 as an alias beside that snapshot. Names like chat-latest and gemini-flash-latest are aliases built to move.
An alias picks up improvements without a code change, and also changes nobody tested. A pinned ID changes only when you change it, and stops working on its retirement date.
For features that members or staff rely on, such as a chatbot, alt text, form triage or tagging, pinned model versions are the safer default. Aliases suit prototypes and tools where a person reads every answer.
How OpenAI, Anthropic and Google name model versions
This is the one dated section of this post. The rules below come from each vendor’s documentation as checked on October 21, 2026.
| Vendor | Pinned form | Moving alias | Notice promised |
|---|---|---|---|
| OpenAI | Dated snapshots on older models, such as gpt-4.1-2025-04-14. GPT-6 pages list one ID, such as gpt-6.1-sol. |
Bare names such as gpt-4.1; chat-latest |
6 months for GA models, 3 for specialized variants, as little as 2 weeks for previews |
| Anthropic | Dateless IDs from the 4.6 generation, such as claude-sonnet-5-5. Dated IDs before that. |
Short aliases for older models only, such as claude-sonnet-4-5 |
At least 60 days |
Stable IDs, such as gemini-3.6-flash |
-latest aliases, such as gemini-flash-latest |
2 weeks by email before a breaking change behind an alias; at least 2 weeks for previews |
OpenAI. The deprecations page says preview models "may be retired with much shorter notice, such as 2 weeks." The GPT-6 model pages list a single ID with no dated snapshot, and they do not say whether it can change underneath you. The chat-latest page is plain: it "points to the latest Instant model currently used in ChatGPT," and "The underlying model snapshot will be regularly updated."
Anthropic. The model IDs page says "the underlying model remains constant for the lifetime of that ID." From the 4.6 generation on, an ID such as claude-sonnet-5-5 is the snapshot itself, not an alias. Older models also have short aliases on the Claude API that "point to the most recent dated snapshot for that minor version."
Google. The Gemini models page sorts IDs into stable, preview, latest and experimental. It says "Most production apps should use a specific stable model." A -latest alias "will get hot-swapped with every new release of a specific model variation."
What changes when an alias moves
When the model behind an alias changes, your request looks the same. Four things can still shift.
Behavior. Answers change in length, tone and format. A plugin that parses JSON can fail with no error message.
Cost. Per-token prices can stay flat while the bill rises. Newer models often write more. Our test found Gemini 3.8 Flash costs 57% more per task than 3.7 Flash at the same per-token price.
Limits. Context windows, output caps and rate limits belong to each model, so they move with it. Our GPT-4o shutdown post shows output caps jumping from 16,384 to 128,000 tokens on the move to GPT-6 Luna. Google says preview models "might come with more restrictive rate limits."
Accepted settings. A newer model can reject requests the old one took. Our Claude Sonnet 5.5 post lists prefill and non-default temperature among the settings that now return 400 errors. API versions change the rules too: on Anthropic’s 2026-10-21 version, sending temperature, top_p or top_k fails on every model, as our post on the Claude API and SDK major versions explains.
Google’s changelog shows how often an alias can move. On January 21, 2026, gemini-flash-latest switched to gemini-3-flash-preview. On May 19, it switched to gemini-3.5-flash. That is two different models in four months, one of them a preview.
Pinning does not freeze everything
Pinned model versions block one kind of change. Four others still reach you.
Retirement. Every ID gets a shutdown date eventually. Anthropic’s deprecations page says "Requests to models past the retirement date will fail." OpenAI’s October 23 shutoff took seventeen models, and the GPT-4o family got three months’ notice instead of six.
Price on the same ID. The ID gemini-4-argon did not change on December 1. Its price doubled. Our Gemini 4 Argon price increase post works through the effect on common tasks. Google’s pricing page also shows Gemini 3.8 Flash doubling on January 1, 2027.
Redirects. Google’s changelog for October 8 says requests to gemini-3.7-flash "are automatically routed to gemini-3.8-flash." That was a stable ID, not an alias. Calls kept working on a different model. Our fall Gemini shutdown post covers Google’s other dates.
Serving changes. Anthropic’s model IDs page says "Model weights are fixed for a given ID, but the serving infrastructure around the model can change over time." It adds that this can cause "minor differences in observable behavior."
Find the model ID each plugin actually uses
A settings screen shows what someone picked, not always what the plugin sends. Check four places.
Settings and the database. Search for each vendor’s prefix.
wp db search "gpt-"
wp db search "claude-"
wp db search "gemini-"
On Drupal, the AI module lets you "set a default model for each operation type" at /admin/config/ai/settings. Its documentation adds that "Most contrib modules will allow you to override the default model." Check both. Sites still on Drupal 10 lose support on December 9, 2026; see our Drupal 10 end-of-life guide and plain-language Webform vulnerability brief.
The plugin’s own defaults. Some plugins choose for you. Version 1.3.0 of the WordPress AI plugin "Updated preferred models to more recent ones for the three default providers." There, a plugin update is a model change.
The vendor’s usage data. Anthropic’s Console has an Export button on the Usage page that downloads a CSV "broken down by API key and model." OpenAI’s usage API can group by model and key, as our April shutoff post explains.
The response. Gemini responses carry a modelVersion field, which Google’s API reference describes as "The model version used to generate the response." Log it, or the model name your provider returns. On an alias or a redirected ID, that is your record of which model answered.
Keep a model inventory for each site
One row per AI feature, per site, records the model versions in use before a retirement notice lands. A shared spreadsheet is enough.
| Column | Example | Why it matters |
|---|---|---|
| Site and feature | Member site, alt text on upload | Tells you who to warn |
| Where the ID is set | Plugin settings, environment variable, Zap step, vendor-hosted | Tells you where to change it |
| Model ID as configured | claude-sonnet-4-5 |
Shows whether it is an alias or pinned |
| Model that answered | From the usage export or the response | Catches aliases and redirects |
| API key or project | One per client | Splits usage and spending caps by client |
| Retirement date and replacement | November 30, 2026, claude-sonnet-5-5 |
Drives the work calendar |
| Last tested | Date and prompt set used | Proves the replacement works |
The example is a real case. claude-sonnet-4-5 is an alias for claude-sonnet-4-5-20250929, set to retire November 30, 2026. Plan as if an alias stops with the snapshot behind it.
A separate API key or project per client also makes spending caps work per client. Our guide to AI API spending limits covers where those caps live.
Test before you switch model versions
Test while the old model still works. After retirement there is nothing to compare against.
- Save 30 to 50 real prompts per feature, with the answers you accept today.
- Run them on the new ID with the same settings, then fix any setting it rejects.
- Check format first. Does the JSON parse, and does the text fit the field?
- Compare cost per task, not per-token price. Reasoning models bill thinking as output.
- Time the responses for anything a visitor waits on.
- Switch one site first. Watch errors and cost for a week, then move the rest.
- Record the old ID as the rollback until its retirement date, and update the inventory.
Get deprecation notices before your users do
Retirement notices are how pinned model versions come to an end on schedule. All three vendors send them by email, to the account. OpenAI’s page says "Impacted customers will always be notified by email and in our documentation along with blog posts for larger changes." Anthropic’s says "Impacted customers will always be notified by email and in the documentation." Google promises email before a breaking change behind a -latest alias.
Google’s deprecations page lists "the earliest possible dates," with exact dates to follow. Check the three deprecation pages and the Gemini changelog monthly. Put each retirement date and its replacement on a shared calendar. If you call OpenAI models through Azure, Microsoft keeps its own schedule, as the parent post explains.
Frequently Asked Questions
What is the difference between a model alias and a pinned model version?
A pinned model version is one fixed model, such as `gpt-4.1-2025-04-14` or `claude-sonnet-5-5`. An alias is a name the vendor can point at a different model later, such as `chat-latest` or `gemini-flash-latest`.
Should a production website pin model versions?
Yes, for anything members or staff rely on. Google says most production apps should use a specific stable model. Aliases suit prototypes and internal tools.
Is claude-sonnet-5-5 an alias?
No. Anthropic says that from the 4.6 generation on, a dateless ID is the snapshot itself. Short aliases exist only for older models, such as `claude-sonnet-4-5`.
How much warning does Google give before gemini-flash-latest changes?
Two weeks, by email, for breaking changes. Otherwise Google says the alias is hot-swapped with every new release.
Does pinning a model protect me from price changes?
No. Gemini 4 Argon kept its ID and doubled in price on December 1, 2026.
Do pinned model IDs ever stop working?
Yes. Every ID retires eventually. OpenAI promises at least six months for generally available models, Anthropic at least 60 days, and preview models can go with about two weeks’ notice.
How do I find which model my WordPress or Drupal plugin uses?
Search the database or exported configuration for `gpt-`, `claude-` and `gemini-`, read the plugin changelog, and check the vendor’s usage data by model and API key.
What is chat-latest on the OpenAI API?
An alias for the latest Instant model used in ChatGPT. OpenAI says the model behind it is regularly updated, so it is a poor fit for production.
How often should I check the deprecation pages?
Monthly, plus whenever a notice email arrives. It is quick if your inventory lists the model versions each site uses.