{"id":43732083,"url":"https://github.com/rygel/aiconsumptiontracker","last_synced_at":"2026-02-20T17:07:47.626Z","repository":{"id":336612841,"uuid":"1149858393","full_name":"rygel/AIConsumptionTracker","owner":"rygel","description":"Token usage tracker for (not only) OpenCode","archived":false,"fork":false,"pushed_at":"2026-02-09T20:58:33.000Z","size":17480,"stargazers_count":11,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-09T23:41:19.114Z","etag":null,"topics":["antigravity","claude-code","github-copilot","kimi","minimax","openai-codex","opencode","synthetic","windows","xiaomi","zai"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rygel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-04T15:52:09.000Z","updated_at":"2026-02-09T20:26:11.000Z","dependencies_parsed_at":"2026-02-09T22:01:06.025Z","dependency_job_id":null,"html_url":"https://github.com/rygel/AIConsumptionTracker","commit_stats":null,"previous_names":["rygel/aiconsumptiontracker"],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/rygel/AIConsumptionTracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rygel%2FAIConsumptionTracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rygel%2FAIConsumptionTracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rygel%2FAIConsumptionTracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rygel%2FAIConsumptionTracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rygel","download_url":"https://codeload.github.com/rygel/AIConsumptionTracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rygel%2FAIConsumptionTracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29321276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antigravity","claude-code","github-copilot","kimi","minimax","openai-codex","opencode","synthetic","windows","xiaomi","zai"],"created_at":"2026-02-05T10:27:33.422Z","updated_at":"2026-02-20T17:07:47.619Z","avatar_url":"https://github.com/rygel.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"AIConsumptionTracker.UI/Assets/app_icon.png\" width=\"32\" height=\"32\" valign=\"middle\"\u003e AI Consumption Tracker\n\n![Version](https://img.shields.io/badge/version-2.0.2-orange)\n![License](https://img.shields.io/badge/license-MIT-green)\n![Platforms](https://img.shields.io/badge/platforms-Windows%20|%20Linux%20-blue)\n![Language](https://img.shields.io/badge/language-C%23%20|%20.NET-purple)\n[![](https://dcbadge.limes.pink/api/server/AZtNQtWuJA?style=flat)](https://discord.gg/AZtNQtWuJA)\n![Downloads](https://img.shields.io/github/downloads/rygel/AIConsumptionTracker/total)\n\n![Dashboard](docs/screenshot_dashboard_privacy.png)\n\nA streamlined Windows dashboard and tray utility to monitor AI API usage, costs, and quotas across multiple providers.\n\n## Support\nIf you want to support me and are interested in different AI model providers, you can sign up with my referral codes:\n- [Z.AI](https://z.ai/subscribe?ic=JQTB1W1M0L): GLM-4.7, GLM-4.6, GLM-4.7-flash\n- [synthetic.new](https://synthetic.new/?referral=SNJDbFCgSUZso9E): Minimax M2.1, Kimi K2.5, GLM-4.7, etc.\n\n\n### Documentation\n- [User Manual](docs/user_manual.md)\n- [CLI Reference](docs/cli_documentation.md)\n- [Architecture \u0026 Philosophy](ARCHITECTURE.md)\n- [Agent Guidelines](AGENTS.md)\n\n### Community\nJoin the discussion on our [Discord Server](https://discord.gg/AZtNQtWuJA).\n\n## Download\nDownload the latest installer or .zip file from the [Release](https://github.com/rygel/AIConsumptionTracker/releases) page.\n\n## Key Features\n\n- **Multi-Provider Support**: Track usage for Anthropic, Gemini, OpenRouter, OpenCode, Kilo Code, DeepSeek, OpenAI, Google Cloud Code, GitHub Copilot, Codex, Mistral, and more.\n- **Smart Discovery**: Automatically scans environment variables, Claude Code credentials, and standard configuration files for existing API keys.\n- **Auto-Updates**: Notifies you of new releases directly in the dashboard with a one-click download link.\n- **Minimalist Dashboard**: A compact, topmost window providing a quick overview of your current spend and token usage.\n- **Compact Settings UI**: Streamlined provider cards with 40-50% less vertical space, larger dialog for better visibility.\n- **Dynamic Tray Integration**:\n  - **Auto-Hide**: Dashboard hides automatically when focus is lost.\n  - **Individual Tracking**: Option to spawn separate tray icons for specific providers.\n  - **Live Progress Bars**: Tray icons feature \"Core Temp\" style bars that reflect usage levels in real-time.\n- **Inverted Progress Bars**: Default \"Health Bar\" mode showing **Remaining** capacity (starting green/full) instead of \"Used\" capacity.\n- **Improved DeepSeek Support**: Detailed multi-currency (CNY/USD) balance tracking with official branding.\n- **Secure Management**: Manage all keys and preferences through a refined, dark-themed settings menu.\n\n## Supported Providers\n\n| Provider                         | Integration         | Status              | Comment                                                      |\n|:---------------------------------|:--------------------|:--------------------|--------------------------------------------------------------|\n| **Antigravity**                  | via Antigravity GUI | ✅ Tested            |                                                              |\n| **Claude Code**                  |                     | ⚠️ partially tested | Testers welcome                                              |\n| **DeepSeek**                     | API Key¹            | ⚠️ Beta             | Testers welcome                                              |\n| **Gemini**                       | not integrated yet  | 🚧 Planned          | Testers welcome                                              |\n| **GitHub Copilot**               | OAuth Device Flow   | ✅ Tested            |                                                              |\n| **Kimi (Moonshot)**              | API Key¹            | ⚠️ Beta             | Testers welcome                                              |\n| **Minimax** (China)              | API Key¹            | ⚠️ Beta             | Testers welcome                                              |\n| **Minimax** (International)      | API Key¹            | ⚠️ Beta             | Testers welcome                                              |\n| **Mistral**                      | API Key¹            | ✅ Tested            | but Mistral does not provide usage information via their API |\n| **OpenAI (Codex)**               | via Opencli OAuth   | ️ ⚠️ Beta           | Testers welcome                                              |\n| **OpenRouter**                   | not integrated yet  | 🚧 Planned          | Testers welcome                                              |\n| **Opencode Zen** (coding plan)   | API Key¹            | ⚠️ Beta             | Testers welcome                                              |\n| **Opencode Zen** (pay-as-you-go) | API Key¹            | ✅ Tested            |                                                              |\n| **Synthetic**                    | API Key¹            | ✅ Tested            |                                                              |\n| **Z.AI** (Coding Plan)           | API Key¹            | ✅ Tested            |                                                              |\n\n¹ API Key can be either entered directly or discovered automatically via opencode configuration  \n\n### Screenshots\n\n**Dashboard**\n![Dashboard](docs/screenshot_dashboard_privacy.png)\n\n**Settings**\n![Settings](docs/screenshot_settings_privacy.png)\n\n**Info Dialog**\n![Info](docs/screenshot_info_privacy.png)\n\n**Tray Icons**\nProvider usage reflected in real-time with dynamic progress bars:\n\n- ![Good Status](docs/tray_icon_good.png) (Healthy/Good)\n- ![Warning Status](docs/tray_icon_warning.png) (Warning)\n- ![Danger Status](docs/tray_icon_danger.png) (Critical/Over Limit)\n\n**Context Menu**\nRight-click system tray icon for quick access:\n![Context Menu](docs/screenshot_context_menu_privacy.png)\n\n## Installation\n\n### Manual\n1. Download the latest `AIConsumptionTracker_Setup_v1.7.12.exe` from the [Releases](https://github.com/rygel/AIConsumptionTracker/releases) page.\n2. Run the installer.\n3. The app will launch and automatically scan for common API keys.\n\n## Configuration \u0026 Settings\n\nAccess the **Settings** menu by right-clicking the tray icon or using the gear icon on the dashboard.\n\n### Application Settings\n- **Show All Providers**: Toggle to show all configured providers, even those with 0 usage or errors.\n- **Compact Mode**: Reduces the height of each item, removing the icon and condensing the layout.\n- **Pin Window**: Keeps the dashboard open even when focus is lost.\n- **Always On Top**: Ensures the dashboard floats above other windows.\n- **Invert Progress Bars**: \n    - **Checked**: Bars represent **Remaining** capacity (Start Full/Green -\u003e End Empty/Red).\n    - **Unchecked**: Bars represent **Used** capacity (Start Empty -\u003e End Full/Red).\n- **Color Thresholds**: Customize the percentage at which bars turn Yellow (Warning) or Red (Critical).\n- **Auto Refresh Interval**: \n    - **Minutes**: Set how often (in minutes) the app should automatically check provider APIs for new consumption data.\n    - **Disable**: Set to **0** to disable automatic background refreshing.\n\n### Provider Management\n- **API Keys**: enter or update specific keys for each provider.\n- **Track in Tray**: Check the box next to any provider to add a dedicated icon for it in your system tray.\n- **Sub-Quotas**: For complex providers like Antigravity, you can pin specific model quotas to the tray.\n\n## Storage\nConfiguration is stored in `auth.json` in the application data directory.\n- **Automatic Backup**: Your previous configuration is preserved during updates.\n- **Secure**: API keys are stored locally.\n\n## License\nMIT\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frygel%2Faiconsumptiontracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frygel%2Faiconsumptiontracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frygel%2Faiconsumptiontracker/lists"}