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
- 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.
- 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).
- Open API keys and create a key.
- 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:
| Plan | Monthly API credits |
|---|---|
| Free, Pro, Enterprise | None |
| 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:
- OpenAI: platform.openai.com/api-keys
- xAI (Grok): console.x.ai. A new team can create a key before it has credits, but calls fail until you add some. We hit this ourselves.
- Google (Gemini): aistudio.google.com/apikey. Some models have a free tier. On several of them Google may use free-tier content to improve its products.
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 MacRelated
Summarize a YouTube video with Claude
Three ways to do it, with what each one costs you in money and effort.
What the Claude API costs per YouTube video
Token counts and costs from real runs, with the data to download.
Turn a YouTube video into notes
A real 15-minute talk turned into notes, and when to take notes by hand.