How to get a Claude API key

Sign in to the Claude Console, add credits on the Billing page, and create a key on the API keys page. A Claude Pro subscription does not include API credits. Max, Ultra and Team plans do.

The steps

  1. Go to platform.claude.com and sign in or create an account. This is separate from chatting at claude.ai, and API use is billed separately.
  2. Open Billing and click Buy credits. Credits are available immediately. If you have a Max, Ultra or Team plan, claim the included credits instead (see below).
  3. Open API keys and create a key.
  4. Copy the key straight away and keep it somewhere safe, such as a password manager. Anyone who has it can spend your credits.

To use it in Klaara, paste it into the key card on first launch. Klaara checks the key with one free request, stores it in your Mac's Keychain, and only ever sends it to api.anthropic.com.

What credits cost and how they work

According to Anthropic's billing article:

  • Most API usage is paid with prepaid credits.
  • Credits expire one year after purchase, and purchases are non-refundable. Buy small amounts first.
  • When credits run out, API calls stop until you add more. Auto-reload is optional.
  • Failed requests aren't charged. A request that disconnects or times out while on track to succeed still is.

For scale: at our measured costs, $5 of credits covers about 16 twenty-minute videos on Opus 5.5, or about 33 on Sonnet 5.5.

Does my Claude subscription include API access?

It depends on the plan. These are from Anthropic's page on API credits for subscribers:

PlanMonthly API credits
Free, Pro, EnterpriseNone
Max$100
Ultra$200
Team$20 per Standard seat, $100 per Premium seat, pooled and capped at $500

The conditions:

  • New subscribers can claim after 7 days on an eligible plan.
  • Unused credits expire at the end of each billing cycle and don't roll over.
  • You claim them on claude.ai under Settings, Billing, by linking a Console organization. Each plan links to one organization, and you can't change that yourself.

Using another provider

Klaara also works with these. Each needs its own key and its own balance:

Klaara for Mac

Klaara is a Mac app that turns YouTube videos into summaries with chapters, using your own AI API key. It costs €19 once. 3 free summaries first.

Download for Mac

Related