L

Connect Langfuse

You need Secret key and Public key. About two minutes.

1Get these from Langfuse

Secret key

sk-lf-…
  1. Sign in to Langfuse Cloud in your region (EU, US or JP) and open the project.
  2. Go to the project's Settings, then API Keys, and create a new key pair.
  3. Copy the secret key, which starts with sk-lf-.

Langfuse project settings, API keys. The secret half of the pair.

Open the page

https://cloud.langfuse.com

Public key

pk-lf-…
  1. Use the same key pair from the project's Settings, API Keys.
  2. Copy the public key, which starts with pk-lf-.

The public half, shown beside it. Langfuse sends both as HTTP Basic.

Open the page

https://cloud.langfuse.com

2Add it to CreditBar

  1. Open CreditBar from the menu bar and choose Settings, then Accounts.
  2. Click Add account and pick Langfuse.
  3. Paste the Secret key and the Public key into the matching fields, 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 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.