Check if your Anthropic Claude API key (sk-ant-…) is valid, see available models and fix 401 / credit-balance errors. Free, instant, key not stored.
Anthropic keys give access to the Claude models through the Claude API. Api Key Chain checks a Anthropic key with a single read-only request and shows the HTTP status, latency and the provider's response.
Want to save keys in an encrypted vault and re-check them automatically? See plans and pricing →
Have several keys? Check your whole .env file at once →
Claude API keys start with sk-ant-. Current keys look like sk-ant-api03-… followed by a long random string. The Claude Console shows the full key only once, when you create it; if you lose it, create a new key.
Admin API keys start with sk-ant-admin…. They manage your organization (members, workspaces and API keys) through the Admin API. To call Claude models, use a regular API key.
| Error | What it means and how to fix it |
|---|---|
| 401 authentication_error | The key is malformed, revoked or expired. Copy it again without spaces or line breaks, check its expiry date, or create a new key. |
| 401 “CORS requests are not allowed for this Organization” | Not a key problem: your organization’s settings block calls from a browser. Call the API from your own back end instead. |
| 400 “credit balance is too low” | The key is valid but the organization has no prepaid credit left. Add credits on the billing page of the Claude Console. |
| 400 spend limit reached | Usage hit a spend limit set for the organization or workspace. Raise the limit in the Console. |
| 402 billing_error | There is a problem with your payment details. Update them in the Claude Console. |
| 403 permission_error | The key is not allowed to use that resource. Check your organization access and workspace settings. |
| 429 rate_limit_error | You hit a rate limit or your usage tier’s monthly spend cap. Wait for the retry-after time; a spend-cap 429 keeps failing until access resumes. |
| 529 overloaded_error | The API is temporarily overloaded. Retry later with backoff. |
sk-ant-… (Claude API keys)Keys in this format are auto-detected as Anthropic.
One real request is sent to:
GET https://api.anthropic.com/v1/models| Status | Meaning |
|---|---|
| 200 | Valid — the provider accepted the key. |
| 401 | Invalid — the key is wrong, revoked or expired. |
| 403 | Rejected — the key exists but lacks permission for the test endpoint (or is disabled). |
| 429 | Valid but rate-limited — the provider recognised the key and throttled the request. |
| 400 | Usually an invalid or malformed key; the provider’s error message is shown. |
| 5xx | Provider error — validity could not be determined, try again later. |
Your key is sent straight from your browser to api.anthropic.com. Api Key Chain never stores keys, and the code is open source. Audit the code on GitHub.
This check lists the models your key can access. It does not send a message, so it confirms the key is accepted but not that your account has credit. Add credits on the Claude Console billing page.
No. Admin API keys (sk-ant-admin…) manage your organization through the Admin API. Use a regular sk-ant- API key to call Claude models.
Paste the key into the Anthropic tester at the top of this page and click Test. The tool makes one request to GET https://api.anthropic.com/v1/models and reports whether the key works, the HTTP status and the latency.
Your key is sent straight from your browser to api.anthropic.com. Api Key Chain never stores keys, and the code is open source.
Create or copy one from the Anthropic dashboard: https://platform.claude.com/settings/keys
401 means the key is wrong, revoked or expired. 403 means the key was recognised but lacks permission for the test endpoint, or the account is restricted.
No. The test calls a read-only endpoint that does not create, change or bill anything.