Table of contents

Anthropic, an AI safety and research company, offers a family of AI models (dubbed “Claude”) that can help your team analyze and interpret large sets of data, streamline tedious recruiting processes, troubleshoot customer issues, and much more.
That said, you can get even more value from Anthropic by integrating its models with your internal applications or your product. Once you have, you can build intelligent workflows that can fundamentally transform how your teams or clients carry out their day-to-day work.
As a first step to building these integrations, you’ll need to access your Anthropic API key. We’ll help you do just that below!
Sign up for an account here.

Related: How to get your ChatGPT API key
After creating an account, click your Profile in the top right corner and select API Keys

On the next screen, click Create Key and type in a name for your key. Hit Create Key after naming your key.

IMPORTANT: Copy your key and store it in a safe location. You won’t be able to re-access the key in the future.

{{this-blog-only-cta}}
From the same screen in Step 2, select Plans & Billing in the left navigation.
On this screen, you have 2 options:

Here’s an overview of the plans:

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. For this guide, we’ll continue with the Build plan.
After continuing in the flow by selecting Build, you’ll be prompted to enter a credit card and purchase an initial amount of credits. You can also set up an auto-reload of credits on this page.

After hitting Purchase Credits, you’ll be taken to a dashboard, which you can use to manage your usage and billing going forward.

Related: A guide to creating API tokens in Llama
Before building to Anthropic’s API, it’s worth familiarizing yourself with the following.
Anthropic currently prices their API usage with a prepaid credit system. Depending on your usage of the API, you may utilize a different number of credits per call. To get the latest information you can see their docs here.

Anthropic’s rate limit depends on your usage tier and is currently measured in requests per minute, tokens per minute, and tokens per day. If you exceed any of the rate limits you will get a 429 error—“Your account has hit a rate limit."
More information on usage tiers and rate limits can be found here.
Anthropic does a great job of listing all of the possible error codes you can encounter while using their API. Learn more here.

Merge Gateway is a unified API and control plane for production LLM traffic, with routing, cost controls, and observability built in.

It offers:
Try Merge Gateway for free today!
Dynamically route each request to the best-fit model (including Claude models) to reduce spend without compromising performance via Merge Gateway.