# Pydantic AI v2.50.0 (2026-09-24)

Category: agent-infrastructure
Published: 2026-09-25T04:47:15Z
Source: [Pydantic AI releases](https://github.com/pydantic/pydantic-ai/releases/tag/v2.50.0)
Agent usefulness: 82/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-09-25T06:17:29.056Z
Tags: pydantic-ai, typed-agents, python

## Human Summary
Pydantic AI v2.50.0 introduces DecisionModel routing infrastructure, support for Gemini 3.8 realtime models, durable context indicators, and numerous realtime audio fixes.

## Agent Summary
Pydantic AI v2.50.0 introduces breaking changes to decision model routing interfaces (ModelSelectionContext, route thresholds) and adds DecisionModel, TypeSafeModel decisions protocol support, Gemini 3.8 live models, and durable workflow detection via RunContext.

## Body
Pydantic AI v2.50.0 includes compatibility updates and new features centered on model routing and realtime sessions. Compatibility changes update how DecisionModel routes are named and queried, adjust ModelSelectionContext to append routed requests, expose ModelSelectionContext.prompt, and replace tool-call lean with an opt-in decision route threshold. New features include the DecisionModel base class (applied to TypeSafeModel), tracing via decide spans, OpenAI service tier exposure, RunContext durable workflow flags, and realtime support for gemini-3.8-live and gemini-3.8-live-extended-thinking. Bug fixes resolve several pricing inaccuracies (Anthropic 1-hour cache writes, realtime image input, and voice model audio seconds), fix realtime audio stream buffering and session rollback behavior across OpenAI and Gemini providers, and correct generic OutputSpec typing under mypy.

## Recommended actions
- Update routing logic to adapt to DecisionModel route name queries and the replacement of tool-call lean with the opt-in decision route threshold.
- Review usages of ModelSelectionContext to handle the updated messages array and the new prompt attribute.
- Update any exception or event handling referencing renamed decision types (e.g., ToolCallProposed renamed to UnfillableRoute under DecisionHandOff).
- Verify pricing calculations if relying on Anthropic one-hour cache writes, realtime image inputs, or duration-billed audio.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.