API and Workbench usage is billed via prepaid "usage credits". Credits must be purchased prior to using the API, and your credits will be applied to your usage according to our current pricing. These credits can be used for API access, Workbench usage, and Claude Code. Failed requests are not charged, and you will only be billed for successful API calls and completed tasks.
You can track credit usage in your Console settings on the Billing page. If you run out of credits, you will no longer be able to call the API or use Workbench. You can choose to set up an auto-reload that purchases additional credits when your balance falls below a set limit.
To add usage credits and adjust your auto-reload settings, navigate to your Billing page. Click on the “Buy credits” button, and enter in the amount of credits you would like to purchase. After you’ve purchased your credits, they will be immediately available to you.
You can also view your organization's available credit balance in your Console settings on the Billing page.
To adjust your auto-reload options, click on “Edit” in the auto-reload section. You can toggle auto-reload on or off here. If choosing to use auto-reload, you can set the minimum account balance, and the amount to reload to if your account reaches that minimum balance.
Please note that purchased credits are subject to our Credit Terms. Credits expire one year from the purchase date, and this expiration date cannot be extended. All credit purchases are non-refundable.
You can learn more about credit usage, and how it relates to usage limits here.