Okapi Okapi

Gemini API · Model retirement

gemini-embedding-001

Stops working (in 570 days)

Calls to the model gemini-embedding-001 on Gemini API stop working on May 14, 2028.

What to use instead of gemini-embedding-001

Move to gemini-embedding-2, recommended by Google.

Google: the embedding spaces of gemini-embedding-001 and gemini-embedding-2 are incompatible, so you must re-embed all of your existing data. task_type is not supported; put the task in the prompt.

Facts

API
Gemini API generativelanguage.googleapis.com
Model
gemini-embedding-001
Kind
Model retirement
Takes effect
May 14, 2028
Calls after that day
Fail
Source
Deprecations page
Last updated

gemini-embedding-001 on other APIs

More from Gemini API

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub