# @ai-sdk/xai@3.0.146

Category: agent-infrastructure
Published: 2026-10-27T23:14:18Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/%40ai-sdk%2Fxai%403.0.146)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-28T06:17:54.262Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Vercel AI SDK's xAI provider package (@ai-sdk/xai@3.0.146) now exposes costInUsdTicks inside the provider metadata of responses.

## Agent Summary
Updated @ai-sdk/xai to version 3.0.146. Patch 7b79338 exposes costInUsdTicks in response provider metadata for tracking usage costs.

## Body
The @ai-sdk/xai package was updated to version 3.0.146 in a patch release. This change (commit 7b79338) exposes costInUsdTicks within the responses provider metadata, allowing consumers to retrieve usage cost information directly from the response.

## Recommended actions
- Upgrade @ai-sdk/xai to version 3.0.146 if access to costInUsdTicks in the response provider metadata is required.

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