Back to projects Brief
OpenCode sidebar for API cost and quota tracking
Demonstrates: API monitoring, quota management, secret redaction
Key Features
- Tracks OpenAI daily cost, token consumption, and request counts inside the TUI
- Shows Z.AI and GLM quota status with a two-level detail toggle
- Marks stale provider data and redacts secrets for safe display
Tech stack
TypeScriptBunOpenCode Plugin API
A sidebar plugin for the OpenCode TUI that monitors API usage across multiple providers. It tracks OpenAI daily cost, token consumption, and request counts inside the TUI.
For Z.AI and GLM, it displays quota status with a two-level detail toggle and stale-data indicators. Secrets are redacted before display, so the information can be shown safely in the interface.