Gemini 2.5 Flash – HTTP 404 NOT_FOUND despite valid API key

Hello,

I am experiencing an HTTP 404 NOT_FOUND error when using the Gemini API in my AI Agency Manager application.

Project: Default Gemini Project
Model: gemini-2.5-flash

Tests performed:

  • API key authentication: HTTP 200 (successful).

  • Model metadata request: HTTP 200 (successful).

  • Generative Language API: Enabled.

  • Application restrictions: None.

  • API restrictions: Gemini API only.

  • Minimal generateContent request using v1beta: HTTP 404 NOT_FOUND.

  • Identical request using stable v1: HTTP 404 NOT_FOUND.

  • No additional Google error reason was returned.

The error occurs directly with Google’s API, independently of my application’s AI agents.

Could you please help determine whether my Google project has generation access to Gemini 2.5 Flash, or whether there is a model eligibility or provisioning restriction?

I would prefer to keep using gemini-2.5-flash.

Thank you for your help.

Hello @Samsom_Debesay ,

To ensure reliable performance for everyone, we are limiting access to the 2.5 models to users who have actively used them in the past. These models are not deprecated and will continue to be served until further notice. For your new projects, please use our latest models: 3.5 Flash-Lite or 3.8 Flash. This helps us maintain sufficient capacity for both ongoing legacy workflows and new applications.