V2 Gemini Usage Billing
OpenCode V2 plugin for tracking Gemini API Key Usage, Rate Limits, Spend, and Billing
0
766
近 7 天 766
37.7
生态多维模型
7 天前
2026-09-28
快速安装与配置
opencode.json写入当前项目的 opencode.json,只对这个仓库生效。
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-v2-gemini-usage-billing@1.0.4"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-v2-gemini-usage-billing@1.0.4"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D opencode-v2-gemini-usage-billingOpenCode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。
该插件暂未提供 README 文档
缺少文档通常代表该项目仍在开发初期。建议前往其源码仓库查看详细实现。
同类生态推荐
Tui Quota Usage
opencode-tui-quota-usage
OpenCode quota usage sidebar tracker for OpenCode V2 CLI/TUI
Usage Report
opencode-usage-report
opencode plugin: /usage command showing subscription quota windows for configured providers
Go Usage
@pistonex/opencode-go-usage
OpenCode TUI plugin that shows OpenCode Go subscription usage (rolling / weekly / monthly) in the sidebar