Connect Moonshot
You need API key. About two minutes.
1Get your API key
API key
sk-…- Sign in to the Moonshot (Kimi) platform console and open API Keys.
- Create a new API key and give it a name you will recognise.
- Copy the key straight away: it is shown only once.
Read only. Checking the balance costs nothing.
Open the pagehttps://platform.moonshot.ai/console/api-keys
2Add it to CreditBar
- Open CreditBar from the menu bar and choose Settings, then Accounts.
- Click Add account and pick Moonshot.
- Paste the API key into the matching field, and give the account a label you will recognise.
- Click Test connection, then Add. Numbers appear in the menu bar within a minute.
Keys are stored in your Mac's Keychain and only ever sent to Moonshot. Nothing passes through a CreditBar server.
3What it reads
- Reports
- spendable balance, split into cash and vouchers
- Calls
- https://api.moonshot.ai/v1/users/me/balance
- Refreshes
- At most every 5 minutes
- API docs
- Moonshot reference, checked 2026-09-16
Voucher credit can expire on its own schedule, so cash is shown separately.