Skip to content

Our AI product broke and we deployed nothing. Can a model update do that?

Yes. When your code calls an AI model by its general name (like gpt-4o or claude-sonnet), the provider can update what that name points to. Your deploy log stays clean, but the model behind the same API call is different. Answers may come in a new format, follow instructions differently, or handle edge cases in ways your code does not expect. This is a dependency you are not controlling, and it has a fix.

What happened on a Friday evening

In one project from my practice, an AI product started failing on roughly one request in five. It was a Friday evening. Nothing had been deployed that week.

The cause: the code asked the provider for the “latest” version of the model. The provider had updated it. The new version formatted its answers slightly differently, and the parser (the part of your code that reads the model’s answers) broke.

The fix had three parts. First, we pinned exact model versions so the model only changes when we decide. Second, we checked every response against a strict schema and added a retry: if the response does not match the expected shape, the system asks again before giving up. Third, we built a regression set of real requests that has to pass before any model change goes live.

The founder made model changes part of the release checklist. The next upgrade was a planned two-day task with a measured result, not a weekend incident.

Who decides when your model changes?

It is natural to treat the AI model like a database or a payment gateway: you pick it, it works, you move on. But a database does not change how it sorts your data between releases. A payment gateway does not reformat its responses when you are not looking.

An AI model can. If your code uses a general name instead of a pinned version, the provider’s release schedule controls when your product changes.

How much can behavior shift? Researchers at Stanford and UC Berkeley compared GPT-4’s March 2023 and June 2023 versions on the same set of tasks. On a task where the model had to determine whether a number is prime, accuracy dropped from 84% to 51% (Chen, Zaharia, Zou — “How Is ChatGPT’s Behavior Changing Over Time?”, Harvard Data Science Review, 2024). These were two explicitly dated versions of the same model. If your code calls the general model name, it absorbs version changes like these automatically.

On Hacker News, a developer building on GPT-4 described the same pattern from the product side: “It’ll work fine for weeks then I have to change the prompt because now 20% of what is returned doesn’t follow the format I’ve specified” (HN discussion, 2023).

This is a business decision disguised as a technical detail. The question for a founder is not “which model is best.” It is: does your team control when the model changes, and can you measure whether the new version is better or worse for your specific product?

Before you blame the model: check the input

Not every AI failure is a model problem. In another project from my practice, a B2B startup used AI to pull data out of customers’ documents. Customers had started re-checking every result by hand, and the team was planning two months of fine-tuning.

Nobody had looked at what the model actually received. Scans went through plain OCR and PDFs through basic text extraction. Both flattened tables line by line, so the model read values from the wrong columns. It was answering correctly about a broken input.

Errors fell by roughly two thirds in three weeks with the same model, once the input was fixed. Fine-tuning was shelved. The test set of about 150 real customer documents became the gate for every later change.

When your AI product starts failing, the diagnostic order matters:

  1. Check if the model version changed (look at response headers or your logs).
  2. Check if the input pipeline changed (new data format, new source, encoding issue).
  3. Check if the prompt still matches what the model expects (some models handle instructions differently after updates).
  4. Only then consider fine-tuning or switching models.

If your AI-built product breaks regularly and the problem is not the model, it may be the code underneath. I wrote about that distinction in the guide on when to harden vs. rewrite an AI-built app.

Five questions to ask your developer

If you are a non-technical founder with an AI product, here is what to ask your developer or CTO this week:

  1. Are we using a pinned model version or an alias? (If the answer includes “latest” or just a model family name, that is the alias.)
  2. What happens when the model returns something our code does not expect? (The right answer involves validation and a retry, not “it crashes.”)
  3. Do we have a set of real test cases that we run before changing anything in the AI pipeline?
  4. Where can I see which model version we are running right now? (If nobody knows, that is a problem.)
  5. When was the last time we upgraded the model on purpose?

How to protect your product

Pin exact model versions. Every major provider offers dated or versioned model identifiers. OpenAI provides dated snapshots (see their models documentation). Anthropic offers versioned model IDs (see their models overview). Use the specific version in production. The alias is fine for experiments.

Validate every response. Check the response against a schema (JSON Schema, Pydantic, or a simple format check). If it does not match, retry once with a tighter instruction. If it still fails, log the raw response and fall back gracefully. If you are building an internal AI assistant or RAG system, the same validation principle applies.

Build a regression set from real requests. Take 50 to 150 real inputs from your production system and save the expected outputs. Run this set before any model change. Not “does it generally work” but “does it produce the right answer for these specific, real cases.”

Treat model upgrades as releases. Put “model version” on your release checklist, next to “database migrations” and “API changes.” Test new versions against your regression set before switching.

Log the actual model version in every response. Most APIs return the exact model version in the response headers or body. Store it. When something goes wrong, you can filter by model version to see when the behavior changed.

What I’d do in your place

  1. This week: ask your developer which model version you are running and whether it is pinned. If it is not, pin it today. This is a one-line code change.
  2. This month: build a regression set of 50+ real inputs with expected outputs. Run it after any change to the AI pipeline.
  3. Going forward: add “model version” to your release checklist. Test new versions against your regression set before switching.
  4. If your product already broke: check the model version first, then the input pipeline, then the prompt. The diagnostic order above saves hours.
  5. If you are not sure where to start: describe your situation through the free consultation form and I will reply in writing with what to check first.

Tell me what your AI product does and what broke, and I'll reply in writing with what to check first.

Free consultation