BeClaude
GuideBeginnerAPI2026-05-15

How to Manage Your Anthropic Account and API Keys: A Practical Guide for Claude Users

Learn how to navigate the Anthropic Console to manage your company account, create and rotate API keys, set usage limits, and monitor billing for Claude AI.

Quick Answer

This guide walks you through setting up and managing your Anthropic company account, generating and securing API keys, configuring usage limits, and monitoring billing—all from the Anthropic Console.

Anthropic ConsoleAPI KeysAccount ManagementBillingClaude API

Introduction

If you're integrating Claude into your applications or workflows, you'll need to interact with the Anthropic Console—the central hub for managing your account, API keys, billing, and usage. Whether you're a solo developer or part of a larger organization, understanding how to navigate the Console is essential for a smooth experience with the Claude API.

This guide covers everything from creating your first API key to setting spending limits and monitoring usage. By the end, you'll be able to confidently manage your Anthropic account and keep your API access secure.

What Is the Anthropic Console?

The Anthropic Console (console.anthropic.com) is the web-based dashboard where you:

  • Create and manage API keys
  • View usage statistics and billing details
  • Configure rate limits and spending caps
  • Manage team members and permissions
  • Access documentation and support
Think of it as the control center for your Claude API usage.

Step 1: Creating Your Account and Company

Before you can generate API keys, you need an Anthropic account. Here's how:

  • Go to console.anthropic.com
  • Click Sign Up and create an account using your email or a Google/GitHub login
  • After verifying your email, you'll be prompted to create a Company (or organization)
  • Enter your company name and billing details (if you're on a paid plan)
Note: If you're an individual developer, you can name your company anything—even your own name. The company is just a logical grouping for your API keys and billing.

Company vs. Personal Account

FeaturePersonal AccountCompany Account
API Key ManagementYesYes
Team MembersNoYes
Centralized BillingNoYes
Usage ReportsBasicDetailed
For teams, creating a company account is highly recommended so billing and keys are managed centrally.

Step 2: Generating Your First API Key

Once your account is set up, you can generate an API key:

  • In the Console, navigate to API Keys (usually in the left sidebar)
  • Click Create Key
  • Give your key a descriptive name (e.g., "Production App", "Dev Testing")
  • Choose the workspace (if you have multiple projects)
  • Click Create
Your new API key will be displayed once. Copy it immediately and store it securely—you won't be able to see it again.

Best Practices for API Key Security

  • Never hardcode keys in your source code or commit them to version control
  • Use environment variables or a secrets manager (e.g., AWS Secrets Manager, HashiCorp Vault)
  • Rotate keys every 90 days
  • Use separate keys for development, staging, and production
  • Revoke compromised keys immediately

Example: Using Environment Variables in Python

import os
from anthropic import Anthropic

Load API key from environment variable

client = Anthropic( api_key=os.environ.get("ANTHROPIC_API_KEY") )

Make a request

response = client.messages.create( model="claude-3-5-sonnet-20241022", max_tokens=1000, messages=[ {"role": "user", "content": "Hello, Claude!"} ] )

print(response.content)

Example: Using Environment Variables in TypeScript

import Anthropic from '@anthropic-ai/sdk';

const client = new Anthropic({ apiKey: process.env.ANTHROPIC_API_KEY, });

async function main() { const response = await client.messages.create({ model: 'claude-3-5-sonnet-20241022', max_tokens: 1000, messages: [ { role: 'user', content: 'Hello, Claude!' } ] }); console.log(response.content); }

main();

Step 3: Managing Usage and Billing

Setting Spending Limits

To avoid unexpected charges, you can set a spending limit on your account:

  • Go to Billing in the Console
  • Under Spending Limit, click Edit
  • Set a monthly cap (e.g., $100)
  • Save
Once you hit the limit, API requests will be rejected until the next billing cycle or until you increase the cap.

Viewing Usage

The Usage tab shows:

  • Total tokens consumed (input + output)
  • Cost breakdown by model
  • Daily/weekly/monthly trends
  • Requests per minute (rate limit tracking)
This is invaluable for debugging cost spikes or planning capacity.

Understanding Pricing

Claude API pricing is based on per-token costs, varying by model:

ModelInput (per 1M tokens)Output (per 1M tokens)
Claude 3.5 Sonnet$3.00$15.00
Claude 3 Opus$15.00$75.00
Claude 3 Haiku$0.25$1.25
Prices are subject to change. Always check the official pricing page for the latest.

Step 4: Managing Team Members (Company Accounts Only)

If you created a company account, you can invite team members:

  • Go to Team in the Console
  • Click Invite Member
  • Enter their email and choose a role:
- Admin: Full access to billing, keys, and settings - Developer: Can create/use API keys, view usage - Viewer: Read-only access
  • Send the invitation
This is especially useful for organizations where multiple developers need API access but billing should be centralized.

Step 5: Rotating and Revoking API Keys

Rotating Keys

For security, rotate your API keys regularly:

  • In API Keys, find the key you want to rotate
  • Click the three dots (⋮) and select Rotate
  • A new key will be generated—update your application immediately
  • The old key will be deactivated after 24 hours (or you can revoke it immediately)

Revoking Keys

If a key is compromised or no longer needed:

  • Find the key in the list
  • Click the three dots and select Revoke
  • Confirm—the key will stop working immediately

Troubleshooting Common Issues

"Invalid API Key" Error

  • Ensure you're using the correct key (not expired or revoked)
  • Check for extra whitespace or hidden characters when copying
  • Verify the key is set correctly in your environment variables

Rate Limit Exceeded

  • Claude API has rate limits based on your plan (e.g., requests per minute)
  • Implement retry logic with exponential backoff in your code
  • Consider upgrading your plan for higher limits

Billing Issues

  • Check your spending limit hasn't been hit
  • Verify your payment method is valid
  • Review the Usage tab for unexpected spikes

Key Takeaways

  • Your Anthropic account is managed via the Console—this is where you create API keys, manage billing, and invite team members.
  • Never expose your API keys—use environment variables or a secrets manager, and rotate keys regularly.
  • Set spending limits to avoid surprise bills, and monitor usage via the Console's analytics.
  • Use separate keys for different environments (dev, staging, production) to isolate issues and control access.
  • Team accounts allow centralized billing and role-based permissions—ideal for organizations with multiple developers.