gemini-embedding-001 deprecation
gemini-embedding-001 is deprecated: it still works, and removal is announced. Key date: May 14, 2028.
Google Deprecation model
gemini-embedding-001is deprecated: it still works, and removal is announced. Key date: May 14, 2028. Google lists May 14, 2028 as the earliest shutdown date for gemini-embedding-001 on the Gemini API. The replacement is gemini-embedding-2, which requires re-embedding your data.What to do: Re-embed the whole corpus with gemini-embedding-2 into a new index and cut over at once. Replace the task_type parameter, which gemini-embedding-2 doesn't support, with task instructions in the prompt. Check how multiple inputs are aggregated and how truncated dimensions are normalized.