# Why Do Prompts Break When You Switch Models?

> Why a prompt that worked on one model can change or fail on another, what moves, and how to re-test it, explained simply for your AI interview.

**In short:** A prompt breaks when the new model reads the same words differently. Models differ in how literally they follow rules, how long they write and how hard they think by default, so every prompt needs a re-test on each model.

AI and LLM interview question Q102, Prompt and context engineering. Intermediate, common (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/why-do-prompts-break-when-you-switch-models

## Say it in 30 seconds

A prompt is written for one model, and every model has its own habits. Some write longer answers, some follow every rule to the letter, and some think harder by default. So the same words can give a different result on a new model. When we switch, I don't trust the old prompt. I pin the model version, run our fixed test set on the new one, read what moved, and only then re-tune and ship.

## Say it in 2 minutes

A prompt is a set of instructions for a reader. When the reader changes, the same words can land differently. Each model behaves a little differently, so it has its own default length, its own way of reading a rule and its own default effort. The text stayed the same, and the reader changed.

Some of these differences are written down. Anthropic says its latest Claude models are trained for precise instruction following and have a more concise style than earlier ones. OpenAI says GPT-5 follows prompt instructions with surgical precision. That care cuts both ways: a prompt with two clashing rules can cost GPT-5 more than other models, because it spends its reasoning trying to reconcile them.

Newer defaults can move too. Anthropic's migration guide for Claude Opus 5.5 says a request that omits effort runs one level lower than it did on Claude Opus 5, so a prompt that relied on the old depth of thinking can come back thinner. The same guide tells teams to test before switching production traffic.

So I never assume a prompt carries over. I pin the model version, run the same test set on both models, read what moved and re-tune only that part.

## What does it mean for a prompt to break, in plain words?

A prompt is a set of instructions written for one reader. When you switch models, the reader changes. The words stay the same, but the new reader has its own habits: how much it writes, how literally it reads a rule, and how hard it thinks before it answers.

Picture a senior claims handler who moves to a new insurer. The handbook is the same, but the new colleague reads it with a different style and a different level of care. The same memo gets a different result, and nobody edited the memo.

A made-up case with rough numbers: a mid-size bank's support assistant answers fee questions, and its prompt was tuned on one model. After a switch, the answers ran about three times as long, and the fee table came back in a new layout that broke the code reading it. The team fixed it by testing the new model before customers saw it.

- **Prompt:** The instructions and context you send the model with each request.
- **Model version:** A named release of a model. Pin it, so you know exactly what you tested on.
- **Effort:** How hard the model thinks before it answers. Some APIs let you set it.
- **Test set:** A fixed list of real cases with the answer you expect, run again after every change.

## Why does the same prompt move between models?

Anthropic's best practices page says its latest models are trained for precise instruction following. It also notes that its newest Claude models answer more concisely than before. OpenAI describes GPT-5 as a model that follows prompt instructions with surgical precision. Anthropic's best practices page also says that where a single model behaves differently, you change the prompt for that model.

- **Length: Answers change size.** Newer Claude models answer more concisely than earlier ones, so the length a prompt got before can shift.
- **Rules: Literal reading.** On GPT-5, OpenAI says two clashing rules can do more damage, because the model spends effort reconciling them. The answer can drift.
- **Effort: Default thinking level.** A request that omits effort runs one level lower on Claude Opus 5.5 than it did on Claude Opus 5.

*Diagram, What moves when the model changes: Your prompt goes to the new model unchanged, and the model reads it with its own habits. Length, literal reading and default effort can all move, so the test comes before any ship.*
1. The same prompt is sent to the new model.
2. The model reads it with its own habits, which can shift three things.
3. Those shifts are what the test set is there to catch.

Anthropic's best practices say that the more precisely you explain what you want, the better the result. So the fix is never to hope the words carry over. It is to say exactly what you need, then check it on each model.

## How does a clash of two rules break a prompt?

Take a claims triage agent at a mid-size insurer. Its prompt asks for two things: keep every answer under 80 words, and list each policy clause the agent relied on. On the old model both rules fit. Suppose the new model runs long on big claims and sometimes puts a sentence before the decision. That is the kind of break worth testing for before a customer sees it.

The code below replays both models on three made-up claims. It checks two things the team cares about: the decision comes first, and the answer stays under 80 words. The saved answers stand in for live calls, so the output is the same on every run.

```python
# Re-test a claims prompt after a model switch: same cases, same checks, both models.
LIMIT = 80
DECISIONS = ("APPROVE", "REVIEW", "DECLINE")

def check(answer):
    words = len(answer.split())
    if not answer.startswith(DECISIONS):
        return "FAIL: no decision first"
    if words > LIMIT:
        return f"FAIL: {words} words, limit {LIMIT}"
    return "ok"

# Saved answers for three made-up claims, one set per model.
saved = {
    "old": {
        "claim-1041": "APPROVE. Clause 4.2 covers water damage.",
        "claim-1042": "REVIEW. Clause 7.1 needs a repair quote.",
        "claim-1043": "DECLINE. Clause 9.3 excludes flood.",
    },
    "new": {
        "claim-1041": "APPROVE. Clause 4.2 covers water damage. " + "Pay the agreed amount. " * 2,
        "claim-1042": "REVIEW. " + "Clause 7.1 needs a repair quote, and the quote must show labour. " * 8,
        "claim-1043": "Looking at clause 9.3, the flood exclusion applies, so decline.",
    },
}

for model, answers in saved.items():
    for claim, answer in answers.items():
        print(f"{model} {claim}: {check(answer)}")
```

Output:

```text
old claim-1041: ok
old claim-1042: ok
old claim-1043: ok
new claim-1041: ok
new claim-1042: FAIL: 97 words, limit 80
new claim-1043: FAIL: no decision first
```

The old answers pass. The new model fails two of three: one answer runs to 97 words, and another opens with reasoning instead of the decision. The prompt text stayed the same, and the test shows the break before a customer sees it.

The fix is to remove the clash. Pick one priority, such as the decision first and a short clause list, and say which rule wins when two conflict.

> **Tip:** In an interview, name the cause (the new model reads the same words differently) and the check that catches it: a fixed test set run on both models.

## How do you re-test a prompt after switching models?

Treat a model switch like a software upgrade. Anthropic's migration guide for Claude Opus 5.5 says to test in a development environment before switching production traffic.

1. **Pin the model version:** Write down the exact model you tested on, so you know what changed when the results move.
2. **Run the same test set:** The same cases and the same checks, on the old and the new model. Keep the set fixed while you test.
3. **Read what moved:** Look at length, format, the decision and any tool calls. Note each change before you edit anything.
4. **Remove old workarounds:** Anthropic's Opus 5.5 guide says instructions tuned for Claude Opus 5's behaviour might no longer be needed. Delete them only after the tests pass.
5. **Ship in steps:** Move a slice of traffic first, and keep the old model as a fallback until the new one holds up.

*Diagram, Re-testing a prompt after a switch: The steps run left to right. Nothing ships until the same test set has run on the new model and each change has been read.*
1. The same prompt goes to the new model.
2. Pin the model version and run the fixed test set on it.
3. Read each change before editing anything, then re-tune and ship once the set passes.

> "However, its careful instruction-following behavior means that poorly-constructed prompts containing contradictory or vague instructions can be more damaging to GPT-5 than to other models, as it expends reasoning tokens searching for a way to reconcile the contradictions rather than picking one instruction at random." (OpenAI, GPT-5 prompting guide)
>
> "Where a technique names a specific model, treat it as measured on that model and re-check it against your own evals before applying it to another." (Anthropic, prompting best practices)

## What does the interviewer want to hear?

**A strong answer covers**

- [ ] A plain definition: the same prompt can behave differently on another model.
- [ ] Why: each model has its own habits for length, rules and default effort.
- [ ] The clash problem: two rules that fight make the model spend effort on them.
- [ ] Defaults such as effort can change on a switch, not only the words.
- [ ] The fix in order: pin the version, run the test set, read the changes, re-tune, roll out in steps.
- [ ] An honest limit: no prompt is guaranteed to work unchanged on every model.

**Common traps**

- Trap: "A better model will fix the prompt." Better: A newer model can read the same words differently, so it needs its own test run before it replaces the old one.
- Trap: "The words are the same, so the result is the same." Better: The words are the same, but the reader changed. Test it on that reader.
- Trap: "We only changed the model name, so nothing else moved." Better: A new name means a new reader with its own defaults. Re-run the test set before shipping.

## Can you spot the clash?

**Spot the clash:** Your claims prompt is moving to a new model. Which line asks for two things that pull against each other?

A. Name the policy in one sentence.
B. Put the claim number in the first line of the note.
C. Keep the answer under 80 words, and list every clause you relied on.
D. Write in plain English for the customer.

**Answer:** C. The line asks for a short answer and a full clause list at once. A literal model has to reconcile the two, which spends effort and can drop one. Give one priority, such as the decision and a short list of clauses.

**Quick check:** You moved a prompt to a newer Claude model, and it still reads well. What comes first?

A. Ship it, since the newer model is better
B. Pin the model version and run the same test set on both
C. Rewrite every instruction in capital letters
D. Trust the vendor's release notes without a test run

**Answer:** B. A newer model can read the same prompt differently, so you check it on the same cases first. Capitals and vendor notes tell you nothing about what moved.

## Can you answer these from memory?

**Flash cards**

- **Why do prompts break across models?** Each model reads the same words with its own habits for length, rules and effort.
- **What is a clash of rules?** Two instructions that fight, such as a word limit and a full list. The model spends effort on them.
- **What did OpenAI say about GPT-5?** It follows prompt instructions with surgical precision, so contradictory prompts can hurt more.
- **What is a test set?** A fixed list of real cases with expected answers, run after every change.
- **What do you do first after a switch?** Pin the model version, then run the same test set on both models.
- **Will one prompt work on every model?** Not guaranteed. Re-test it on each model before you ship.

## Likely follow-up questions

- Q100 How do you test prompts systematically? https://designervenkat.online/interview/ai/how-to-test-prompts-systematically
- Q101 What are prompt optimizers (e.g. DSPy)? (full answer coming)
- Q108 When do you raise a reasoning-effort setting? https://designervenkat.online/interview/ai/when-do-you-raise-a-reasoning-effort-setting
- Q109 How do you prompt across languages? (full answer coming)
- Q110 Where is the line between prompting and fine-tuning? https://designervenkat.online/interview/ai/where-is-the-line-between-prompting-and-fine-tuning

## Learn it in depth

- [Prompts That Hold Up](https://designervenkat.online/learn/ai-engineering/robust-prompt-engineering)
