How to get a Claude API key: step by step in the Claude Console

Updated: 4 min read

In short

Sign in to the Claude Console at platform.claude.com, open the API keys page and click Create key. Give it a name, choose an expiration, then copy the key (it starts with sk-ant-) and save it: the Console shows it only once. Before the key can work, buy prepaid credits on the Billing page.

An API key is like a door pass for programs. Your app shows the pass, and Claude answers. Here's how to get a Claude API key in about the time it takes to make tea. ☕

You need it if a tool asks for "your own Claude API key": for example, to translate titles, descriptions or subtitles with Claude.

API key or Claude plan: what's the difference?

Many people think a paid Claude plan already includes the API. Usually it doesn't.

Chat plan vs API
Claude plan (claude.ai)Claude API
Who uses itYou, in the chatPrograms and apps
How you payYour planPrepaid credits in the Claude Console
Where it livesclaude.ai and the Claude appsplatform.claude.com
What you getA chat windowA key that starts with sk-ant-

One exception: Anthropic says Max, Ultra and Team plans include monthly API credits. To use them, you link a Claude Console organization to your plan. Unused monthly credits don't carry over to the next billing cycle.

How to get a Claude API key: 4 steps

In the Claude Console
  1. Sign in at platform.claude.comor create a Claude Console account
  2. Open the API keys pageplatform.claude.com/settings/keys
  3. Click Create keyname it and choose an expiration
  4. Copy the key and save itit starts with sk-ant- and is shown only once

A few details from Anthropic's docs:

  • Name. Pick something you'll recognize later, like youtube-translator-pc.
  • Expiration. You can choose 3 hours, 1 day, 7 days, 30 days, a custom date, or Never. You can't change it later. When a key expires, requests stop with an error, so you'll need a new key.
  • Linked account. For your own use, link the key to yourself.
  • Button is gray? If Create key is disabled, your role in the organization may not allow creating keys. Ask the organization admin.

The key is shown only once

This is the step people miss most often.

  1. You create the keythe Console shows the full key
  2. You close the window without copyingthe full key can't be shown again
  3. You create a new keyand delete the old one

So copy it right away and store it in a safe place, for example a password manager.

Add credits, or the key won't work

The Claude API uses prepaid credits. Anthropic's help says it plainly: buy credits before you use the API.

  1. In the Claude Console, open the Billing page.
  2. Click Buy credits, enter an amount and confirm.
  3. The credits are available right away.

Good to know, from the same help page:

  • if the credits run out, the API stops working until you add more;
  • you can turn on auto-reload so the balance tops up by itself;
  • credits expire one year after purchase and can't be refunded.

Prices change, so check Anthropic's pricing page on the day you start. A short test is a good idea: one video, one language, then look at the usage.

Keep your key safe

Simple key safety
  • Store it in a password manager
  • Give each tool its own key, so you can delete one without breaking the rest
  • Delete keys you no longer use
  • don't paste it into chats, comments or screenshots
  • don't put it into a web page's code: anyone can read it there
  • don't send it to anyone who “just wants to check”

Anthropic's advice: store keys safely, replace them from time to time, and disable or delete any key you think has leaked.

Example: using the key in a desktop app

In Syava Studio Translator (Windows), you open Claude API: configure / test, paste the key and click Verify and save. The app loads the list of models your key can use and sends one tiny test request. The key stays only on your computer, protected with Windows DPAPI, and goes only to Anthropic.

Then you can choose Claude for titles, descriptions, or subtitles (Claude API — translate SRT). Only the text you chose to translate goes to Anthropic; links and timecodes are kept as they were. More on the subtitle part: how to translate an SRT file.

Common problems and quick fixes

What you see → what to do
Likely reasonFix
Create key is grayYour role can't create keysAsk the organization admin
The key is rejectedCopied only part of it, or it expiredCopy the whole key or create a new one
Requests stop workingCredits ran outBuy credits or turn on auto-reload
You can't find the key againIt's shown only onceCreate a new key

Once you have a key, the next questions are what to translate first and how to avoid classic slips: start with translating titles and descriptions and the list of common YouTube translation mistakes.

Getting the key is a one-time job. Pasting translations into YouTube Studio for every video and every language is the part that repeats, and that's the part worth handing to a tool.

Questions and answers

Is the Claude API key free?

Creating the key costs nothing. Using it is paid: the API works with prepaid credits that you buy on the Billing page of the Claude Console.

I pay for Claude. Do I still need to pay for the API?

Usually yes. Anthropic bills the API separately from paid Claude plans. Max, Ultra and Team plans include monthly API credits, which you claim by linking a Claude Console organization to your plan.

I lost my key. Can I see it again?

No. The Console shows the full key only once, when you create it. Create a new key and delete the old one.

What does an API key start with?

A Claude API key starts with sk-ant-.

What should I do if my key leaks?

Disable or delete it in the Claude Console right away, then create a new one and put it into your tools.

SyavaTech is an independent company. This article is not affiliated with, endorsed by or sponsored by YouTube or Google.