Packages

@ai-sdk/google

4.0.122 · 17 Nov 2026Apache-2.014.6M / weekRepositoryHomepagenpmAtom feed

Your version

3.0.132

13 Oct 2026Where it was published

3.0.147 is the newest release of 3.x.

In short

1 new1 internal

Release note

Patch Changes

  • google: Add gemini-4-argon model id and long decode support for generateContent: requests that reach the per-request cap (CONTINUATION) are continued automatically with usage summed across requests and the first request's prompt token count exposed as providerMetadata.google.initialPromptTokenCount, and the continuationToken provider option / provider metadata resume responses that used up their maxOutputTokens budget. generateText with the Interactions API now polls background: true model calls until they finish.

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.