Understanding the Distinction

When people ask about using OpenClaw with Claude Max, there is usually a misunderstanding worth clearing up first: OpenClaw does not use Claude through a consumer subscription like Claude Max. It uses the Anthropic API directly — a separate product with separate pricing, credentials, and access method.

This is not a limitation. The Anthropic API gives you access to the same Claude models as Claude Max — and more control over how you use them.

What Claude Max Is

Claude Max is Anthropic's high-volume consumer subscription plan, designed for heavy individual users who need more messages per day than the standard Claude Pro plan allows. It is accessed through claude.ai — Anthropic's consumer web interface and mobile apps.

Claude Max is built for human users interacting through a chat interface. It is not designed for programmatic access, automated workflows, or server-side integration. You cannot point OpenClaw at your Claude Max subscription and have it make API calls — that is not how the product works.

How OpenClaw Uses Claude

OpenClaw communicates with Claude models through the Anthropic Messages API — a developer API that accepts programmatic requests and charges per token used. This is a completely separate product from claude.ai and any of its subscription tiers (Free, Pro, Max, Team, Enterprise).

The Anthropic API has its own:

  • API key (separate from your claude.ai login)
  • Billing account (pay-as-you-go, billed per million tokens)
  • Rate limits (based on your API usage tier, not your subscription)
  • Model access (all production Claude models available)

You access Claude's full capability — including Claude 3.5 Sonnet, Claude 3.5 Haiku, and Claude 3 Opus — through this API, without needing a Claude Max subscription.

What to Use Instead of Claude Max

To use Claude with OpenClaw, you need an Anthropic API account — not a Claude.ai subscription. Here is how to get set up:

  1. Go to console.anthropic.com
  2. Create an account (separate from any claude.ai account you may have)
  3. Add a payment method and set a usage limit
  4. Generate an API key under Settings → API Keys
  5. Use that key in your OpenClaw configuration

Anthropic offers a free credit tier for new API accounts, which is sufficient to test OpenClaw with Claude before committing to ongoing costs.

Setting Up Anthropic for OpenClaw

Once you have your API key, add it to your OpenClaw config.yaml:

llm:
  default_provider: anthropic
  providers:
    anthropic:
      api_key: "${ANTHROPIC_API_KEY}"
      model: "claude-3-5-sonnet-20241022"

For production deployments, always use an environment variable rather than hardcoding the key in the config file. Set it in your shell or in a .env file:

ANTHROPIC_API_KEY=sk-ant-your-key-here

For most OpenClaw deployments, Claude 3.5 Sonnet is the recommended starting model — it offers the best balance of capability, instruction following, and cost. For high-volume or latency-sensitive deployments, Claude 3.5 Haiku is significantly faster and cheaper with strong performance on routine tasks.

Conclusion

You cannot use a Claude Max subscription with OpenClaw, but you do not need one — the Anthropic API gives you access to the same models with more control and typically lower cost for programmatic workloads. Sign up at console.anthropic.com, generate an API key, and you are ready to run OpenClaw on Claude. For help configuring a production OpenClaw deployment with Anthropic as the provider, OpenClaw Consult handles the full setup.