Pydantic AI v2 migration: the change that throws no error

Pydantic AI v2 shipped on June 23, 2026, and `openai:` model names now resolve to the Responses API instead of Chat Completions.

Two v2 changes alter behaviour without raising an error: the OpenAI API switch and the new aggregated token-usage attribute names.

The guaranteed no-breaking-changes window between major versions is now three months, down from six.

Read the full post

Read the full post