Get your Anthropic API key

Get your Claude API key for Opus, Sonnet, and Haiku models

Anthropic's API keys (managed through Claude Platform) give you access to Claude models. You need a Claude Platform developer account — separate from a Claude.ai subscription.

Key prefix:sk-ant-api03-
Billing requiredFree tier available

Minimum $5. New accounts get $5 in free trial credits (expires 14 days after claiming).

Available models on Mykey

Claude Opus 4.8Claude Sonnet 4.6Claude Haiku 4.5

Step-by-step guide

1

Create a Claude Platform Account

Sign up at platform.claude.com.

  1. Go to https://platform.claude.com
  2. Choose "Continue with Google" or "Continue with email"
  3. For email sign-up: enter your email and create a password
  4. Verify your email via the confirmation link
  5. Complete phone verification (SMS code)

New accounts get $5 in free trial credits — look for the banner and click "Claim" to activate. Free credits expire 14 days after claiming.

Claude Platform console home page
2

Navigate to API Keys

Find the API Keys section in settings.

  1. From the left sidebar, click Settings → API Keys
  2. Direct URL: https://platform.claude.com/settings/keys
  3. You'll see a list of any existing keys with their status and usage
Claude console left sidebar with the API Keys link highlighted
3

Create a New API Key

Generate your key with a name and workspace.

  1. Click "+ Create Key" (top-right)
  2. Enter a descriptive name (e.g., "Mykey Chat")
  3. Select a Workspace (use "Default" if you're just starting)
  4. Click "Create API Key"
Claude Create API Key dialog with the name input field
4

Copy and Save Your Key

Your key is shown only once.

  1. Copy the key immediately — it's shown only once
  2. Format: sk-ant-api03-xxxxxxxxxxxxxxxxxxxxxxxxxxxx... (~108 characters)
  3. Store securely in a password manager

If you lose the key, you must revoke it and create a new one. There is no way to reveal it again.

5

Add Credits (Required)

Purchase credits before using the API.

  1. Go to Billing in the left sidebar
  2. Click "Buy Credits"
  3. Purchase at least $5 (the minimum)

Your key won't work until credits are added.

6

Add Your Key to Mykey.chat

Connect your key in Mykey settings.

  1. In Mykey.chat, go to Settings → API Keys
  2. Select Anthropic as the provider
  3. Paste your API key
  4. Click Save

Common issues

IssueFix
Credit balance too lowYou must purchase credits — even free credits need to be claimed
Key not workingEnsure no leading/trailing whitespace; keys are case-sensitive
Workspace not foundCheck you're in the correct workspace for this key
Key revokedGo to API Keys page, check status, create a new key if needed

Frequently asked questions

Do I need a Claude Pro subscription?

No. API access is completely separate from Claude Pro subscriptions. You need an API key from the Claude Platform, which uses prepaid credits.

What happened to console.anthropic.com?

The old console.anthropic.com now redirects to platform.claude.com. All API key management is done at the new URL.

Ready to connect your Anthropic key?

Sign in to Mykey and paste your API key in Settings. It will be encrypted with AES-256 immediately.

Sign in to Mykey
Your keys are encrypted with AES-256 and never stored in plain text.