Token 知识库

额度什么时候重置、怎么省 token?按目录查阅各个主题,Codex 和 Claude 分开说明,附官方原文和链接。

额度快用完了,离重置还有几天怎么办?

先看两件事:还剩多少、哪天重置(Claude Code 用 /usage,Codex 用 /status)。然后按见效快慢做减法:少开 subagent,推理降一档,换小一档的模型,换任务就开新会话。还不够,官方给的出路是等重置、升级套餐、买额外用量;Codex 还可以用掉存着的重置次数。

Codex

/status 看剩余和重置时间;先关 subagent、降推理、换小模型;不够再用重置次数或买用量。

先分清撞的是哪一条:5 小时的等几个小时就回来,周额度才需要省着用。Plus 有 5 小时限制,两档 Pro 目前没有。做减法的顺序:不让它并行委派 subagent;用 /model 把推理强度降一档、换小一档的模型,/fast 开着就关掉;换任务用 /new 开新会话。这样还不够时怎么办,见下面的小节。

官方原文

If you want to see your remaining limits during an active Codex CLI session, you can use /status.
OpenAI Developers · Codex pricing
We are for the upcoming months keeping the 5h limit not enabled for Pro $100 and Pro $200 subscriptions.
Tibo (@thsottiaux) on X · 2026-08-25
Because each subagent does its own model and tool work, subagent workflows consume more tokens than comparable single-agent runs.
OpenAI docs · Subagents
agents.enabled defaults to true. Set it to false to disable multi-agent tools.
OpenAI docs · Subagents
Higher effort can use more of your allowance and does not always produce a better result.
OpenAI Help Center · Managing usage with GPT-6 Astra in Work and Codex
Switch to a smaller model for routine tasks. Using GPT-5.6 Terra or GPT-5.6 Luna can extend your local-message usage limits, depending on the model you switch from.
OpenAI Developers · Codex pricing

Claude

/usage 看剩余和重置时间;先停 subagent、降 effort、换 Sonnet;不够就等重置、升级或买额外用量。

Claude 的周重置时间固定分配给账号,每次都是上一次加 7 天,用多用少、有没有公告重置都不变,所以「还要撑几天」是确定的。做减法的顺序:别让它扇出 subagent,agent team 用完就关;/effort 降一档;/model 换成 Sonnet;换任务先 /rename 再 /clear。模型和 effort 放在新会话开头换:在长会话中途换,下一条消息要不走缓存把整段对话重读一遍。

官方原文

Weekly limits reset at a fixed time each week that is assigned to your account. Your reset day and time stay the same regardless of when you start using Claude or when your subscription begins, and you receive your full weekly allowance each cycle.
Claude Help Center · What is the Pro plan?
A single burst of heavy activity, such as a large workflow fanout, can exhaust the weekly allowance before the session window resets.
Claude Code docs · Error reference
To prevent Claude from delegating to any subagent, deny the Agent tool itself with permissions.deny.
Claude Code docs · Create custom subagents
Sonnet handles most coding tasks well and costs less than Opus. Reserve Opus for complex architectural decisions or multi-step reasoning. Use /model to switch models mid-session, or set a default in /config.
Claude Code docs · Manage costs effectively
Each model has its own cache. Switching with /model means the next request reads the entire conversation history with no cache hits, even though the content is identical.
Claude Code docs · How Claude Code uses prompt caching
Use /clear to start fresh when switching to unrelated work. Stale context wastes tokens on every subsequent message.
Claude Code docs · Manage costs effectively
The session and weekly limits are shared across all models, so switching models doesn't restore access. The Opus and Sonnet limits each apply only to requests to that model family, so switching to a model outside the family with /model keeps you working.
Claude Code docs · Error reference

按这个顺序做减法

顺序按见效快慢排,先做第一步,再看后面的。

  1. 先砍 subagent:一次大的并行扇出就可能用光周额度。Codex 里不要让它并行委派,或在 ~/.codex/config.toml 的 [agents] 下写 enabled = false。Claude Code 里 agent team 用完就关;要彻底禁止委派,就在设置的 permissions.deny 里加上 Agent。

  2. 推理降一档:Claude Code 用 /effort,Codex 用 /model;只给真正的难题调回去。

  3. 换小一档的模型:Claude Code 选 Sonnet,Codex 选定价页点名的小一档模型;Codex 的 /fast 开着就关掉。

  4. 换任务就开新会话:Claude Code 先 /rename 再 /clear,Codex 用 /new;模型和推理档位也在这时候换,不要在长会话中途换。

还不够时,官方给的出路

Codex:账号里有重置次数就用掉,入口在设置 → 用量,或 CLI 的 /usage。Plus 和 Pro 还可以买 credits 接着用,或买一次即时重置。用了重置次数或买了重置之后,下次周重置改为你之后发的第一条消息起算 7 天,所以重置后马上发一条。OpenAI 客服不会应要求重置额度。

Claude:官方给的出路是三条:等重置、升级套餐、用 /usage-credits 买额外用量。周额度和 5 小时额度所有模型共用,用完之后换模型不能接着用。Claude 没有重置次数。

Claude 开了额外用量之后别让会话晾着:这时缓存只保留 5 分钟(订阅额度内是 1 小时),停久了再回来,第一条消息要重读整段对话。

官方原文

ChatGPT Plus and Pro users who reach their usage limit can purchase additional credits to continue working without needing to upgrade their existing plan.
OpenAI Developers · Codex pricing
Using a full banked reset refreshes your 5-hour and weekly Codex usage windows and changes your weekly reset date.
OpenAI Help Center · How banked Codex resets work
A completed purchase immediately restores both 5-hour and weekly usage. It pulls your normal weekly allowance forward rather than adding a separate usage entitlement.
OpenAI Help Center · Paid weekly Work and Codex rate limit resets
OpenAI Support does not reset ChatGPT or Codex usage limits.
OpenAI Help Center · Using Codex with your ChatGPT plan
If you hit your usage limit, you'll need to wait for it to reset, upgrade your plan, or purchase usage credits.
Claude Help Center · How do usage and length limits work?
Run /usage-credits to buy additional usage on Pro and Max, or to request it from your admin on Team and Enterprise.
Claude Code docs · Error reference
Cache misses: your first message after a break longer than the cache lifetime misses the cache and reprocesses your full context. The lifetime is an hour on a subscription and drops to five minutes once you're drawing on usage credits
Claude Code docs · Manage costs effectively

常见误解

  • Claude 周额度用完了,换个模型就能接着用

    不能。周额度和 5 小时额度是所有模型共用的,换模型不会让额度回来。只有提示写的是 Opus 限制或 Sonnet 限制时,用 /model 换到另一个系列才能继续。

  • Codex 的重置次数先存着,不着急用

    不对。重置次数会过期,通常是发放后 30 天,以账号里显示的到期时间为准,过期不补。没有可刷新的额度时点了也不会扣,所以快过期、两条进度条又都用得多的时候就该用掉。

  • Codex 买一次重置或用一次重置次数,原来的周重置时间不变

    会变。重置生效后,下次周重置改为你之后发的第一条消息起算 7 天,原来的时间作废。买的即时重置付款后立刻生效,不能存着以后用。Claude 相反:周重置时间固定,买额外用量也不改变它。

建议

  • 先看数:Claude Code 运行 /usage,Codex 运行 /status;拿「已用百分比」和「离重置还有几天」比一下,用本站的每周额度计算器算照现在的速度够不够。
  • 先砍 subagent,这一步见效最快。
  • 推理降一档,日常任务换小一档的模型。
  • Codex 有重置次数就用,用完马上发一条消息:下次周重置从这条消息起算 7 天。
  • Claude 开了额外用量之后别让会话晾着:缓存只保留 5 分钟,停久了再回来,第一条消息要重读整段对话。
  • 能等的大任务排到重置之后;重置时间和有没有公告重置,看本站的 Codex、Claude 重置页。

Codex 重置公告与记录 · Claude 重置公告与记录