Googleapi
November 6, 2026·Source

Gemini Embedding 2 Preview Deprecation

The preview embedding model now routes to the final gemini-embedding-2, so developers should update the model name. Developers only.

  • From November 6, 2026, requests to gemini-embedding-2-preview are routed to gemini-embedding-2 at Gemini Embedding 2 rates.
  • The final model uses the same API schema, pricing, and embedding space, so no other code changes or re-indexing are needed.
  • Change the model string to gemini-embedding-2 to stop relying on the redirect.

Best for

Keeping search and retrieval apps on a supported embedding model.

When to use it

If your code still calls gemini-embedding-2-preview.

Who benefits

Developers building search or retrieval on the Gemini API.

Join the newsletter to get ahead with AI.

I share strategies, new modules, free guides, and tools to get you better at using AI in your work.

Leading a team? See team programs →