# @ai-sdk/xai@5.0.4

Category: agent-infrastructure
Published: 2026-09-18T22:37:15Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/%40ai-sdk%2Fxai%405.0.4)
Agent usefulness: 82/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-09-21T14:17:25.755Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Patch release for @ai-sdk/xai updating internal dependencies, including @ai-sdk/provider-utils.

## Agent Summary
Version 5.0.4 of @ai-sdk/xai was released with patch changes updating dependencies, notably bumping @ai-sdk/provider-utils to version 5.0.45.

## Body
The @ai-sdk/xai provider package received a patch update (version 5.0.4) within the Vercel AI SDK ecosystem. The release notes cite patch-level changes solely focused on dependency updates, specifically targeting commits 2973485, a4db5ea, and 2937ea2, and updating @ai-sdk/provider-utils to 5.0.45.

## Recommended actions
- Upgrade @ai-sdk/xai to version 5.0.4 to incorporate updated provider-utils dependencies.

## 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.