You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Using Claude Code with your Pro or Max plan](https://support.claude.com/en/articles/11145838-using-claude-code-with-your-pro-or-max-plan)
26
-
-[Using Claude Code with your Team or Enterprise plan](https://support.anthropic.com/en/articles/11845131-using-claude-code-with-your-team-or-enterprise-plan/)
-[Use the Claude Agent SDK with your Claude plan](https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan)
29
+
-[Use Claude Code with your Pro or Max plan](https://support.claude.com/en/articles/11145838-use-claude-code-with-your-pro-or-max-plan)
30
+
-[Use Claude Code with your Team or Enterprise plan](https://support.claude.com/en/articles/11845131-using-claude-code-with-your-team-or-enterprise-plan)
31
+
-[Manage Claude Code costs](https://code.claude.com/docs/en/costs)
27
32
28
33
</Warning>
29
34
@@ -128,8 +133,28 @@ Anthropic's current public docs:
128
133
compatibility, but new config should keep provider/model selection as
129
134
`anthropic/*` and put the execution backend in provider/model runtime policy.
130
135
136
+
### Billing and `claude -p`
137
+
138
+
OpenClaw uses Claude Code's non-interactive `claude -p` path for Claude CLI
139
+
runs. Anthropic currently treats that path as Agent SDK/programmatic usage:
140
+
141
+
- Until June 15, 2026, subscription-plan handling follows Anthropic's active
142
+
Claude Code rules for the signed-in account.
143
+
- Starting June 15, 2026, subscription-plan `claude -p` usage draws from the
144
+
user's monthly Agent SDK credit first, then from usage credits at standard
145
+
API rates if usage credits are enabled.
146
+
- Console/API-key logins use pay-as-you-go API billing and do not receive
147
+
the subscription Agent SDK credit.
148
+
149
+
Anthropic can change Claude Code billing and rate-limit behavior without an
150
+
OpenClaw release. Check `claude auth status`, `/status`, and
151
+
Anthropic's linked docs when billing predictability matters.
152
+
131
153
<Tip>
132
-
If you want the clearest billing path, use an Anthropic API key instead. OpenClaw also supports subscription-style options from [OpenAI Codex](/providers/openai), [Qwen Cloud](/providers/qwen), [MiniMax](/providers/minimax), and [Z.AI / GLM](/providers/zai).
154
+
For shared production automation, use an Anthropic API key instead of
155
+
Claude CLI. OpenClaw also supports subscription-style options from
| Anthropic API | Pay per token through Claude Console or cloud | Production apps, shared automation, volume|
28
+
| Claude subscription proxy | Claude Code / `claude -p` plan and credit rules | Personal experiments with compatible tools|
24
29
25
-
If you have a Claude Max subscription and want to use it with OpenAI-compatible tools, this proxy may reduce cost for some workflows. API keys remain the clearer policy path for production use.
30
+
If you have a Claude Max or Pro subscription and want to use it with
31
+
OpenAI-compatible tools, this proxy may fit some personal workflows. It is not an
32
+
unlimited flat-rate path. API keys remain the clearer policy and billing path for
33
+
production use.
26
34
27
35
## How it works
28
36
29
37
```
30
-
Your App → claude-max-api-proxy → Claude Code CLI → Anthropic (via subscription)
31
-
(OpenAI format) (converts format) (uses your login)
38
+
Your App → claude-max-api-proxy → Claude Code CLI / claude -p → Anthropic
39
+
(OpenAI format) (converts format) (uses your login)
32
40
```
33
41
34
42
The proxy:
@@ -157,6 +165,7 @@ The proxy:
157
165
158
166
- This is a **community tool**, not officially supported by Anthropic or OpenClaw
159
167
- Requires an active Claude Max/Pro subscription with Claude Code CLI authenticated
168
+
- Inherits Claude Code `claude -p` billing, usage-credit, and rate-limit behavior
160
169
- The proxy runs locally and does not send data to any third-party servers
0 commit comments