{"repo":"Ainsley0917/opencode-token-monitor","free":true,"listed":false,"github":"https://github.com/Ainsley0917/opencode-token-monitor","clone":"git clone https://github.com/Ainsley0917/opencode-token-monitor.git","description":"OpenCode plugin for monitoring token usage, estimating costs, and tracking analytics across AI coding sessions","language":"TypeScript","stars":28,"topics":["analytics","cost-tracking","opencode","plugin","token-usage","typescript"],"license":"MIT","category":"analytics","readme_excerpt":"opencode-token-monitor OpenCode plugin for monitoring token usage, estimating costs, and tracking ecosystem analytics across AI coding sessions. Features - Real-time Monitoring : Track token usage (input/output/reasoning/cache) for all assistant messages. - Ecosystem Analytics : - Agent Breakdown : Detailed cost and token attribution by execution agent and initiator agent. - Agent×Model Cross-breakdown : See which agents are using which models. - Tool×Command Attribution : Identify high-cost tools and commands (safe summaries only). - History & Trends : - Persistent History : Automatically saves session records for long-term tracking. - Trend Analysis : Daily cost trends, Week-over-week changes, and cost spike detection. - Visual Charts : ASCII bar charts for cost trends directly in the terminal. - Budgeting & Quotas : - Budget Thresholds : Set daily, weekly, and monthly budget limits. - Quota Integration : Monitor Antigravity quota remaining fractions. - Live Notifications : Toast notifications for session costs and budget warnings. - Advanced Export : Export data to JSON, CSV, or Markdown formats for external analysis. - Stability Features : Automatic output truncation and \"compact mode\" for heavy sessions or Antigravity models. Installation 1. Recommended: Using opencode.json Add the plugin to your opencode.json configuration file. OpenCode will automatically download and load the plugin on startup. Add \"opencode-token-monitor@latest\" to the plugin array: The opencode.json","default_branch":null,"files":null,"tree":[],"storefront":"/r/Ainsley0917","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Ainsley0917/opencode-token-monitor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}