Skip to content

google.vertex

@ai-sdk/google-vertex

AIProviders.googleVertex

  • Language
  • Embedding
  • Image
  • Transcription
  • Speech
  • Video

Vertex’s implemented Gemini language, tuned endpoint, embedding, Gemini TTS speech, Cloud Speech-to-Text transcription, Veo video, and Interactions surface was audited against upstream Google Vertex 5.0.76. The current pass exposes the published embedding limits: 250 inputs for standard models and one input for Gemini multimodal embeddings. Imagen image generation/editing factories remain locally available for source compatibility after their removal from the current upstream package. Shared Gemini request behavior includes local JSON Schema $ref expansion with boolean-schema references, the Gemini 3.7 Flash low thinking floor, forward-compatible future-model capabilities, and response IDs; standard Vertex function-call and function-response IDs are omitted while server-tool IDs remain intact. Video supports first/last frame images, reference images, and top-level generateAudio precedence. Speech routes chirp* model IDs to authenticated Cloud TTS text:synthesize with Chirp voice/language defaults, LINEAR16/WAV handling, speed mapping, warnings, and metadata; other IDs keep Gemini TTS generateContent with WAV-wrapped PCM by default, raw PCM opt-in, multi-speaker provider options, sample-rate metadata, and upstream warnings. Google Batch, Gemini 3.5 transcription, and the broader shared Google language/safety/usage/request changes remain deferred to a dedicated Vertex pass. Node google-auth-library options, workflow serialization, ProviderV4 type names, and ESM-only packaging remain JS-runtime/package-surface concerns. The 5.0.76 pass adds an exact Maverick/Scout MaaS default of max_tokens: 8192 without overwriting caller values and inherits the audited Google, Anthropic, and OpenAI-compatible shared behavior.

Factory argument requirements are defined by the public Swift factory signatures. Use Public symbols when you need the exact initializer or factory declaration.

Return to the provider matrix.