Packages

@ai-sdk/gateway

4.0.150 · 18 Nov 2026Apache-2.047.3M / weekRepositoryHomepagenpmAtom feed

Your version

4.0.102

30 Sep 2026Where it was published

4.0.152 is the newest release of 4.x.

In short

1 new1 fixed2 internal

Release note

The section about @ai-sdk/gateway of a note shared by several packages.

Patch Changes

  • ai: Add telemetry to speech generation and transcription, including
    provider usage propagation and experimental streaming lifecycle callbacks

  • gateway: Scope getCredits() to teamIdOrSlug

    The credits endpoint reads the team from the teamId / slug query parameter rather than the x-vercel-ai-gateway-team header. getCredits() now forwards the configured team as a query parameter, so credentials that can access multiple teams (such as Vercel access tokens) are no longer rejected with an authentication error.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.