Tech
[分享创造] pi-usage 一个 Pi Coding Agent 扩展,在 Pi 内部显示 AI 供应商用量与配额
Hello,
从 OC 转到 Pi ,搞了个 pi-usage , 支持 Z.ai / GLM Coding Plan 、 DeepSeek 和 OpenRouter 。注意:必须在 Pi 中配置了对应供应商时才会出现。
安装
pi install npm:@imdlan/pi-usage
用 pi update --extensions 更新;用 pi remove npm:@imdlan/pi-usage 卸载。
仓库
https://github.com/imdlan/pi-usage
命令
命令
行为
自动刷新?
/usage
所有供应商的用量摘要,含配额重置时间(本地时间)。
❌ 一次性快照
/usage zai
Z.ai 详细用量表:5 小时配额、MCP 月度配额(含分工具明细)、分模型用量。
❌
/usage deepseek
DeepSeek 按币种余额( CNY/USD ),含赠送/充值明细。
...
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX