Connect Langfuse
You need Secret key and Public key. About two minutes.
1Get these from Langfuse
Secret key
sk-lf-…- Sign in to Langfuse Cloud in your region (EU, US or JP) and open the project.
- Go to the project's Settings, then API Keys, and create a new key pair.
- Copy the secret key, which starts with sk-lf-.
Langfuse project settings, API keys. The secret half of the pair.
Open the pagehttps://cloud.langfuse.com
Public key
pk-lf-…- Use the same key pair from the project's Settings, API Keys.
- Copy the public key, which starts with pk-lf-.
The public half, shown beside it. Langfuse sends both as HTTP Basic.
Open the pagehttps://cloud.langfuse.com
2Add it to CreditBar
- Open CreditBar from the menu bar and choose Settings, then Accounts.
- Click Add account and pick Langfuse.
- Paste the Secret key and the Public key into the matching fields, 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 Langfuse. Nothing passes through a CreditBar server.
3What it reads
- Reports
- model cost per day over the window, grouped by model
- Calls
- https://cloud.langfuse.com/api/public/v2/metrics
- Refreshes
- At most every 15 minutes
- API docs
- Langfuse reference, checked 2026-09-18
One project, the one the key pair belongs to, and only calls that were traced. Langfuse notes non realtime endpoints can lag about ten minutes.