← Home

Guide

Using a Claude Pro/Max Subscription with Hermes Agent

Short answer: not with Claude. Anthropic prohibits third-party services from routing requests through Pro or Max plan credentials, and enforces it without warning. But the thing you actually came for — a bot on a flat monthly fee, or Claude models answering your messages — still works. On Max or Team, your plan now includes monthly API credits that pay for the Claude route. Here are both supported routes, and the policy in full.

Running OpenClaw instead of Hermes? See the OpenClaw Claude subscription guide.

Claude subscription auth is closed off. The two routes below are not. Pick the one that matches why you came:

If you want Claude models
An Anthropic API key

The same Sonnet and Opus models, billed per token instead of per month — and for a typical bot that works out cheaper than a Pro plan. See what it costs. On Claude Max or Team, your plan's monthly API credits cover it.

Set up an Anthropic API key →
Both routes run on a hosted Hermes Agent

Deploy a managed Hermes Agent on OpenClaw Launch, then, on a paid plan, connect your ChatGPT subscription from the bot’s web terminal or paste an Anthropic key on the API Keys page. No server, Docker or config file to manage.

30-minute free trial · no card

What People Are Trying to Do

Hermes Agent's Anthropic provider reads a Claude Code subscription token from the CLAUDE_CODE_OAUTH_TOKEN environment variable. The idea is to set it and have Claude turns draw on subscription quota you're already paying for, instead of the pay-per-token Anthropic API. It's a reasonable thing to want, and the provider still reads the variable — which is why the question keeps coming up. Anthropic has closed it off from their side.

Is this allowed? No — and we do not offer this connection. Anthropic's Claude Code legal and compliance policy states that OAuth authentication is “intended exclusively” for ordinary use of Claude Code and other native Anthropic applications, and that Anthropic “does not permit third-party developers to offer Claude.ai login into their own applications, or to route requests through Free, Pro, or Max plan credentials on behalf of their users,” adding that developers “may not collect, store, or intermediate Claude.ai credentials or session tokens.” That is exactly what feeding a subscription token to a hosted Hermes instance would do. Anthropic enforces this server-side and “may do so without prior notice” — including disabling your Claude account. Use an Anthropic API key instead: same Claude models, explicitly the supported path, billed per token.

Why We Don't Offer a Subscription Connection

Wiring the environment variable would be the easy part. The reason we don't is that it wouldn't actually work, and the cost of trying lands on you rather than on us. Anthropic enforces this at the API layer: since January 2026, subscription tokens used outside Claude Code are rejected with “this credential is only authorized for use with Claude Code,” and there are credible reports of accounts being restricted over it. Risking a $20/mo Pro plan — or a $100–200/mo Max plan — for a connection that gets refused anyway is a bad trade, and not one we're willing to put in front of you.

This is a genuine difference between vendors, not a limitation of Hermes. Our ChatGPT subscription connection exists because OpenAI publishes no equivalent prohibition. Anthropic does, in writing, naming third-party developers specifically.

New: Max and Team Plans Include Monthly API Credits

On October 7, 2026, Anthropic started giving monthly Claude Platform API credits to Max and Team subscribers. This is the supported way to put a Claude plan toward a bot: the credits land in a Claude Console organization, you create an ordinary API key there, and any app that takes an Anthropic key, Hermes Agent included, spends the credits first.

PlanMonthly API credit
Max 5x$100
Max 20x$200
Team$20 per Standard seat, $100 per Premium seat (pooled, capped at $500)
Free, Pro, EnterpriseNot eligible
  1. Be on an eligible plan for at least seven days, then open claude.ai in a web browser: Settings → Billing on Max, or Organization settings → Billing as a Team Owner.
  2. In the API credits section, choose Link organization and pick or create the Console organization. You need the Owner, Admin or Billing role in it. You can link only one, and changing it later takes a support request, so pick the one you'll keep using.
  3. In that organization, create an API key and follow the steps in the next section.

Credits refresh each billing cycle and don't roll over. When they run out, API requests stop until the next cycle unless the organization has purchased credits or auto-reload on (organizations invoiced through Anthropic sales are billed as usual); nothing is ever charged to your Claude plan. The credits are separate from your plan's usage limits, so chatting in Claude and Claude Code is unaffected. Against the costs below, $100 a month covers even heavy Sonnet use.

The Supported Path: An Anthropic API Key

An API key from the Claude Console is the authentication method Anthropic explicitly directs developers to. It runs the same Claude models on your Hermes instance, with no account risk and no policy ambiguity.

  1. Create a key at platform.claude.com and copy the sk-ant-api03- value. On Max or Team, create it in the organization you linked to your plan so your monthly credits pay for it.
  2. Open API Keys in your dashboard, paste it into the Anthropic API Key card, and click Save.
  3. Set your agent's model to a Claude model — see the table below — and message your bot to confirm Claude replies.

Full walkthrough: Hermes Agent + Anthropic API key.

If you'd rather not add a key at all, every plan includes AI credits and free models out of the box — you can deploy and start chatting without connecting anything.

What an API Key Actually Costs

Most of the coverage of Anthropic's policy change quotes figures above $1,000/month. That number describes round-the-clock autonomous coding agents, not a chat bot answering messages. Here is the arithmetic for one always-on bot at Anthropic's published list prices, assuming a conversational turn of roughly 2,000 input and 400 output tokens:

Your usageClaude Haiku 4.5Claude Sonnet 4.6Claude Opus 4.8
Light — 5 messages/day$0.60$1.80$3.00
Typical — 20 messages/day$2.40$7.20$12.00
Heavy — 60 messages/day$7.20$21.60$36.00

Estimates, not a quote — your own spend moves with conversation length, how much history each turn carries, and how often you reach for the larger models. The shape holds though: a typical personal bot on Sonnet lands near $7/month, which is less than a Claude Pro plan costs. Longer conversations and heavy tool use push it up; routing routine replies to Haiku pulls it down.

Available Models

Model IDModelBest For
anthropic/claude-sonnet-4.6Claude Sonnet 4.6Fast, all-purpose
anthropic/claude-opus-4.8Claude Opus 4.8Most capable, complex reasoning

Important Notes

  • Prohibited by Anthropic: routing a hosted third-party agent through Pro/Max plan credentials is not permitted, is enforced server-side without notice, and can cost you the Claude account itself. An Anthropic API key carries none of that risk.
  • Running Claude Code yourself is fine: the policy restricts third-party services acting on your behalf, not where you run Anthropic's own CLI. Using the real claude binary on your own machine or your own server is ordinary use. The problem is handing the credential to someone else's harness.
  • Subscription caps wouldn't suit an always-on bot anyway: Claude plans enforce a 5-hour rolling window plus a weekly total. An agent answering messages around the clock burns those far faster than interactive use, so even setting policy aside, per-token billing is the better fit.

Other Ways to Bring Your Own Key

Or skip API keys entirely — OpenClaw Launch includes AI credits and free models out of the box.

Common Questions

I already pasted a subscription token somewhere. What should I do?

Revoke it. Sign in at claude.ai and remove the authorization, then generate a Console API key for anything automated. A token from claude setup-token is valid for about a year, so an old one left in a third-party tool keeps carrying that risk until you revoke it.

Didn't Anthropic just open Claude subscriptions to third-party apps?

Not in the way some October 2026 coverage put it. What changed is the monthly API credit for Max and Team plans, which you use through an API key. Anthropic's legal and compliance policy still bars third-party developers from routing requests through plan credentials or storing Claude.ai session tokens, so setting CLAUDE_CODE_OAUTH_TOKEN on a hosted bot is still off the table. The credits get you the outcome people wanted, a bot funded by the plan you already pay for, without the account risk.

I'm on Claude Pro. Do I get API credits?

No. Anthropic grants them to Max and Team plans only. On Pro, a pay-as-you-go Anthropic API key at around $7 a month, or your ChatGPT subscription, is the route.

Does this affect the ChatGPT subscription connection?

No. That one remains available — OpenAI publishes no equivalent restriction on using a Plus or Pro plan through a third-party client. See the ChatGPT subscription guide.

Will an Anthropic API key cost much more?

For a typical always-on bot, it usually costs less than a subscription would — you pay for the tokens a conversation actually uses rather than a flat monthly fee. Around $7/month on Sonnet at 20 messages a day; see the full breakdown above. Claude Haiku handles routine replies for a fraction of that, and you can reserve Sonnet or Opus for harder turns.

Start Free, Then Pick a Route

Every plan includes AI credits and free models, so you can deploy a working bot before connecting anything.