Connect Moonshot

You need API key. About two minutes.

1Get your API key

API key

sk-…
  1. Sign in to the Moonshot (Kimi) platform console and open API Keys.
  2. Create a new API key and give it a name you will recognise.
  3. Copy the key straight away: it is shown only once.

Read only. Checking the balance costs nothing.

Open the page

https://platform.moonshot.ai/console/api-keys

2Add it to CreditBar

  1. Open CreditBar from the menu bar and choose Settings, then Accounts.
  2. Click Add account and pick Moonshot.
  3. Paste the API key into the matching field, and give the account a label you will recognise.
  4. 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.