Skip to content

About

A local-first Chrome extension for monitoring AI API balances, budgets and usage.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Token Wallet

Token Wallet icon

A local-first Chrome extension for monitoring AI API balances, budgets and quota usage.

中文 · Platforms · Installation · Privacy

Token Wallet dashboard

Why Token Wallet?

API spending is scattered across provider consoles. Token Wallet puts the information you need in one place: which account needs attention, how much remains, recent consumption, and where to top up.

  • Local-first: keys and snapshots remain in chrome.storage.local.
  • No backend, account, analytics or cloud sync.
  • Light, dark and system themes with a quiet Codex-inspired interface.
  • English and Chinese interface.
  • 7/30-day balance trends and a 365-day activity heatmap per provider.
  • Low-balance thresholds, desktop alerts and direct billing links.
  • Custom JSON adapters for providers not built in yet.

Supported platforms

Platform Data shown Credential required Notes
DeepSeek Available, topped-up and granted balance API key Direct balance API
Kimi / Moonshot Available, cash and voucher balance API key Direct balance API
MiniMax 5-hour and weekly Token Plan quota Token Plan key Pay-as-you-go keys cannot query cash balance
Zhipu GLM Coding Plan token quota and reset API key Uses the plan monitoring endpoint
OpenAI Current-month organization cost vs. local budget Organization Admin key Standard inference keys cannot access organization costs
Claude / Anthropic Current-month token usage vs. local allowance Admin key Uses the organization usage report
Grok / xAI Prepaid credit balance Management key + Team ID Standard inference keys cannot access billing
Gemini AI Studio billing shortcut None Standard Gemini keys do not expose billing balance
Custom Balance or quota from JSON paths Configurable GET/POST and custom headers supported

Token Wallet never invents a balance when a provider does not expose one. Such accounts are marked as console-only or unsupported.

Screens

Popup Dark dashboard
Popup Dark dashboard

Installation

Load from source

  1. Download or clone this repository.
  2. Open chrome://extensions in Chrome.
  3. Enable Developer mode.
  4. Click Load unpacked.
  5. Select the repository directory.
  6. Open Token Wallet and add an account.

Update a local installation

Pull or replace the files, then click Reload on chrome://extensions. Existing accounts and history remain in the same Chrome profile.

How usage history works

Token Wallet saves lightweight snapshots after refreshes and keeps up to 370 days locally. Daily consumption is estimated from the decrease between the first and last snapshot of a day. Balance top-ups are not counted as negative usage. These estimates do not replace official provider invoices.

Development

No build step is required.

npm test
npm run check

The extension uses Manifest V3 and plain HTML, CSS and JavaScript. Adapter logic lives in lib/core.js; product behavior is documented in PRODUCT.md.

Security

API credentials are stored locally as plaintext because Chrome extension storage does not provide a system-keychain abstraction. Use a dedicated Chrome profile and scoped, read-only billing credentials where providers support them. See SECURITY.md and PRIVACY.md.

Contributing

Issues and pull requests are welcome. Platform adapters must use documented provider endpoints and clearly state the credential scope they require. See CONTRIBUTING.md.

License

MIT © 2026 ReeCHECK

About

A local-first Chrome extension for monitoring AI API balances, budgets and usage.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages