惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
博客园 - 司徒正美
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
罗磊的独立博客
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
T
Tailwind CSS Blog
大猫的无限游戏
大猫的无限游戏
Hugging Face - Blog
Hugging Face - Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
N
Netflix TechBlog - Medium
MyScale Blog
MyScale Blog
J
Java Code Geeks
L
LangChain Blog
S
SegmentFault 最新的问题
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Apple Machine Learning Research
Apple Machine Learning Research
G
Google Developers Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs: update Anthropic Claude CLI billing guidance · open...
steipete · 2026-05-29 · via Recent Commits to openclaw:main

@@ -8,22 +8,27 @@ title: "Anthropic"

88

Anthropic builds the **Claude** model family. OpenClaw supports two auth routes:

991010

- **API key** — direct Anthropic API access with usage-based billing (`anthropic/*` models)

11-

- **Claude CLI** — reuse an existing Claude CLI login on the same host

11+

- **Claude CLI** — reuse an existing Claude Code login on the same host

12121313

<Warning>

14-

Anthropic staff told us OpenClaw-style Claude CLI usage is allowed again, so

15-

OpenClaw treats Claude CLI reuse and `claude -p` usage as sanctioned unless

16-

Anthropic publishes a new policy.

14+

OpenClaw's Claude CLI backend runs the installed Claude Code CLI in

15+

non-interactive print mode. Anthropic's current Claude Code docs describe

16+

`claude -p` as Agent SDK/programmatic usage. Starting June 15, 2026, Anthropic

17+

says subscription-plan `claude -p` usage no longer draws from normal Claude

18+

plan limits; it draws from a separate monthly Agent SDK credit first, then from

19+

usage credits at standard API rates when those credits are enabled.

172018-

For long-lived gateway hosts, Anthropic API keys are still the clearest and

19-

most predictable production path.

21+

Interactive Claude Code still draws from the signed-in Claude plan limits. API

22+

key auth remains direct pay-as-you-go API billing. For long-lived gateway hosts,

23+

shared automation, and predictable production spend, use an Anthropic API key.

20242125

Anthropic's current public docs:

222623-

- [Claude Code CLI reference](https://code.claude.com/docs/en/cli-reference)

24-

- [Claude Agent SDK overview](https://platform.claude.com/docs/en/agent-sdk/overview)

25-

- [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/)

27+

- [Claude Code CLI reference](https://code.claude.com/docs/en/cli-usage)

28+

- [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)

27322833

</Warning>

2934

@@ -128,8 +133,28 @@ Anthropic's current public docs:

128133

compatibility, but new config should keep provider/model selection as

129134

`anthropic/*` and put the execution backend in provider/model runtime policy.

130135136+

### 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+131153

<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

156+

[OpenAI Codex](/providers/openai), [Qwen Cloud](/providers/qwen),

157+

[MiniMax](/providers/minimax), and [Z.AI / GLM](/providers/zai).

133158

</Tip>

134159135160

</Tab>