What Is the Claude API? Cost, Keys, Limits and Your Data
· 6 min read
The Claude API is how your own code uses Claude models: a REST interface at api.anthropic.com, reached through a Claude Console account and a credential such as an API key. It is a separate product from the Claude chat apps.
Everything below is what Anthropic's docs, Help Center, Privacy Center and legal pages say, as read on 2 December 2026. Nobody on our side has created a key or called the API. We leave out figures; the linked pages hold them.
What is the Claude API, and is it the same as the Claude app?
Anthropic uses several names: the docs say Claude API and Claude Console, and the Commercial Terms say "Anthropic API keys". We describe the first-party Claude API reached through a Console account, not the cloud-platform routes the docs also list.
A Help Center article dated October 30, 2026 says "A paid Claude subscription enhances your chat experience, and the Claude API is billed separately." It calls the Claude Console Anthropic's developer platform for API keys and access to Claude models.
Is the Claude API free?
The developer pricing page says the Claude API has no free tier or self-serve trial and that new accounts do not include free credits. It lists three ways to start: buying credits, claiming monthly API credits on certain paid plans, or contacting sales about an enterprise trial. It also lists some code execution use as free; check the page for the terms.
The Help Center says some paid plans include monthly credits, claimed by linking a Console organization. They cover the API and the Console playground, a browser page for trying the API, but not interactive Claude Code or extra usage in the Claude apps; unused credits expire each billing cycle. What Claude Code is describes that tool.
How much does the Claude API cost, and how is it billed?
The pricing page lists per-token rates, separate for input and output and by model. What a token is explains the unit.
The pricing page FAQ says major credit cards are accepted for standard accounts and enterprise customers can arrange invoicing and other payment methods. A Help Center payment article says "Most organizations pay with prepaid usage credits" and describes monthly invoicing where an arrangement is set up through Anthropic's sales team. Check which your organization is on. The article also says "All credit purchases are non-refundable" and that purchased credits expire after a fixed period that cannot be extended.
What are the Claude API rate limits and spend limits?
The rate limits docs describe two kinds of limit. Spend limits cap an organization's cost per month; rate limits cap requests, input tokens and output tokens per minute. Both follow a usage tier assigned automatically; a Help Center article says no deposit or purchase moves you up. The docs say your tier shows on the Console's Rate limits page.
On what resets, the docs say "your capacity is continuously replenished up to your maximum limit, rather than being reset at fixed intervals." Exceeding a rate limit returns a 429 error, and reaching the monthly spend cap pauses API use until the first day of the next month, UTC.
How do I get an Anthropic API key, and keep it safe?
The docs on getting a key describe a Developer API key as a secret you create on the Console's API keys page. The docs say "The Console shows the full key only once" and tell you to store it somewhere safe, such as a secrets manager, and to create a new key if you lose it. The same page says "You might not need a key", and the authentication page lists ways to authenticate with no key to create, copy or rotate.
- Where it lives. "Keep keys out of source control, client-side code, and prompts", the key docs say. The authentication page also says to call the API from your own back end, because anyone who uses a webpage can read a credential in its code.
- If it leaks. A Help Center safety article compares a key to a credit card number, because whoever uses it incurs charges on your behalf, and it recommends revoking a suspected leak immediately. It also says Anthropic deactivates a key that GitHub reports in a public repository.
Does the Claude API keep your data or train on it?
Anthropic's pages tier by account type, so check yours. For the chat apps, see what Claude and Anthropic are. For what services keep in general, see AI data retention explained.
- Training. The Commercial Terms (line "Effective Jun 17, 2025") say "Anthropic may not train models on Customer Content from Services", meaning inputs and outputs, and that data submitted through the Services falls under the Anthropic Data Processing Addendum. The Privacy Center (dated August 18, 2026) says Anthropic will not by default train on inputs or outputs from commercial products such as the Anthropic API, unless you report feedback or bugs or choose to allow it.
- Retention. The retention docs say conversation content is not retained by default, except for models the docs designate Covered Models, which require a fixed retention period; the docs name them, so check yours. The Privacy Center (dated July 1, 2026) says Anthropic deletes inputs and outputs on its backend within a stated number of days, with exceptions such as the Files API, a zero data retention agreement, enforcing the Usage Policy and the law. We cannot tell how these two statements fit. Neither that article nor the retention docs mention backups; the Commercial Terms make an exception for copies in automated back-up systems when confidential information, which includes Customer Content, is destroyed on request.
- Zero data retention. The docs say a Legacy ZDR arrangement means Anthropic "does not store customer prompts or responses at rest after the API response is returned". It is requested from the sales team; code execution and the MCP connector are marked not eligible, and Covered Models are unavailable under it unless Anthropic expressly authorizes that. What the Model Context Protocol is explains the protocol.
- Console and playground. The docs list "Claude Console: Any usage in the Claude Console, including playground" as not covered by Legacy ZDR. The Privacy Center lists "Anthropic Console" (the docs say Claude Console; we assume the same product) among products that let you save conversations and says chats are retained in the product. A playground article dated October 19, 2026 says "Playground doesn't store your prompts or conversations on Anthropic's servers". We cannot tell how these fit, so ask Anthropic before pasting customer data in.
Rules on customer data differ by place and this is not legal advice, so check your own. A Help Center article dated October 19, 2026 says only Console Admins can request deletion of a Console organization, that it affects all members and that it cannot be reversed after a week, within which Support can restore the account data. It does not say how long Anthropic keeps data afterwards or whether copies remain. How to delete your data from an AI service covers the general steps.
Where NAMELESS stands
NAMELESS is not available yet: it is our own model, built on its own architecture, still in training, with no launch date. We are aiming for stronger logic and reasoning, extremely fast replies, unlimited context with no rereading of the conversation, and a cost of pennies compared with today's leading assistants. To follow progress, join the waitlist.
Product and company names in this article belong to their owners and are used only to describe them. NAMELESS is not affiliated with or endorsed by them.