Is the Google Gemini API reachable right now?
A live probe of generativelanguage.googleapis.com from NetOkay’s edge, a test from your own browser, and how Gemini streaming differs from the OpenAI-style SSE most clients expect.
In short: The card below shows the latest probe of
generativelanguage.googleapis.com from eight Cloudflare regions: one GET for
/v1beta/models with a placeholder x-goog-api-key. Google is
expected to answer 400 or 403 with its own JSON error naming the invalid key, which proves
the API answered. Then test from this browser: if NetOkay reaches the host and your app
cannot connect, the difference is on your side of the path.
Last updated
Live probe · generativelanguage.googleapis.com
Where is generativelanguage.googleapis.com reachable from?
Loading the latest observation of generativelanguage.googleapis.com… Test from this browser →
From this browser
—Not run. One request from your browser, sent only when you ask.
What this proves, and what it does not
Loading…
Gemini specifics
- API host
-
generativelanguage.googleapis.comfor the Gemini Developer API. Vertex AI uses regional*-aiplatform.googleapis.comhosts instead, so a probe of one says nothing about the other. - Streaming
-
Gemini streams through
streamGenerateContent. By default the response is a JSON array delivered in chunks; add?alt=sseto receive server-sent events withdata:lines. Clients that expect SSE without settingalt=ssesee one large JSON body arrive at the end. - Long requests
- Large context windows and video or audio inputs can take a long time before the first chunk. That first‑byte wait, not the streaming itself, is what most idle timeouts cut off.
- Official status
- Gemini API incidents appear on the Google Cloud status dashboard, which covers many services; filter for the Gemini or Vertex AI entries.
- Client defaults
-
The
google-genaiPython SDK sets no per-request timeout by default and retries automatically: up to 5 attempts on 408, 429, 500, 502, 503 and 504 with 1 to 60 second backoff. A request that seems to hang for minutes may be the SDK retrying a 503 behind the scenes.
What Gemini status codes mean
| Code | Sent by | Meaning |
|---|---|---|
| 400 | API application |
INVALID_ARGUMENT, including API_KEY_INVALID for a
malformed or unknown key.
|
| 403 | API application |
PERMISSION_DENIED: missing key, or the API is not enabled for the
project. Google’s front end answers this in JSON.
|
| 429 | API application |
RESOURCE_EXHAUSTED: quota exhausted. The JSON
error.status string is more specific than the HTTP code.
|
| 503 | API application | UNAVAILABLE: the model is overloaded. Retry with backoff. |
| Every row is an HTTP answer: the host was reached and the request was refused or served. None of them means generativelanguage.googleapis.com is unreachable. | ||
Reachable here but failing for you?
- Run the 30‑second idle stream from the network where your app fails. A long first‑byte wait on a large prompt looks like silence to a proxy. Run the idle stream →
-
Read the idle result, and check
alt=sse. Start and done arriving together is buffering on your path, or the chunked JSON default being mistaken for a broken stream. Fixes in the streaming guide → - Compare environments if this browser passes but a container, server or agent fails, then run the CLI from the failing environment against generativelanguage.googleapis.com. Compare environments →
Gemini API status FAQ
Why do I get the whole answer at once instead of a stream?
You are probably calling streamGenerateContent without alt=sse, so the response is a chunked JSON array that many HTTP clients buffer until it closes. Switch to alt=sse, or read the array incrementally.
The probe returns 400 or 403. Is Gemini blocking NetOkay?
No. Google answers a placeholder key with its own JSON error,
API_KEY_INVALID or PERMISSION_DENIED. That response comes from
the API application, so it proves the host is reachable and the Gemini API front end is
serving; it says nothing about your key or project.
Does this cover Vertex AI?
No. Vertex AI uses different regional hosts and IAM authentication. This page only observes the Gemini Developer API host.