codex中看额度重置的命令是什么

hungry-pig 2026-07-04 13:37 1

codex中看额度重置的命令是什么

最新回复 (6)
  • 陌生人 07-04 13:37
    1

    usage

  • 纳西妲 07-04 13:40
    2

    /status

  • hungry-pig 楼主 07-04 13:43
    3

    不对,我想看是否给了重置次数

  • iIl1oO0 07-04 14:02
    4

    @hungry-pig #3


    更新一下codex,然后新打开一个session的时候会提示你有几次

  • Qaaaa 07-04 14:04
    5

    1. 使用本机 Codex 凭证读取~/.codex/auth.json 中的 tokens.access token。

    2. 请求接口 https://chatgpt.com/backend-api/wham/rate-limit-reset-credits

    3. 返回结果中会包含

      ・available_count: 剩余可用重置次数

      每 credit 的 status、title、granted at、expires at

    4. 注意:

      granted at 和 expires at 为 UTC 时间,需要转换成本地时间如果返回 401,说明凭证失效或未带 Authorization header

    5. 每次重詈机会有效期为 30 天,界面不会直接显示具体到期时间,需要通过接口查询

  • Shum 07-04 15:10
    6

    https://github.com/ShumTin/CodexTray windows的话可以试试我写的这个托盘工具,额度、token、重置次数(到期时间)都能看

* 帖子来源NodeSeek
返回