Daily News · 1 min read

Pydantic AI Updates: July 1, 2026

1. Pydantic AI Ships v2.2.0 with Claude Sonnet 5 Support

Pydantic AI. Pydantic AI released v2.2.0, a minor version that adds support for Anthropic’s Claude Sonnet 5 model via the claude-sonnet-5 identifier. The release also adds a retry_options parameter to GoogleProvider, prompt and completions cost fields for OpenRouter, factory functions as a lifecycle argument for Dataset.evaluate, and a new TwelveLabs Pegasus video-understanding example. It ships alongside roughly 13 bug fixes covering token counting accuracy, callback execution on Pyodide, temporal grouping, and provider-specific image and file handling. Source