Connect Vast.ai
You need API key. About two minutes.
1Get your API key
API key
Paste the Vast.ai key- Sign in to Vast.ai and open the Keys page.
- Create a new API key and limit it to read permissions.
- Copy the key.
A read scope is enough. Checking the balance costs nothing.
Open the pagehttps://cloud.vast.ai/manage-keys/
2Add it to CreditBar
- Open CreditBar from the menu bar and choose Settings, then Accounts.
- Click Add account and pick Vast.ai.
- 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 Vast.ai. Nothing passes through a CreditBar server.
3What it reads
- Reports
- prepaid credit balance and the account it belongs to
- Calls
- https://console.vast.ai/api/v0/users/current/
- Refreshes
- At most every 5 minutes
- API docs
- Vast.ai reference, checked 2026-09-16
Credit is consumed per second while instances run, so it moves between refreshes.