embedding-2-preview shut down on 2026-08-10 per Google Gemini API's deprecation page (checked 2026-11-03). The official replacement is gemini-embedding-2. Price, context window, and max output were left blank because the official pages we checked did not publish them.
retired
Add this badge to your README
The image shows the model id and the status from this page. The link opens this page.
embedding-2-preview shut down on 2026-08-10 per Google Gemini API's deprecation page (checked 2026-11-03). The official replacement is gemini-embedding-2. Price, context window, and max output were left blank because the official pages we checked did not publish them.
What replaces embedding-2-preview?
The official replacement is gemini-embedding-2.
Is embedding-2-preview deprecated?
embedding-2-preview status is retired.
Sources
Gemini API deprecations, checked 2026-11-03. embedding-2-preview | March 10, 2026 | August 10, 2026 | gemini-embedding-2