anomalyco / anomalyco/opencode

[BUG]: OpenCode Zen free models hy3-free and nemotron-3-ultra-free failing while deepseek-v4-flash-free works

Open
#38,028 6 comments 0 reactions 1 assignee View on GitHub

@fwang is already working on this.

Since Jul 21, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

OpenCode Zen free models are inconsistently working as of v1.17.13. Direct API tests against https://opencode.ai/zen/v1/chat/completions show that two of the six listed free models fail with errors, while four succeed.

Failing models:

  • hy3-free{"code":30001,"message":"Sorry, your account balance is insufficient","data":null}
  • nemotron-3-ultra-free{"error":{"type":"server_error","message":"Error from provider (Console): Upstream request failed"}}

Working models (verified):

  • deepseek-v4-flash-free → success, cost: 0
  • big-pickle → success, cost: 0
  • mimo-v2.5-free → success, cost: 0
  • north-mini-code-free → success, cost: 0

This is not a client-side configuration issue — the failures occur when calling the Zen API directly with curl, with no authentication header required.


OpenCode version

1.17.13

Steps to reproduce

  1. Run opencode --version (v1.17.13)
  2. Test hy3-free:
curl -s https://opencode.ai/zen/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"hy3-free","messages":[{"role":"user","content":"say hi"}],"max_tokens":20,"stream":false}'

Expected: successful free response with cost 0.
Actual: {"code":30001,"message":"Sorry, your account balance is insufficient","data":null}

  1. Test nemotron-3-ultra-free:
curl -s https://opencode.ai/zen/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"nemotron-3-ultra-free","messages":[{"role":"user","content":"say hi"}],"max_tokens":20,"stream":false}'

Expected: successful free response with cost 0.
Actual: {"error":{"type":"server_error","message":"Error from provider (Console): Upstream request failed"}}

  1. For comparison, the following models work:
# deepseek-v4-flash-free - OK
curl -s https://opencode.ai/zen/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"deepseek-v4-flash-free","messages":[{"role":"user","content":"say hi"}],"max_tokens":20,"stream":false}'

# mimo-v2.5-free - OK
curl -s https://opencode.ai/zen/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"mimo-v2.5-free","messages":[{"role":"user","content":"say hi"}],"max_tokens":20,"stream":false}'

# north-mini-code-free - OK
curl -s https://opencode.ai/zen/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"north-mini-code-free","messages":[{"role":"user","content":"say hi"}],"max_tokens":20,"stream":false}'

Screenshot and/or share link

N/A (API responses captured above)

Additional context

  • The model list at GET https://opencode.ai/zen/v1/models still lists both hy3-free and nemotron-3-ultra-free as available models (owned_by: opencode), so they should be routable.
  • This may be related to prior issue #35149 (Jul 3, 2026) where all free models briefly showed "Insufficient Balance" due to a routing bug; that was fixed, but hy3-free appears to have a persistent failure now.
  • nemotron-3-ultra-free may share root cause with NVIDIA NIM issues reported in #24264 / #28385, though this is specifically the OpenCode Zen free tier, not self-hosted NVIDIA NIM.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.