[BUG] openai/gpt-oss-120b:nitro returns 503 "Bad Gateway" from BitRouter Cloud (Cerebras upstream healthy)
Summary
openai/gpt-oss-120b:nitro consistently returns 503 "Bad Gateway" from BitRouter Cloud (api.bitrouter.ai), while the same model served directly by Cerebras (cerebras:gpt-oss-120b) returns 200 in ~6s at the same moment. The high-throughput (:nitro) routing for gpt-oss-120b appears to be pointed at an unhealthy/misconfigured upstream.
Filing this as a BitRouter Cloud integration partner (elizaOS / Eliza Cloud) — our cloud routes non-Cerebras-native models through api.bitrouter.ai, and this model is currently our catalog's recommended default, so new users hit the 503 on their first call. We've temporarily repointed our default to Cerebras-direct, but we'd like to keep :nitro on BitRouter.
Steps to reproduce
POST https://api.bitrouter.ai/v1/chat/completions(OpenAI-compatible) with:{ "model": "openai/gpt-oss-120b:nitro", "messages": [{"role":"user","content":"hi"}], "max_tokens": 5 }- Observe the response.
(Reproduced here through the Eliza Cloud → BitRouter integration; same result, just now.)
Expected behavior
Routes to a healthy high-throughput upstream and returns 200 — as the Cerebras-direct path does for the same model.
Actual behavior
HTTP 503 (after ~13.6s)
{"error":{"message":"Failed after 3 attempts. Last error: Bad Gateway","type":"service_unavailable"}}
For comparison, at the same time:
cerebras:gpt-oss-120b → HTTP 200 in ~6.0s
So the model/upstream itself is healthy; the :nitro (throughput-priority) gateway routing is the failing part. We've also seen sporadic ~185s hangs → timeout on the same model id.
BitRouter version
BitRouter Cloud (hosted, api.bitrouter.ai) — not the CLI.
Operating system
N/A (hosted gateway)
Additional context
/v1/models(and model-status surfaces) still listopenai/gpt-oss-120b:nitroas available, so clients that pre-flight model health pick it and then 503 — would be great to also gate availability on upstream health.- Happy to provide request IDs / exact timestamps / a BitRouter Cloud account to help trace. Ping @NubsCarson (elizaOS / Eliza Cloud). 🙏
@NubsCarson Thanks for the detailed report, and for flagging it as an integration partner — that context helps.
We dug into this. The short version: :nitro is not the failing part — it isn't a BitRouter routing suffix at all, and openai/gpt-oss-120b is not currently in the BitRouter catalog. Here's the breakdown so you can verify each piece yourself.
1. :nitro is not a BitRouter routing suffix
:nitro / :floor are OpenRouter conventions; BitRouter doesn't implement them. Our supported routing-profile suffixes are:
:cost— bias toward cheapest:latency— bias toward lowest latency:throughput— bias toward highest-throughput / success-rate- (no suffix → balanced default)
An unrecognized suffix is deliberately not stripped — it's treated as part of the model id (so a real id containing a colon is never silently rewritten). You can see the difference directly:
model="openai/gpt-oss-120b:throughput" → 404 unknown model: openai/gpt-oss-120b (suffix recognized + stripped)
model="openai/gpt-oss-120b:nitro" → 404 unknown model: openai/gpt-oss-120b:nitro (kept verbatim)
So :nitro never selected a high-throughput upstream — it routed to a literal, non-existent model id.
2. openai/gpt-oss-120b isn't in the catalog right now
A bare openai/gpt-oss-120b (no suffix) also returns 404 unknown model today, and it's absent from GET /v1/models. So as of now there's no BitRouter route for this model regardless of suffix.
3. About the original 503
BitRouter itself returns 502 (upstream_error) when an upstream provider for a model is unhealthy — not 503. The 503 service_unavailable / "Failed after 3 attempts. Last error: Bad Gateway" shape you quoted is produced by a retry wrapper on the calling side, around BitRouter's underlying 502. At the time of your report the model was in the catalog but its upstream was returning errors / hanging, which is what you hit. The cerebras:...-direct path you compared against is independent of BitRouter routing.
Thanks again — and feel free to drop the request IDs/timestamps; happy to trace anything specific.
Thanks @FrozenArcher404 — your breakdown was right, and it pointed us straight at the real cause, which turned out to be on our side, not BitRouter Cloud.
We don't actually route through api.bitrouter.ai — we self-host the OSS bitrouter daemon (our config deliberately omits bitrouter: {}), with openrouter + cerebras as the credentialed providers. The 503 came from our own bitrouter.yaml: the openai/gpt-oss-120b and openai/gpt-oss-120b:nitro aliases were both routed to OpenRouter, and — exactly as you said — :nitro isn't a real routing suffix, so it hit an unhealthy upstream and our retry wrapper surfaced the 502 as a 503. Cerebras was already a declared provider in our config but no alias pointed at it.
Fix is entirely on our side (elizaOS/eliza#8450): repoint those aliases Cerebras-first with OpenRouter as an ordered fallback, and make our default model the bare Cerebras id so it goes Cerebras-direct. Verified live — gpt-oss-120b returns 200 in ~3s from Cerebras where :nitro was 503-ing.
Appreciate you adding a Cerebras gpt-oss-120b to BitRouter Cloud as well — good to have for the hosted path. Noting your :nitro → :latency mapping for whenever we evaluate the Cloud gateway. Nothing blocked on your end from us; closing the loop here.
Thanks @NubsCarson , if there's anything else we can help, feel free to open another issue!