Skip to content

Support multimodalembedding@001 model #2262

@adubovik

Description

@adubovik

Hi team,

I’d like to ask about support for the multimodalembedding@001 model in the GenAI SDK.

Currently, this model can only be accessed via the Vertex AI SDK. However, according to the documentation, this access method will no longer be available after June 24, 2026.

At the same time, the model itself is scheduled for retirement much later, on April 1, 2027.

Image

This creates a gap where the model is still active, but there is no clear supported way to access it via the newer SDK.

Right now, calling the model through the GenAI SDK results in a 400 error:

ClientError: 400 INVALID_ARGUMENT. {'error': {'code': 400, 'message': 'No embedding input is provided.', 'status': 'INVALID_ARGUMENT'}}

or if sent the direct HTTP request via the embedContent endpoint:

Publisher Model projects/.../locations/.../publishers/google/models/multimodalembedding@001 is not supported in the embedContent API.

A similar issue was raised previously: #1975

It was closed based on two points:

  1. The model is deprecated
  2. The GenAI SDK does not support multimodal embeddings

However, these assumptions no longer seem to apply:

  • multimodalembedding@001 is still active until April 2027
  • The GenAI SDK now supports multimodal embeddings (e.g. gemini-embedding-2-preview)

Would it be possible to support multimodalembedding@001 in the GenAI SDK, or provide guidance on the recommended migration path during this interim period?

Metadata

Metadata

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.status:awaiting user responsetype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions