slkiser/opencode-quota
OpenCode quota & tokens usage with zero context window pollution. Supports OpenCode Go, Cursor, GitHub Copilot, OpenAl, Kimi Code, Alibaba Coding Plan, Chutes Al, Google Antigravity, Z.ai Coding Plan and more.
What it solves
OpenCode Quota provides visibility into AI model usage, quotas, and token consumption for users of OpenCode. It eliminates the need to manually check multiple provider dashboards by aggregating quota and spend data directly within the OpenCode interface and the terminal.
How it works
The tool integrates with OpenCode as a plugin and provides a CLI. It fetches data from a wide variety of AI providers (such as OpenAI, Anthropic, Google, and DeepSeek) using remote APIs, local estimates, or dashboard scraping. It then presents this information through several UI options: a session sidebar, a compact status line, TUI toasts, and specific slash commands for detailed token reports (e.g., daily, weekly, or session-based usage).
Who it’s for
Developers and AI power users who use OpenCode and multiple LLM providers and want to track their API spending, token limits, and usage patterns in one place.
Highlights
- Multi-Provider Support: Pre-configured integrations for dozens of personal and business providers across US and Chinese markets.
- Flexible UI: Displays data via a sidebar panel, status line, TUI toasts, or terminal commands.
- Granular Token Tracking: Detailed reports for tokens used today, in the last 24 hours, weekly, monthly, or within a specific session.
- Extensibility: Supports adding custom providers via a guided CLI setup.
- Automation Friendly: Provides JSON output for integration with scripts, CI, and monitoring tools via OpenTelemetry.
相关
- 项目
- 项目
- 项目
- 项目
- 项目