What the migration guide checks
Fable 5.2 is Anthropic's newest model: $8 per million input tokens and $40 per million output tokens, on its overview page as of November 9, 2026. Our site's chat and the proposal drafts in our admin run on Claude Haiku 5.5, and we have no plan to move them. We wanted to know what changing one line of config would do to us.
The migration guide lists the requests that return a 400 error on the new model: thinking set to disabled or given a token budget, a prefilled assistant message, sampling parameters such as temperature, and a forced tool choice. Our client sends none of them. It asks for a JSON schema as the output format, an effort level when the feature sets one, and a cached system prompt:
def params(self, prompt: Prompt) -> dict[str, Any]:
model = prompt.model or self.model
output_config = {"format": {"type": "json_schema", "schema": prompt.json_schema}}
if prompt.effort is not None:
output_config["effort"] = prompt.effort
params = {
"model": model,
"max_tokens": prompt.max_tokens,
"system": [{"type": "text", "text": prompt.system, "cache_control": {"type": "ephemeral"}}],
"messages": turns(prompt),
"output_config": output_config,
}
if model in FALLBACK_MODELS:
# If a safety classifier declines, the API retries on the model Anthropic recommends.
params["fallbacks"] = "default"
params["betas"] = [FALLBACK_BETA]
return paramsThe guide's other breaking changes concern thinking blocks sent back in a conversation, the computer use tool and the advisor tool. Our history is plain text turns, and we use neither tool. The if at the end of that function is where the model id gets looked up in a list, and it's the first of two.
Two lists keyed by model id
Both live in one file, claude.py, beside the client:
FALLBACK_MODELSnames the models that accept Anthropic's server-side refusal fallback. When a safety classifier declines a request, the API can retry it on the model Anthropic recommends for that kind of refusal, if the request asks withfallbacks: "default"and a beta header (refusals and fallback). Our client asks only for the ids on the list.PRICESholds what each model costs per million tokens, from Anthropic's price list. The client turns each answer's token counts into an estimated cost in millionths of a dollar. For a model missing from the table, the estimate isNone.
On November 9 neither list had claude-fable-5-2. Nothing raises when an id is missing. The request goes out, the answer comes back, and the gap shows only in what fails to happen next.
What each gap would have done
The two gaps fail in different ways, and neither one writes an error to the logs.
| List | With the id missing | What you would notice |
|---|---|---|
| Refusal fallback | A declined request isn't retried on another model. The chat shows the visitor its declined message. | More refusals than you'd expect, with nothing in the logs that explains them. |
| Price table | The estimate is empty, and the chat's monthly cap counts the call as zero. | Nothing until the bill. The cap never closes the chat. |
The cap is worth a closer look. Before a chat call runs, the API holds the most that call could cost against the month's budget, and a model missing from the table is priced as the dearest one in it, so that part was safe. When the answer arrives, the hold is swapped for the estimate. Our router settles answer.cost_micros_usd or 0, so with no estimate every answer would add zero, and the budget would never run out.
Neither gap was live. Production named no Fable model, and until November 10 it called Claude only through OpenRouter, which reports what it charged in each response. Since then it calls Anthropic first, with OpenRouter as the fallback, so both lists now matter for whatever model the config names.
The fix, and the test that fails first
The fix itself was two lines: the id on both lists, with its prices of $8 for input, $40 for output and $0.20 for a cache read. The part we'd rather keep is a test that fails when the config names a model the price table doesn't have:
def test_every_model_the_config_names_is_priced() -> None:
# A model without a price costs nothing on paper, so the chat's monthly cap would never close it.
settings = Settings()
named = {
name: getattr(settings, name)
for name in Settings.model_fields
if name.startswith("ai_") and name.endswith("_model")
}
assert {"ai_model", "ai_chat_model", "ai_proposal_model"} <= named.keys()
assert {name: model for name, model in named.items() if model not in PRICES} == {}It reads every setting whose name starts with ai_ and ends with _model, so a feature added later with its own model is checked without anyone remembering to add it. The first assert makes sure the loop still finds the three models we know about: a rename that emptied the loop would otherwise pass without a word. It checks the defaults in our settings, which is where production's models come from today; a model set only in the deploy's environment would still need a person to check its price.

The fallback list has no test like that, and our code alone can't give it one. Which models support the fallback is Anthropic's call, written on its refusals page: Fable 5.2 is there, and Claude Haiku 5.5 has no server-side fallback. Our list names the models our config might use, checked by hand against that page on the day. A second test pins the new model's request instead: with claude-fable-5-2 configured, the body carries fallbacks: "default" and the beta header.
A third gap: keys in the developer's shell
Running that suite on a laptop found one more. The shell had an OpenRouter key exported, our settings read the environment, and tests that expect no AI provider found one. Two of them ran our real evals: every triage case and every proposal case, sent to a real model.
- per million input and output tokens on Claude Fable 5.2
- $8 / $40
- lists in our client keyed by model id
- 2
- what one run of our tests spent on real evals
- $0.61
Each eval run prints its own cost: $0.5807 for the triage and $0.0266 for the proposals. A fixture now clears the outside services' keys before every test and stops the settings from reading the .env file:
OUTSIDE_SERVICES = (
"ANTHROPIC_API_KEY",
"ANTHROPIC_BASE_URL",
"OPENROUTER_API_KEY",
"OPENROUTER_BASE_URL",
"STRIPE_API_KEY",
)
@pytest.fixture(autouse=True)
def no_outside_services(monkeypatch: pytest.MonkeyPatch) -> None:
for name in OUTSIDE_SERVICES:
monkeypatch.delenv(name, raising=False)
monkeypatch.setitem(Settings.model_config, "env_file", None)A test that needs a provider builds its own settings and a fake transport, as the rest of the suite already did.
Why the chat stays on Claude Haiku 5.5
Nothing raises when an id is missing.
A new model is a reason to run the evals, and a switch waits for them. The chat passed 28 of 28 cases three times on Claude Haiku 5.5 on October 11, and that's the run it went live on. Fable 5.2's input costs 80 times Haiku 5.5's starting price ($8 against $0.10 per million tokens), and for answering questions about our services it has nothing to prove yet.
If your code calls a model API, these are the places where a new id can slip past without an error:
- lists or sets of model ids: features turned on per model, beta headers, fallbacks;
- price tables, and whatever adds up their estimates, such as budgets, caps or invoices;
- tests that read the environment, where a real key turns a unit test into a paid call.
Every AI agent we build ships with evals in CI, so a new model goes through the same checks as any other change. If you have one in mind, see what fits or send us a brief.


