Connect Vast.ai

You need API key. About two minutes.

1Get your API key

API key

Paste the Vast.ai key
  1. Sign in to Vast.ai and open the Keys page.
  2. Create a new API key and limit it to read permissions.
  3. Copy the key.

A read scope is enough. Checking the balance costs nothing.

Open the page

https://cloud.vast.ai/manage-keys/

2Add it to CreditBar

  1. Open CreditBar from the menu bar and choose Settings, then Accounts.
  2. Click Add account and pick Vast.ai.
  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 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.