一个运行在 chatgpt.com 的用户脚本,用悬浮面板展示当前账号的 credits、5 小时及 7 天用量窗口,并根据本周 credits 和已用百分比估算周额度。
- 展示近 7 天、近 30 天及当前周窗口的 credits。
- 展示 5 小时和 7 天窗口的已用百分比与重置时间。
- 根据已用 credits 和百分比估算周额度。
- 提供 Plus、Pro 5x、Pro 20x 自查参考区间。
- 在本地保存最多 40 条额度快照,检测明显下降。
- 支持深浅色主题、折叠和拖动悬浮面板。
先安装 Tampermonkey、Violentmonkey 或 ScriptCat,然后打开:
安装后登录 ChatGPT,刷新页面即可看到悬浮面板。
- 脚本只在
https://chatgpt.com/*运行。 - 脚本读取当前登录会话和 ChatGPT 网页使用的内部用量接口。
- 访问令牌仅保留在页面内存中,并且只会发回
chatgpt.com。 - 套餐选择、面板位置和聚合用量快照保存在
chatgpt.com的localStorage。 - 脚本没有第三方网络请求、统计、广告或远程执行代码。
- 这是非官方社区工具,与 OpenAI 没有关联,也未得到 OpenAI 背书。
- 脚本依赖 ChatGPT 网页内部接口;网页或接口变化可能导致脚本失效。
- Plus、Pro 5x、Pro 20x 区间是自查参考值,不是官方权益证明。
- 周额度是估算值,重置日切桶和百分比取整可能造成偏差。
A userscript for chatgpt.com that displays usage credits and 5-hour/7-day windows, and estimates a weekly credit allowance from credits used and the reported percentage.
- Shows credits for the last 7 days, last 30 days, and the current weekly window.
- Shows usage percentages and reset times for 5-hour and 7-day windows.
- Estimates the weekly credit allowance.
- Keeps up to 40 local snapshots to detect significant decreases.
- Supports dark/light themes, collapsing, and dragging.
Install Tampermonkey, Violentmonkey, or ScriptCat, then open:
Sign in to ChatGPT and refresh the page.
- Runs only on
https://chatgpt.com/*. - Reads the current signed-in session and internal usage endpoints used by the ChatGPT web app.
- Keeps the access token in page memory and sends it only back to
chatgpt.com. - Stores preferences, panel position, and aggregated usage snapshots in
chatgpt.comlocal storage. - Makes no third-party requests and includes no analytics, ads, or remotely executed code.
This is an unofficial community tool. It is not affiliated with or endorsed by OpenAI. Internal web endpoints and allowance behavior may change without notice. The displayed plan ranges are self-check reference values, not proof of official entitlement.