OpenAI API down or rate limited? Switch with two variables
What OpenAI’s own page reports for its API, how GPT models did on our gateway in the last hour, and a switch that leaves your code as it is.
OpenAI’s own status feed does not mark Chat Completions, Responses and Embeddings degraded or down. Nothing to route around right now.
Read 2026-12-03 13:40 UTC from https://status.openai.com/proxy/status.openai.com
Their page: status.openai.com
GPT on UplinkSwitch, hour to 13:07 UTC: 100% of requests answered.
Our figure is every request our customers sent that family in that hour, answered or failed by a host; requests the customer’s own input broke are left out. Source: status.
The Python and Node OpenAI SDKs read their base URL and key from the environment, so the whole move can be two exported variables and a restart. The Python call below adds a fallback list; it ran on 2026-11-27 and printed gpt-6.2-astra ready.
Point the SDK somewhere else
export OPENAI_BASE_URL=https://api.uplinkswitch.com/v1
export OPENAI_API_KEY=$UPLINKSWITCH_API_KEYNothing else is required for a plain completion: same request body, same response shape. Undo it by unsetting the two variables. For a code-level change instead of an environment one, the OpenAI Python base URL guide shows the constructor form.
Add a fallback list
from openai import OpenAI
client = OpenAI() # reads OPENAI_BASE_URL and OPENAI_API_KEY
r = client.chat.completions.create(
model="gpt-6.2-astra",
messages=[{"role": "user", "content": "Reply with one word: ready"}],
extra_body={"models": ["gpt-5.5", "claude-sonnet-5-5", "gemini-4-argon"]},
)
print(r.model, r.choices[0].message.content)models is read as the order to try once model has no route left that can answer. It goes to another GPT first, then across to Claude and Gemini, so an incident on the OpenAI side alone still leaves two families. r.model says which one answered, and that is the one billed.
Outage or rate limit: tell them apart
- OpenAI’s panel above shows degraded or worse: their side. Fail over and watch their incident link.
- The panel is green and you get
429with a quota or rate message: your account’s limit. A second service with prepaid balance carries the overflow; this gateway has no monthly plan to hit. - The panel is green and you get
401: the key, not the service. Check it before you move anything.
What it costs to leave it in
Only the model that answered is billed. GPT prices per id are on GPT API pricing; the wider comparison is on the OpenAI API alternative page.