Create a key
- Sign in at platform.claude.com.
- Go to Settings, then API keys.
- Click Create key; name it, choose an expiration and choose the linked account (yourself or a service account).
- Copy the key (it starts with sk-ant-). It is shown only once.
If the Create key button is disabled your role does not allow it. Personal and service-account keys stop working if their owner leaves the organization.
Spend limits
- Organization: Billing, then Spend limits, then set or adjust a limit; it cannot exceed your tier's cap (Start $500, Build $1,000, Scale $200,000 per month).
- Workspace: select the workspace and click Spend limits to cap monthly spend and set threshold alerts (not available on the Default Workspace).
- Hitting a limit you set returns a 400 error; hitting the tier cap returns a 429 error until the 1st of the month.
How you pay
Anthropic says API usage is mainly paid with prepaid credits bought in the Console. Failed requests are not charged, access stops when credits run out unless auto-reload is set, credits expire after one year and purchases are non-refundable.
See key safety and the OpenAI equivalent.
Need your GPT running again without ChatGPT?
GPT Migrator can host your instructions and files as a standalone chat page for $47 per month. You bring your own OpenAI or Anthropic API key. It answers from your instructions and files and does not run GPT Actions.
See how hosting worksRelated guides
- Anthropic docs: Get an API key
- Anthropic docs: Rate limits
- Anthropic docs: Workspaces
- Claude Help Center: How do I pay for my Claude API usage?
Pages describing other companies' products reflect their public documentation on the date shown and can go out of date.