v1.46.0
pydantic/pydantic-aiv1.46.0Jan 22, 2026by DouweM
AI Summary
Introduces a new `XaiModel` using the xAI SDK while deprecating the older `GrokProvider` that used the OpenAI-compatible API. Also bumps dependencies.
Key Highlights
- Add `XaiModel` using the xAI SDK
- Deprecate `GrokProvider` (OpenAI-compatible API)
- Bump `mcp` and other dependencies
Breaking Changes
- Deprecate `GrokProvider`
New Features
- `XaiModel` using the xAI SDK
- Bump `mcp` and other dependencies
Full Release Notes
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add `XaiModel` that uses the xAI SDK and deprecate `GrokProvider` that used the OpenAI-compatible API by @brightsparc in https://github.com/pydantic/pydantic-ai/pull/3400 * Bump `mcp` and other dependencies for Dependabot alerts by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4047 ## New Contributors * @brightsparc made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3400 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.45.0...v1.46.0