Hello everyone,
I am experiencing a persistent 404 Not Found error when attempting to call the embedding models via the Generative Language API. This setup was working perfectly until a few days ago, but now fails consistently for both embedding-001 and text-embedding-004.
Request Details:
-
Endpoint:
https://generativelanguage.googleapis.com/v1beta/models/{model}:embedContent?key={API_KEY} -
Models tried:
embedding-001,text-embedding-004
Error Message:
“404 models/embedding-001 is not found for API version v1beta, or is not supported for embedContent. Call ListModels to see the list of available models and their supported methods.”
Observations:
-
The API key is valid and has not reached any quota limits.
-
I have checked the documentation, and while there are mentions of deprecations,
embedding-001was previously stable. -
Calling
ListModelson thev1betaendpoint does not seem to return these specific IDs anymore for my project.
Questions:
-
Have
embedding-001andtext-embedding-004been officially retired or removed from thev1betapath as of February 2026? -
Is
gemini-embedding-001the mandatory replacement for these models now? -
Does the new model require a change in the API version (e.g., switching from
v1betatov1)?
Any clarification on the current status of these embedding endpoints would be greatly appreciated. Thanks in advance!