zai-org / zai-org/feedback

[Bug] 发现一个影响核心计费链路的严重Bug

Open
#57 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: P2 status: 待评估 type: Bug
Dominant language
No language data
Stars
22
Forks
1
PR merge metrics
No merged PRs in 30d

Description

提交前确认 · Pre-submission checklist
  • 我已搜索过现有 issue,确认这不是重复 / I searched existing issues and confirmed this isn't a duplicate.
  • 我已阅读 CONTRIBUTING.md / I've read CONTRIBUTING.md.
问题类别 · Category

计费 / 配额 · Billing / Quota

涉及的 Agent 框架 · Agent framework

ZCode Agent(自研)

严重程度 · Severity

阻塞使用 · Blocking (无法使用核心功能 / core function unusable)

复现频率 · Reproducibility

必现 · Always

问题描述 · Description

我这边遇到一个问题:我之前开通过 Coding Plan 体验卡,现在已经过期了。但当我用 API 调用 glm-5.2 时,返回的是“coding plan expired”错误,而实际上我账户余额是充足的,并且我也不是想用 Plan 的权益,只是想正常按量付费调用。

另外我发现,一旦开通过这个体验卡,好像不管它过没过期,调用 glm-5.2 都会被强制转到 glm-4.6(或者直接拒绝)。这个行为有点奇怪,因为按理说 Plan 过期应该只影响 Plan 相关的功能,不应该影响普通的 API 调用链路。

能否帮忙排查一下是否后台有状态残留?或者这个逻辑是不是设计上就是这样的?如果是设计如此,那用户开了体验卡之后岂不是永远没法再用 5.2 了?

我确定该问题可以重现,claude code,zcode都无法正常调用,永远会提示该行为:
HTTP/1.1 429 Too Many Requests

{
"type": "error",
"error": {
"type": "rate_limit_error",
"code": "1309",
"message": "您的GLM Coding Plan套餐已到期,暂无法使用,前往官方续订后即可恢复 https://bigmodel.cn/claude-code。"
}
}

复现步骤 · Steps to reproduce

购买一张体验卡,然后直接就无法通过api在zcode里调用glm5.2了

期望表现 · Expected behavior

codingplan api应该和按量付费api分开。

实际表现 · Actual behavior

如上所说

ZCode 版本 · ZCode version

最新

设备 / 系统 / 浏览器 · Device / OS / Browser

mac最新系统

截图 / 录屏 / 日志 · Screenshots / Recordings / Logs

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.

Research direction

The report names no source files, tests, or entry points in this feedback repository. Start by reproducing the 429 response with an expired Coding Plan and sufficient account balance; done means expired-plan state no longer blocks or downgrades eligible pay-as-you-go glm-5.2 API calls.

Written by the indexing model from the issue text.

Assessment

Domain
api, payments
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.