What this model error usually means
Google: Gemini 2.5 Flash returning 400 / context length exceeded means you should first confirm whether model ID google/gemini-2.5-flash is visible for this Google key, then separate permission, context, capability, rate limit, or route issues.
- Model: google/gemini-2.5-flash
- Provider: Google
- Status code: 400