@ai-sdk/gateway
4.0.150 · 18 Nov 2026Apache-2.047.3M / weekRepositoryHomepagenpmAtom feed
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 callbacksgateway: Scope
getCredits()toteamIdOrSlugThe credits endpoint reads the team from the
teamId/slugquery parameter rather than thex-vercel-ai-gateway-teamheader.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.