unstale

npm / @ai-sdk/google-vertex

@ai-sdk/google-vertex

What changed in @ai-sdk/google-vertex 3 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

5 breaking18 new APIs and options16 behavior and defaults18 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@ai-sdk/google-vertex 533 changes

Breaking changes 3

  • Forced tool use is unsupported: required and named tool choices fall back to auto, while structuredOutputMode: 'jsonTool' falls back to native structured outputs, each with a warning.

    5.0.97release notes

  • Together AI Gemini image inputs are marked unsupported with the current single-image request mapping.

    5.0.96release notes

  • Support for Imagen models and their integration was dropped following the API shutdown.

    5.0.60release notes

New APIs and options 12

  • Adds a provider option and provider metadata to resume responses that used up their maxOutputTokens budget.

    4.0.213, 5.0.111release notesrelease notes

  • Adds gemini-4-argon as a model id.

    3.0.182, 4.0.213, 5.0.111release notesrelease notesrelease notes

  • Exposes the first request's prompt token count in provider metadata.

    3.0.182, 4.0.213, 5.0.111release notesrelease notesrelease notes

  • Adds Claude Haiku 5.5 as a supported model, with a 128k maximum output token limit, adaptive thinking, and five effort levels.

    5.0.105release notes

  • Adds the gemini-nano-banana-2.1 model ID for use with Google models.

    5.0.103release notes

  • Adds experimental streaming lifecycle callbacks for speech generation and transcription telemetry.

    5.0.100release notes

  • Adds the Claude Sonnet 5.5 model ID to @ai-sdk/google-vertex.

    3.0.179, 4.0.208, 5.0.97release notesrelease notesrelease notes

  • Claude Sonnet 5.5 adds the between_tools thinking type. Disabled thinking and reasoning: 'none' map to it, budget-based thinking converts to adaptive thinking, and xhigh and max effort are lowered to high with a warning.

    5.0.97release notes

  • Adds Claude Fable 5.1 model IDs to the Vertex provider.

    5.0.84release notes

  • Adds the gemini-3.8-flash model for use with @ai-sdk/google-vertex.

    3.0.173, 5.0.75release notesrelease notes

  • Adds unary transcription via generateContent, with language detection, speaker diarization, word timestamps, and custom vocabulary.

    5.0.66release notes

  • Adds streaming transcription over the Live API WebSocket, with VERBATIM or SMART transcription formatting.

    5.0.66release notes

Behavior and default changes 7

  • Requests that reach the per-request cap (CONTINUATION) are continued automatically, with usage summed across requests.

    3.0.182, 5.0.111release notesrelease notes

  • With the Interactions API, polls background: true model calls until they finish.

    5.0.111release notes

  • Top-level embedding dimensions are mapped to provider settings, allowing providers to receive the requested dimensions.

    5.0.109release notes

  • Thinking can be disabled up to high effort; xhigh and max are lowered to high with a warning when thinking is disabled. Token budgets are converted to adaptive thinking with a warning.

    5.0.105release notes

  • Adds telemetry to speech generation and transcription, with provider usage propagation.

    5.0.100release notes

  • Capability declarations now use confirmed model IDs, leaving unrecognized model names unknown; asynchronous lookups and middleware overrides can also resolve to unknown.

    5.0.96release notes

  • Capability declarations now include single-image editing support for Together AI FLUX.2 Pro and Flex.

    5.0.96release notes

Fixes and other changes 11

  • Fixes surfacing errors that occur during streaming.

    5.0.115release notes

  • Fixes hostname-part validation by using isValidHostnamePart.

    5.0.100release notes

  • Uses a standards-compliant User-Agent header.

    5.0.98release notes

  • Capability declarations now advertise file-input support for QuiverAI Arrow 2 and Arrow 2 Telos.

    5.0.96release notes

  • Supported Vertex tool result URLs are now forwarded as function response file data.

    5.0.95release notes

  • Corrects the advertised supported per-call limit for Gemini images.

    5.0.87release notes

  • Fixes downloading tool result file URLs.

    5.0.81release notes

  • Unclassified empty image results are retried, so these results no longer necessarily end an attempt without retrying.

    5.0.77release notes

  • Google Vertex prompt blocks are marked as terminal.

    5.0.77release notes

  • The default output token setting for Llama 4 was fixed.

    5.0.76release notes

  • Vertex text embedding models now advertise a batch limit of 250.

    5.0.70release notes

@ai-sdk/google-vertex 415 changes

Breaking changes 1

  • Google Vertex content-filtered results are treated as terminal rather than retryable.

    4.0.198release notes

New APIs and options 4

  • Adds the claude-haiku-5-5 model ID to @ai-sdk/google-vertex; the model is recognized with a 128k maximum output token limit and all five effort levels.

    3.0.181, 4.0.211release notesrelease notes

  • Adds the between_tools thinking type, the lowest thinking setting on claude-sonnet-5-5.

    3.0.179, 4.0.208release notesrelease notes

  • Adds the gemini-3.8-flash model to the Google provider.

    4.0.197release notes

  • Adds unary transcription via generateContent, with language detection, speaker diarization, word timestamps, custom vocabulary, and VERBATIM or SMART formatting.

    4.0.191release notes

Behavior and default changes 7

  • Automatically continues requests that reach the per-request CONTINUATION cap, sums usage across requests, and exposes the first request's prompt token count.

    4.0.213release notes

  • With the Interactions API, polls background model calls until they finish.

    4.0.213release notes

  • For claude-haiku-5-5, an enabled thinking budget is converted to adaptive thinking with a warning because the model does not support thinking token budgets.

    4.0.211release notes

  • For claude-sonnet-5-5, budget-based thinking is converted to adaptive thinking.

    4.0.208release notes

  • For claude-sonnet-5-5, structuredOutputMode: 'jsonTool' falls back to native structured outputs with a warning.

    3.0.179, 4.0.208release notesrelease notes

  • For claude-sonnet-5-5, disabled thinking is replaced with between_tools thinking, with a warning.

    4.0.208release notes

  • For claude-sonnet-5-5, required and named tool choices fall back to auto with a warning.

    3.0.179, 4.0.208release notesrelease notes

Fixes and other changes 3

  • xhigh and max effort are lowered to high with a warning because the API rejects them with between_tools.

    3.0.179, 4.0.208release notesrelease notes

  • Forwards supported GCS tool result URLs as function response file data on Vertex Gemini 3 and later, limited to image, PDF, and text MIME types; HTTP(S) downloads remain supported on all Gemini generations.

    4.0.206release notes

  • Unclassified empty image results are retried, with retry-attempt accounting preserved.

    4.0.198release notes

@ai-sdk/google-vertex 39 changes

Breaking changes 1

  • For claude-sonnet-5-5, disabled thinking is replaced with between_tools thinking, with a warning.

    3.0.179release notes

New APIs and options 2

  • Adds the continuationToken provider option for resuming responses that used up their maxOutputTokens budget.

    3.0.182release notes

  • A provider-independent classification of result retryability is added and preserved through the AI Gateway.

    3.0.174release notes

Behavior and default changes 2

  • For claude-sonnet-5-5, budget-based thinking is converted to adaptive thinking.

    3.0.179release notes

  • Unclassified empty image results are retried, while Google Vertex RAI-filtered results are treated as terminal.

    3.0.174release notes

Fixes and other changes 4

  • Converts enabled thinking with a token budget to adaptive thinking and emits a warning because the model does not support thinking token budgets.

    3.0.181release notes

  • Recognizes the model as having a 128k max output token limit and all five effort levels; when thinking is disabled, xhigh and max effort are lowered to high with a warning.

    3.0.181release notes

  • Diagnostics from completed attempts are preserved.

    3.0.174release notes

  • Google Vertex RAI-filtered results are marked as terminal.

    3.0.174release notes