Add your Anthropic API key

Label2Prod runs every fix on your own Anthropic API key. Create a workspace with a spend limit, add the key, and see what each attempt may spend.

Label2Prod runs every fix on your own Anthropic API key, under your Anthropic account. Anthropic bills that usage to you directly. Label2Prod does not charge for it.

Create a key with a spend limit

  1. Sign in to the Anthropic Console.
  2. Create a workspace for Label2Prod and set a spend limit on it. This is where you control what Label2Prod can spend each month.
  3. Create an API key in that workspace and copy it.

Add it to Label2Prod

In Setup, open Add your Anthropic API key and paste the key. Owners and admins can do this.

Label2Prod checks the key with Anthropic before saving it, stores it encrypted, and afterwards shows only its last four characters. To change it, use Replace in Settings.

What one attempt may spend

Every attempt stops at a fixed ceiling on your key:

Attempt Ceiling
A fix $12
A fix started with the autofix-deep label $30
Each revision you ask for on a merge request $6

A ceiling is the most an attempt can use, not what it costs. The fix page in the app shows what each attempt actually spent.

Without a key

Until a key is added, a labelled issue gets a comment saying the key is missing, and nothing else happens.