🌐
Merge.dev
merge.dev › blog › anthropic-api-key
How to get your Anthropic API key (3 steps)
March 13, 2024 - If you recently created a new account, you may have credits to test the API without setting up a paid plan. To claim the credits, you’ll need to provide your phone number. If you go this route, you can skip the remainder of this guide. If you don’t have credits, you’ll need to upgrade to a paid plan. You can see information about plans if you hit Select Plan. ... If you select the Scale plan, you’ll be prompted to talk to Anthropic’s sales team and the rest of this guide won’t apply.
🌐
Reddit
reddit.com › r/claudeai › a "just use api" guide
r/ClaudeAI on Reddit: A "Just use API" Guide
December 16, 2024 -

Created the below guide that hopefully will assist those who are interested in trying it out - especially those who are frustrated with the paid Anthropic monthly subscription:

What is an API?

API stands for Application Programming Interface. It's a software intermediary that allows two applications to communicate with each other. Think of it as a messenger that takes your request to a provider and delivers the response back to you. In simpler terms, an API is a set of rules and specifications that allows different software applications to interact and share data, regardless of their underlying technologies.

How to Obtain an Anthropic API Key

Here's a detailed guide to getting your Anthropic API key:

  1. Create an Anthropic Account:

    • Go to the Anthropic website (console.anthropic.com) and sign up for an account or log in if you already have one.

  2. Access the API Keys Section:

    • Once you're logged into your account, navigate to your name/profile icon at the top right of your screen. Look for an option labeled "API Keys".

  3. Generate a New API Key:

    • Click on the button "+ Create Key".

    • You'll be prompted to give your key a name. Enter a name and click "Create Key."

  4. Copy and Secure Your API Key:

    • A long string will be displayed, which is your API key. Copy this key immediately and store it in a safe location. You will not be able to view it again, and you'll need to generate a new one if you lose it.

  5. Set up Billing:

    • I put daily limits on usage – just in case. I recommend you do the same.

Important notes:

  • Security: Treat your API key like a password. Do not share it publicly or embed it directly in your code (if applicable). Use secure methods to store and access it.

  • You can always disable your key and create new ones if you feel any have been compromised.

API Limits - Quick Definitions:

  • Rate (Requests Per Minute - RPM): How often you can send requests (Low to Higher).

  • Context (Max Input Tokens): How much the AI remembers (Smaller to Larger).

  • Output (Max Output Tokens): How long the AI's response can be (Shorter to Longer).

Anthropic Tiers:

  • Tier 1:

    • Very low rate limits (50 RPM).

    • Small per minute context input limit (40k-50K input tokens on 3.5 models). This is the real killer for single users.

    • Shorter responses/output (per min).

    • This tier will make you tear your wig off - avoid.

  • Tier 2

    • Higher rate limits (1000 RPM).

    • Moderate per minute context input limit (80k-100k input tokens on 3.5 models).

    • Longer responses/output (per min).

    • I recommend spending the $40 to get to this at least. The majority of users will probably use up their $40 within 3-6 months. Just a guess on my part FYI. Power users can gobble this up in no time, however.

  • Tier 3:

    • Higher rate limits (2000 RPM).

    • Large per minute context input limit (160k-200k input tokens on 3.5 models).

    • Longer responses/output (per min).

  • Tier 4:

    • Highest rate limits (4,000 RPM), which means it can handle more concurrent requests.

    • Very large per minute context input limit (up to 400k input tokens on all models).

    • Longer responses/output (per min).

    • Currently this is the only tier that allows for 3.5 Sonnet's max context window of 200k input tokens (check my hyper link above to see for yourself).

    • You'll need $400 currently to reach this tier.

WARNING - YOUR API CREDITS EXPIRE AFTER 12 MONTHS FROM PURCHASE.

Anthropic Current Models & Context:

  • Claude 3 Opus:

    • Has a max context window of 200k input tokens. 4K max output tokens.

    • Available on all tiers.

  • Claude 3.5 Sonnet:

    • Has a max context window of 200k input tokens. 8K max output tokens.

    • Available on all tiers.

  • Claude 3.5 Haiku:

    • Has a max context window of 200k input tokens. 8K max output tokens.

    • Available on all tiers.

Tier 4 Advantages for Multiple Users:

Tier 4's primary benefit is its high rate limits, allowing for a total of 400,000 input tokens per minute. This capacity means you could, for example, concurrently run multiple 200,000 input token context models at their maximum. This level of throughput is particularly important for applications that experience a high volume of requests.

Why Tier 4 Matters for High Traffic:

  • Handles Concurrent Requests: Tier 4 is designed to efficiently manage simultaneous requests from many users.

  • Prevents Overloads: Lower tiers can become overwhelmed with a large number of users submitting queries, causing slowdowns. Tier 4 prevents these bottlenecks, ensuring smooth operation.

  • Supports Sustained High Usage: Tier 4 is ideal for applications requiring consistent support for heavy request loads.

Tier 4 for the Single User:

As a single, "power" user, Tier 4 essentially removes all limitations on your usage.

To clarify - Tier 4 allows up to 400k input tokens of TOTAL context per minute. It does NOT allow for any particular model to extend its context input token window capability.

Platforms for Using Anthropic API Keys

Here are some popular platforms, categorized by their nature:

Free Platforms (just a sample of some I use):

  • Anthropic Console Workbench: The Anthropic website itself provides a Workbench where you can experiment with the API directly in your browser. This is a good place to start exploring.

  • TypingMind (Limited): Decent number of features for free - but ads are annoying. Check it out. Free is browser based only I believe.

  • ChatBox (Community Edition): The commercial product is also free and easy to install locally - however read the privacy policy and be sure you are good with it (I'm serious). They have a browser based one here (again, read privacy policy): Chatbox.

  • Msty (Limited): Good free feature set. Nice UI.

Paid Platforms (just a sample of some I use):

  • TypingMind (Full Featured/Lifetime purchase): Onetime payment (try to catch it on sale sub $100) and also has a local install option if you are tech savvy enough. The unique thing about this is that you can utilize things like "Canvas" across multiple API vendors (Anthropic for example).

  • 16x Prompt: I use this for coding heavily. Check it out.

  • Msty (Lifetime): I have not used this, but I have a friend who loves the additional features that the paid version brings.

Open-Source Platforms (just a sample of some I use):

  • Open WebUI: An open-source platform for building AI agents and workflows that supports various model providers, including Claude. Install with pinokio - far easier to get you set up on it if you are unfamiliar with Docker.

  • LibreChat (Advanced Setup): No pinokio installation method as of yet but another incredibly featured free open-sourced product that just released Agents as well. They also released a code interpreter feature that is not free - however if you have a need for something like this you'd understand why (sandboxed environment).

Plenty of vendor options out there I'm sure - just be sure your keys are stored securely and be sure to actually read the Privacy Policy with all of them (I can't stress this enough).

WARNING: This is NOT a thread for devs to blatantly promote their product. I am not associated with ANY of the above recommendations. I have contributed to the Open WebUI platform by creating some popular functions - but that is about it.

Hope this helps!

Edit: Modified some things. Removed my statement regarding my preference for keys not being stored in browsers - again, generally a non-issue for most. Unique issue just for me.

Discussions

How to get Anthropic API Key when "subscribing" to Pro via iOS?
The Claude Pro subscription does not include API access; it's a subscription for Claude Chat on the web or via the app of your choice. The API is charged based on usage, and you must "pre-load" funds for that usage to be charged against. You have to create a separate API account to use it, but you *can* use the same email for that account as you do for Claude Pro. The product that includes both (not exactly 1:1 comparison, but similar) is Claude Max. You may want to consider a Max subscription if you need access to both, I've seen a lot of API users saying it saves them a lot of money. A word of advice: If you don't *have* to, don't subscribe through iOS. You're paying an extra premium to Apple for literally no reason. If you subscribe directly through anthropic.com , the price is a bit lower. More on reddit.com
🌐 r/ClaudeAI
5
2
May 20, 2025
How do I get a Claude API key? - Questions - Pickaxe Community Forum
I am wondering if someone can explain how I can get a claude API key from Anthropic. I have two questions basically. How/where do I get the Claude api key? I’d like to get an api key that works for both claude sonnet and claude opus. but when I got to Claude’s website I dont see a place ... More on community.pickaxe.co
🌐 community.pickaxe.co
0
January 21, 2025
Do I need to pay for both Claude and Anthropic to use the API key?
When making a complaint, please make sure you have chosen the correct flair for the Claude environment that you are using: i.e Web interface (FREE), Web interface (PAID), or Claude API. This information helps others understand your particular situation. try to include as much information as possible (e.g. prompt and output) so that people can understand the source of your complaint. be aware that even with the same environment and inputs, others might have very different outcomes due to Anthropic's testing regime. be sure to thumbs down unsatisfactory Claude output on Claude.ai. Anthropic representatives tell us they monitor this data regularly. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
🌐 r/ClaudeAI
23
6
October 30, 2024
Anthropic API key
It does exist, but it appears they will only respond if it is clear you are immediately ready to be spending tens of thousands of dollars each month. They don’t seem interested in working with tiny accounts. More on reddit.com
🌐 r/AnthropicAi
13
8
February 26, 2023
🌐
Claude
docs.claude.com › en › api › admin-api › apikeys › get-api-key
Get API Key - Claude Docs
{ "created_at": "2024-10-30T23:58:27.427722Z", "created_by": { "id": "user_01WCz1FkmYMm4gnmykNKUu3Q", "type": "user" }, "id": "apikey_01Rj2N8SVvo6BePZj99NhmiT", "name": "Developer Key", "partial_key_hint": "sk-ant-api03-R2D...igAA", "status": "active", "type": "api_key", "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ" } ... curl "https://api.anthropic.com/v1/organizations/api_keys/apikey_01Rj2N8SVvo6BePZj99NhmiT" \ --header "anthropic-version: 2023-06-01" \ --header "content-type: application/json" \ --header "x-api-key: $ANTHROPIC_ADMIN_KEY"
🌐
Nightfall AI
nightfall.ai › ai-security-101 › anthropic-claude-api-key
Anthropic Claude API Key: The Essential Guide | Nightfall AI Security 101
For example, you are not allowed to use your API key to generate content that is harmful, unsafe, biased, or unfair. To obtain an Anthropic Claude API key, you must first create an Anthropic account. Once you have created an account, you can go to your account dashboard and click on the "API ...
🌐
Make
apps.make.com › anthropic-claude
Anthropic Claude - Apps Documentation
with anthropic claude modules in ... use the anthropic claude app in {{product name}} , you must request access to their api at https //www anthropic com/earlyaccess for more information, see the https //docs anthropic ...
🌐
Anthropic
support.anthropic.com › en › articles › 8114521-how-can-i-access-the-anthropic-api
How can I access the Anthropic API?
Organizations interested in building with the Claude API can create a Claude Console account. The Claude Console is where you can create API keys, add users to your team, set up billing, and experiment with Claude on the Workbench.
Find elsewhere
🌐
Social Intents
help.socialintents.com › social intents knowledge base › ai chatbots › how to find your anthropic claude api key
How to Find Your Anthropic Claude API Key - Social Intents Knowledge Base
September 28, 2025 - In this article, we're going to show you how to easily generate an Anthropic Claude API Key to quickly integrate the Claude AI models into your projects and applications.
🌐
Pickaxe
pickaxe.co › post › how-to-get-your-claude-api-key-a-step-by-step-guide
How to get your Claude API key: A step-by-step guide (2025) - Pickaxe Blog
October 28, 2025 - To get a Claude API key, you must create an Anthropic account add securely generate your key within the Anthropic Console. The key is shown only once so store it safely.
🌐
Claude API Reference
platform.claude.com › docs › en › api › admin › api_keys › retrieve
Get Api Key - Claude API Reference
ID of the Workspace associated with the API key, or null if the API key belongs to the default Workspace. ... curl https://api.anthropic.com/v1/organizations/api_keys/$API_KEY_ID \ -H "X-Api-Key: $ANTHROPIC_ADMIN_API_KEY"
🌐
Apideck
apideck.com › blog › how-to-get-your-claude-anthropic-api-key
How to Get Your Claude (Anthropic) API Key
Once approved, log in to the Anthropic Console. This dashboard is where you'll manage: ... In your console dashboard, locate the "API Keys" section in the navigation menu.
🌐
Reddit
reddit.com › r/claudeai › how to get anthropic api key when "subscribing" to pro via ios?
r/ClaudeAI on Reddit: How to get Anthropic API Key when "subscribing" to Pro via iOS?
May 20, 2025 -

All.

Pretty much in the subject. I'm subscribed to Pro through iOS.

Firstly - I can't actually see that I'm subscribed to Pro when I log in to Anthropic Console. (It seems to think I have a Free account, despite same email as Apple Subscription).
Secondly - I can't therefore get an API key (which I need for some Langchain work).

I'm losing my sanity here...

Help! Please.

UPDATED: Thanks all for the sage comments re subscriptions through iOS. BUT - this doesn’t explain why the ‘Pro’ subscription isn’t then being recognised by Claude?? (It thinks I’m on Free even though I pay monthly (through Apple - though, no longer).

🌐
Claude Docs
platform.claude.com › docs › en › api › overview
API Overview - Claude Docs
You can use the Workbench to try out the API in the browser and then generate API keys in Account Settings. Use workspaces to segment your API keys and control spend by use case. Anthropic provides official SDKs that simplify API integration ...
🌐
Claude Docs
platform.claude.com › docs › en › get-started
Get started with Claude - Claude Docs
Learn common patterns for the Messages API. ... Explore Claude's advanced features and capabilities. ... Discover Anthropic client libraries.
🌐
Pickaxe
community.pickaxe.co › general › questions
How do I get a Claude API key? - Questions - Pickaxe Community Forum
January 21, 2025 - I am wondering if someone can explain how I can get a claude API key from Anthropic. I have two questions basically. How/where do I get the Claude api key? I’d like to get an api key that works for both claude sonnet and claude opus. but when I got to Claude’s website I dont see a place ...
🌐
AI Content Labs
docs.aicontentlabs.com › articles › anthropic-api-key
How to Set Up the Anthropic API Key in AI Content Labs
January 7, 2025 - Go to https://console.anthropic.com/login and log in. If you don’t have an account, create one by following the on-screen instructions. In the left-hand menu, click on “API Keys”.
🌐
Reddit
reddit.com › r/claudeai › do i need to pay for both claude and anthropic to use the api key?
r/ClaudeAI on Reddit: Do I need to pay for both Claude and Anthropic to use the API key?
October 30, 2024 -

I just paid for the Pro version of Claude. Downloaded Cursor and when I went to add the 'API key', it seems like I also need to pay for Anthropic?

I am a little confused. First time doing the Cursor IDE setup. I am a Rider dev.

I want to be able to use Cursor without any limitations. Not bragging but money is not a concern. I make enough as a Software Consultant to afford those memberships.

Also, I heard about bolt.new or something along those lines? I checked it out but it seems towards opinionated out-of-the-box frontend applications.

Any advice?

Thanks!!!