Skip to content

All opencode/* free models return Upstream request failed: Model is unavailable (gateway-wide) #50282

Closed

Description

@Aymen104

Summary

As of 2026-09-21, every opencode/* free model returns an upstream 400 server_error: Upstream request failed: Model is unavailable. This is a gateway-wide outage, not a per-model routing bug — opencode/big-pickle, opencode/mimo-v2.5-free and opencode/deepseek-v4-flash-free all fail identically.

Repro

Direct call to the zen endpoint with a valid API token (token is accepted — no 401):

curl https://opencode.ai/zen/v1/chat/completions \
  -H "Authorization: Bearer sk-..." \
  -H "Content-Type: application/json" \
  -d '{"model":"opencode/big-pickle","messages":[{"role":"user","content":"ping"}],"max_tokens":8}'

=> HTTP 400 {"error":{"type":"server_error","message":"Upstream request failed: Model is unavailable."}}

Tested models (all identical 400):

  • opencode/big-pickle
  • opencode/mimo-v2.5-free
  • opencode/deepseek-v4-flash-free

Notes

  • Response header shows Server: cloudflare / cf-placement: remote-ORD and includes x-opencode-log-id: 955ca27a-....
  • Context: this follows the long-running big-pickle routing issue (Big Pickle (big-pickle) model returns AI_APICallError - was working before #28141). Today it escalated from intermittent to a total outage of the free tier.
  • Restoring the opencode credential in auth.json fixed the earlier Invalid credential 401, confirming the token itself is valid — the failures are purely upstream.
  • My DeepSeek auth.json key is also rejected by DeepSeek's own API as invalid, so there is no local fallback either.

Expected

Free models should respond as they did before (they worked fine as of 2026-09-19) or the gateway should surface a clearer maintenance/outage status instead of a per-request server_error.

Log id: 955ca27a-f0b8-4f17-... (request above, 2026-09-21 ~04:49 UTC)

Activity

  1. geraistec commented on Sep 21, 2026

    @geraistec

    Same problem: #50084

  2. marcelloinfoweb commented on Sep 24, 2026

    @marcelloinfoweb

    Resumo

    A partir de 21/09/2026, cada modelo gratuitoopencode/* retorna um upstream 400server_error:Upstream request failed: Model is unavailable. Esta é uma interrupção em todo o gateway, não um bug de roteamento por modelo —opencode/big-pickle,opencode/mimo-v2.5-free eopencode/deepseek-v4-flash-free todos falham de forma idêntica.

    Repro

    Chamada direta para o endpoint zen com um token de API válido (token é aceito — no 401):****

    curl https://opencode.ai/zen/v1/chat/completions \
      -H "Authorization: Bearer sk-..." \
      -H "Content-Type: application/json" \
      -d '{"model":"opencode/big-pickle","messages":[{"role":"user","content":"ping"}],"max_tokens":8}'
    
    => HTTP 400 {"error":{"type":"server_error","message":"Upstream request failed: Model is unavailable."}}
    

    Modelos testados (todos idênticos 400):

    • opencode/big-pickle
    • opencode/mimo-v2.5-free
    • opencode/deepseek-v4-flash-free

    Notas

    • O cabeçalho de resposta mostraServer: cloudflare /cf-placement: remote-ORD e incluix-opencode-log-id: 955ca27a-... .
    • Contexto: isso segue o problema de roteamento de longa duraçãobig-pickle (o modelo Big Pickle (big-pickle) retorna AI_APICallError - estava funcionando antes de #28141). Hoje passou de intermitente para uma interrupção total do nível gratuito.
    • Restaurar aopencode credencial corrigauth.jsoniu o erroInvalid credential 401 anterior, confirmando que o token em si é válido — as falhas são puramente upstream.
    • Minha chave DeepSeekauth.json também é rejeitada pela própria API do DeepSeek como inválida, portanto também não há fallback local.

    Esperado

    Os modelos gratuitos devem responder como antes (funcionaram bem em 19/09/2026) ou o gateway deve apresentar um status de manutenção/interrupção mais claro em vez de uma solicitaçãoserver_error.

    ID do log:955ca27a-f0b8-4f17-... (solicitação acima, 21/09/2026 ~04:49 UTC)

    This is abuse!!!

  3. mgajda commented on Oct 18, 2026

    @mgajda

    Frequency data, in case it helps size the gateway-side fix.

    Over 2026-09-24 → 2026-10-16: 56 of 790 ERROR lines (7.1%) were
    Upstream request failed: Model is unavailable. — 48 as message="stream error", 8 as
    message="process".

    This is the third most frequent failure I recorded, and it's notable that the message carries no
    model or provider identity at all, so there is no way to tell from the log which models are
    affected.

    For context on the neighbouring class, Endpoint is unavailable is larger still — 153 lines (19.4%),
    though that one appears to have several distinct causes tracked separately (#43477, #44850, #53120).

    Context: #35325, #36582.

  4. neriousy commented on Oct 21, 2026

    @neriousy
    Member

    Thanks for the report, and sorry for the disruption. This was a temporary problem with the hosted service or an upstream model provider, and it has since recovered. You can see live status and past incidents at https://status.opencode.ai. If you still see this now, please open a new issue with the time (with timezone), model, and request ID from the console logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions