# Pydantic AI 2.73 Changed Which Model Can Answer a Fallback Request

Check whether your Pydantic AI fallback chain changes providers after 2.73.0 starts dropping unsupported settings for Claude, Gemini, and Grok.

By Paras Madan | 2026-11-24


You upgrade Pydantic AI and your agent still returns valid answers. The surprise is in the model field: requests that used to land on your backup may now finish on your first choice. If you only check the answer, the upgrade can look completely uneventful.

[Pydantic AI 2.73.0](https://github.com/pydantic/pydantic-ai/releases/tag/v2.73.0), published November 24 UTC, drops certain unified settings that Claude, Gemini, and Grok reject. That prevents some HTTP 400s. If one of those errors used to trigger `FallbackModel`, you may now get an answer from the original model without the setting you asked for.

## Find chains that depended on a rejected request

Start with any mixed-provider `FallbackModel` chain that receives `ModelSettings` from an agent or individual run. Look back for requests where the first model failed with a 400 and a later one answered. Check whether the rejected setting matches the change before assuming every 400 will disappear.

For example, imagine your first choice uses the Gemini Developer API and an agent-wide `presence_penalty` makes it onto the request. That API rejects the setting. After the upgrade, the adapter omits it, and Gemini can answer if the rest of the request is valid. The distinction matters for Google Cloud: Pydantic documents different penalty support depending on the model and transport. Check the actual endpoint, not just the Gemini name. [Tagged Google model docs](https://github.com/pydantic/pydantic-ai/blob/v2.73.0/docs/models/google.md)

## Decide what each candidate must support

If the setting is a preference, set it only on candidate models that support it. The [fallback guide at the release tag](https://github.com/pydantic/pydantic-ai/blob/v2.73.0/docs/models/overview.md#per-model-settings) shows how to pass `settings=` to each model instance. Remove the shared setting from the agent or run when you move it there, so you're not still applying it across providers.

If the setting is a requirement, put a compatible model first and keep incompatible models out of that request's chain. Reordering alone leaves open the possibility that a later model will answer without the setting. Treat that chain as a separate route, with its own tests, rather than using the provider's rejection to do the routing for you.

## Check the actual responder in staging

Use your existing agent and a harmless fixed prompt. This example prints two metadata fields to compare before and after the upgrade, without logging the request or its generated text:

```python
result = agent.run_sync("Write one sentence describing a blue bicycle.")
response = result.response
print(response.provider_name, response.model_name)
```

Read these fields from the [actual model response](https://github.com/pydantic/pydantic-ai/blob/v2.73.0/pydantic_ai_slim/pydantic_ai/messages.py), rather than logging the configured `FallbackModel` name, which describes the chain. Run the same fixture on the old and new versions with the same routing configuration. If the winning model changes, check the outgoing setting against a local mock or captured test fixture using synthetic data. An answer from the first model does not tell you whether the adapter sent the setting.

## Keep one separate outage test

Use your existing provider mocks to make the primary return a retryable error, such as a 503, and confirm your configured fallback still runs. This checks a different condition from dropping an unsupported option: the first model really failed. `FallbackModel` defaults to falling back on `ModelAPIError`, but your own `fallback_on` rules or provider retries can affect when it switches. [Fallback behavior and retries](https://github.com/pydantic/pydantic-ai/blob/v2.73.0/docs/models/overview.md#fallback-model)

The [implementation change](https://github.com/pydantic/pydantic-ai/pull/12426) also distinguishes sampling settings it drops quietly from some unsupported `stop_sequences` cases that produce `UnsupportedSettingWarning`. Don't use the absence of a warning as your rollout check. Before shipping, decide which models may answer each route, which settings each route requires, and what should happen when the primary actually fails. A passing output test alone can't cover those three decisions.

I'm Paras Madan. I help AI teams turn technical changes like this into guides developers can use. [Book a 30-minute call](https://cal.com/paras-madan/30min).
