python Pydantic AI Releases · · 2.48.0

Pydantic-AI v2.48.0 adds support for new OpenAI and Claude models

sdkaigaengineerpython-agentic
feature patch

Pydantic-AI v2.48.0 introduces support for recent OpenAI audio models, including `gpt-6-sol` and `gpt-6-luna`, and Claude Opus 5.5. This update expands the library's compatibility with advanced generative AI models, allowing developers to leverage the latest capabilities. It also includes bug fixes for preserving `UIMessage.id` and `AG-UI Message.id` across message loading and dumping operations. This release primarily affects developers using Pydantic-AI for integrating with large language models and OpenAI's audio 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
  • →Preserve UIMessage.id across Vercel AI load_messages and dump_messages by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/8623
  • →Bump genai-prices to 0.1.8 by @DouweM in https://github.com/pydantic/pydantic-ai/pull/8648
Features (3) ›
  • 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
Fixes (2) ›
  • 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

Maintenance (1) ›
  • Bump genai-prices to 0.1.8 by @DouweM in https://github.com/pydantic/pydantic-ai/pull/8648
Read the original announcement →

https://github.com/pydantic/pydantic-ai/releases/tag/v2.48.0

Related releases