anomalyco / anomalyco/opencode
[BUG]: OpenCode Zen free models hy3-free and nemotron-3-ultra-free failing while deepseek-v4-flash-free works
@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: 0big-pickle→ success, cost: 0mimo-v2.5-free→ success, cost: 0north-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
- Run
opencode --version(v1.17.13) - 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}
- 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"}}
- 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/modelsstill lists bothhy3-freeandnemotron-3-ultra-freeas 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-freeappears to have a persistent failure now. nemotron-3-ultra-freemay 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.