Gemini API 503 (UNAVAILABLE)

Is there an outage right now?

Gemini API / AI Studio official status is operational. If this error persists, it is likely an implementation or environment issue on your side.

View Gemini API / AI Studio status

What this error means

503 means the service is temporarily unavailable: overload, model capacity, or outage.

Common causes

  • Overload from demand
  • Model capacity pressure
  • Partial outage/maintenance
  • Region issues

How to fix

  1. 1.Retry with exponential backoff
  2. 2.Wait a while
  3. 3.Try another model/region
  4. 4.Check this page and Google Cloud status

When waiting helps (and when it won't)

Usually recovers over time if overload/outage-related. Space out retries.

Alternatives when Gemini API / AI Studio is down

OpenAI APIClaude APIMistral APIGroq API

Related errors

FAQ

What is 503 UNAVAILABLE?

503 means the service is temporarily unavailable: overload, model capacity, or outage.

How do I fix 503 UNAVAILABLE?

Retry with exponential backoff / Wait a while / Try another model/region / Check this page and Google Cloud status