v2.48.0

pydantic/pydantic-aiv2.48.0Sep 23, 2026by DouweM

Upgrading?

AI Summary

This release introduces support for Claude Opus 5.5 and new OpenAI models, alongside an update to the genai-prices library. It also includes bug fixes to preserve message IDs across Vercel AI and AG-UI adapters.

Key Highlights

  • Added support for Claude Opus 5.5 model
  • Added support for new OpenAI models gpt-6-sol and gpt-6-luna
  • Updated genai-prices to version 0.1.8
  • Fixed message ID preservation in Vercel AI and AG-UI adapters

New Features

  • Support genai-prices 0.1.7 and new OpenAI audio models
  • Add OpenAI gpt-6-sol and gpt-6-luna model support
  • Add Claude Opus 5.5 (claude-opus-5-5) support

Full Release Notes

<!-- Release notes generated using configuration in .github/release.yml at main -->

## What's Changed
### 🚀 Features
* Support `genai-prices` 0.1.7 and new OpenAI audio models by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/8617
* Add OpenAI `gpt-6-sol` and `gpt-6-luna` model support by @DouweM in https://github.com/pydantic/pydantic-ai/pull/8635
* Add Claude Opus 5.5 (`claude-opus-5-5`) support by @DouweM in https://github.com/pydantic/pydantic-ai/pull/8637
### 🐛 Bug Fixes
* Preserve `UIMessage.id` across Vercel AI `load_messages` and `dump_messages` by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/8623
* Preserve AG-UI `Message.id` across `AGUIAdapter.load_messages` and `dump_messages` by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/8632
### 📦 Dependencies
* Bump `genai-prices` to 0.1.8 by @DouweM in https://github.com/pydantic/pydantic-ai/pull/8648


**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v2.47.0...v2.48.0

Related Repositories