Hello,
I am experiencing an issue with the Gemini Developer API.
Environment:
-
Model:
gemini-2.5-flash-lite -
API version:
v1beta -
Python: 3.13.14
-
Google GenAI SDK: 2.34.0
-
Authentication:
GEMINI_API_KEY -
Vertex AI: disabled
Issue:
-
models.getreturns HTTP 200 OK. -
The model’s
supported_actionsincludesgenerateContent. -
models.generate_contentreturns HTTP 404.
The generation request contains only a simple text prompt. The model name, endpoint, request body, and SDK configuration were checked locally and appear correct.
Both operations use the GEMINI_API_KEY environment variable.
Could you please investigate whether there is a model availability, project access, or server-side routing issue?
Thank you for your assistance.