Skip to content

OpenCode 服务故障反馈(go 套餐用尽后,无法转到zen 余额) #39470

Closed as not planned

Description

@Ariel2046

Go 套餐 /zen/go/v1/chat/completions 全模型返回 HTTP 500

Bug Description

Go 套餐周用量耗尽后,我充值了 Zen 余额并开启了"达到使用限额后使用可用余额"。但 /zen/go/v1/chat/completions 端点开始对所有模型返回 HTTP 500,包括 glm-5.2、deepseek-v4-pro、kimi-k3 等。这看起来是服务端故障,不是余额或账户问题(/v1/models 返回 200,Zen 余额显示正常)。

Environment

OpenCode version: (claude-g5.2-go via local liteLLM gateway)
Operating System: macOS 26.5.2
Terminal: Terminal.app
Network: Clash Party TUN proxy (also tested with direct curl, same result)

Steps to Reproduce

Go 套餐周用量耗尽
充值 Zen 余额,开启"达到限额后使用可用余额"
调用 /zen/go/v1/chat/completions 任意模型
返回 HTTP 500

Actual Behavior

curl -X POST https://opencode.ai/zen/go/v1/chat/completions
-H "Authorization: Bearer "
-H "Content-Type: application/json"
-d '{"model": "glm-5.2", "messages": [{"role": "user", "content": "hi"}]}'

Response:
HTTP/2 500
{"type":"error","error":{"message":"Internal server error"}}

Tested models: glm-5.2, deepseek-v4-pro, kimi-k3, kimi-k2.6, qwen3.7-max, minimax-m3 — all return 500.

Expected Behavior

Chat completions should return a normal response, or at least a clear error (e.g., 429 rate limit, 402 insufficient balance) rather than an opaque 500.

Additional Context

OpenCode account: zuwei2046@126.com
Workspace ID: wrk_01KSD5TPCHY8XBHHPMQ64PE261
GET /zen/go/v1/models returns HTTP 200 with all 23 models listed correctly.
Zen balance shows as active in the dashboard.
Direct curl (no proxy, no gateway) produces the same 500, so this is not a local network or gateway issue.
This started around ~14:00 CST on 2026-07-29 and has persisted for hours.

GET /zen/go/v1/models returns HTTP 200 with all 23 models listed correctly.
Zen balance shows as active in the dashboard.
Direct curl (no proxy, no gateway) produces the same 500, so this is not a local network or gateway issue.
This started around ~14:00 CST on 2026-07-29 and has persisted for hours.


Note: I initially thought this might be a billing/quota fallback issue, but the fact that /v1/models works fine and the error is a generic 500 across all models suggests a server-side outage rather than an account problem.

Activity

  1. added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Jul 29, 2026
  2. github-actions commented on Jul 29, 2026

    @github-actions
    Contributor

    Thank you for updating the issue! It now includes a clear bug description, environment details, steps to reproduce, and actual vs. expected behavior. The needs:compliance label has been removed.

  3. kai-kleinbard-tyto commented on Jul 30, 2026

    @kai-kleinbard-tyto

    Closing — no template used, insufficient information to investigate. Please reopen with the Bug Report or Feature Request template filled out (version, OS, repro steps, logs).

  4. github-actions commented on Sep 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

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