Skip to content

VercelAI instrumentation missing cached token usage data #17890

@raymondhechen

Description

@raymondhechen

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/node

SDK Version

10.17.0

Steps to Reproduce

Using the default VercelAI instrumentation plugin with streamText method from AI SDK. Also using Anthropic and AWS Bedrock as model providers. Here's a screenshot of the setup in the Sentry webapp:
Image

Expected Result

Expected option to segment by cached input tokens in Sentry.

Actual Result

Option to sum/show cached input tokens doesn't exist. (I tried searching for the option too)
Image

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions