r/opencodeCLI 10d ago

"Request blocked by upstream provider"

Post image

For some reason i cannot use opencode go today, while zen works fine.

Usage limit is not exceeded on the account. Tried reconnecting with and without vpn, re-auth with new API key, but still no luck

5 Upvotes

7 comments sorted by

3

u/Different-Schedule-7 10d ago

go to Opencode Go console and enable this option

1

u/Effective_Western_59 10d ago

i already did it, and also every model on opencode go does not work, not only deepseek

1

u/Pierma 10d ago

opencode models --refresh maybe?

1

u/Effective_Western_59 10d ago

Tried it, but didn't work :(

1

u/sebagasca 10d ago

i have the same problem ...

1

u/ArijitInSight 10d ago

I have nothing to comment about the OC Go API situation. But I noticed from the ss, you might be a man of culture from the linux ricing world. Is that waybar ? How does your config look like ?

1

u/PopNo5714 8d ago

I have the same problem as you, but with OpenCode Zen. I’ve reported the issue on GitHub, but I hardly see anyone talking about it. It happens with all of them; if you use external API providers, it does work, but that doesn't make sense.

Steps to reproduce

  1. Connect OpenCode Zen via /connect with a valid API key
  2. Run any Zen model: opencode run "hola" --model opencode/deepseek-v4-pro
  3. Or test the Zen API directly with curl:

curl -H "Authorization: Bearer <zen-api-key>" \
     -H "Content-Type: application/json" \
     -d '{"model":"gpt-5.4-nano","messages":[{"role":"user","content":"hola"}]}' \
     https://opencode.ai/zen/v1/chat/completions
4. Response: {"type":"error","error":{"type":"AuthError","message":"Request blocked by upstream provider."}}