docs: refresh anthropic token compatibility mirrors

This commit is contained in:
Peter Steinberger
2026-04-04 22:09:07 +01:00
parent 13b6a48991
commit 8ea5b1ddc0
8 changed files with 11 additions and 11 deletions

View File

@@ -1609,7 +1609,7 @@ Notes:
- `setup-token` and `paste-token` are generic token commands for providers that expose token auth methods.
- `setup-token` requires an interactive TTY and runs the provider's token-auth method.
- `paste-token` prompts for the token value and defaults to auth profile id `<provider>:manual` when `--profile-id` is omitted.
- Anthropic legacy token profiles still run if already configured, but Anthropic no longer supports `setup-token` or `paste-token` as a new OpenClaw auth path.
- Anthropic OAuth/token profiles still run if already configured, but Anthropic no longer supports `setup-token` or `paste-token` as a new OpenClaw auth path.
### `models auth order get|set|clear`

View File

@@ -131,4 +131,4 @@ Notes:
- `paste-token --expires-in <duration>` stores an absolute token expiry from a
relative duration such as `365d` or `12h`.
- Anthropic billing note: Anthropic changed third-party harness billing on **April 4, 2026 at 12:00 PM PT / 8:00 PM BST**. Anthropic says Claude subscription limits no longer cover OpenClaw, and Claude CLI traffic in OpenClaw now requires **Extra Usage** billed separately from the subscription.
- Existing legacy Anthropic token profiles still run if already configured, but Anthropic no longer supports `setup-token` or `paste-token` as a new OpenClaw auth path.
- Existing Anthropic OAuth/token profiles still run if already configured, but Anthropic no longer supports `setup-token` or `paste-token` as a new OpenClaw auth path.

View File

@@ -256,7 +256,7 @@ OpenClaw ships with the piai catalog. These providers require **no**
- CLI: `openclaw onboard --auth-choice apiKey` or `openclaw onboard --auth-choice anthropic-cli`
- Direct public Anthropic requests support the shared `/fast` toggle and `params.fastMode`, including API-key and OAuth-authenticated traffic sent to `api.anthropic.com`; OpenClaw maps that to Anthropic `service_tier` (`auto` vs `standard_only`)
- Billing note: Anthropic changed third-party harness billing on **April 4, 2026 at 12:00 PM PT / 8:00 PM BST**. Anthropic says Claude subscription limits no longer cover OpenClaw, and Anthropic OAuth/subscription traffic now requires **Extra Usage** billed separately from the subscription.
- Existing legacy Anthropic token profiles still run if already configured, but new setup is no longer offered through onboarding or auth commands.
- Existing Anthropic OAuth/token profiles still run if already configured, but new setup is no longer offered through onboarding or auth commands.
```json5
{

View File

@@ -64,12 +64,12 @@ All of the above also respect `$OPENCLAW_STATE_DIR` (state dir override). Full r
For static secret refs and runtime snapshot activation behavior, see [Secrets Management](/gateway/secrets).
## Anthropic legacy token compatibility
## Anthropic OAuth/token compatibility
<Warning>
Anthropic changed third-party harness billing on **April 4, 2026 at 12:00 PM
PT / 8:00 PM BST**. Anthropic says Claude subscription limits no longer cover
OpenClaw or other third-party harnesses. Existing Anthropic token profiles
OpenClaw or other third-party harnesses. Existing Anthropic OAuth/token profiles
remain technically usable in OpenClaw, but Anthropic now requires **Extra
Usage** (pay-as-you-go billed separately from the subscription) for that
traffic.

View File

@@ -59,7 +59,7 @@ API keys for daemon use: `openclaw onboard`.
See [Help](/help) for details on env inheritance (`env.shellEnv`,
`~/.openclaw/.env`, systemd/launchd).
## Anthropic: legacy token compatibility
## Anthropic: OAuth/token compatibility
Existing Anthropic OAuth/token profiles are still honored at runtime if they
are already configured, but OpenClaw no longer offers Anthropic setup-token

View File

@@ -613,7 +613,7 @@ Quick answers plus deeper troubleshooting for real-world setups (local dev, VPS,
<Accordion title="Do you support Claude subscription auth (Claude Pro or Max)?">
Yes. Reuse a local **Claude CLI** login on the gateway host with `openclaw models auth login --provider anthropic --method cli --set-default`.
Existing legacy Anthropic token profiles still run if they are already configured, but OpenClaw no longer offers Anthropic setup-token as a new setup path. See [Anthropic](/providers/anthropic) and [OAuth](/concepts/oauth).
Existing Anthropic OAuth/token profiles still run if they are already configured, but OpenClaw no longer offers Anthropic setup-token as a new setup path. See [Anthropic](/providers/anthropic) and [OAuth](/concepts/oauth).
Other providers can still use the generic token helpers with
`openclaw models auth setup-token --provider <id>` or
`openclaw models auth paste-token --provider <id>`.

View File

@@ -10,7 +10,7 @@ title: "Anthropic"
Anthropic builds the **Claude** model family and provides access via an API.
In OpenClaw, new Anthropic setup should use an API key or the local Claude CLI
backend. Existing legacy Anthropic token profiles are still honored at runtime
backend. Existing Anthropic OAuth/token profiles are still honored at runtime
if they are already configured.
<Warning>
@@ -273,7 +273,7 @@ If the `claude` binary is not on the gateway host PATH:
### Migrate from Anthropic auth to Claude CLI
If you currently use `anthropic/...` with a legacy token profile or API key and want to
If you currently use `anthropic/...` with an Anthropic OAuth/token profile or API key and want to
switch the same gateway host to Claude CLI, OpenClaw supports that as a normal
provider-auth migration path.
@@ -337,7 +337,7 @@ More details: [/gateway/cli-backends](/gateway/cli-backends)
OpenClaw usage with Claude CLI or Anthropic OAuth/subscription token auth
requires **Extra Usage** (pay-as-you-go billed separately from the
subscription).
- Existing legacy Anthropic token profiles are still honored at runtime, but
- Existing Anthropic OAuth/token profiles are still honored at runtime, but
OpenClaw no longer offers setup-token onboarding or auth commands for new
setups.
- Auth details + reuse rules are in [/concepts/oauth](/concepts/oauth).

View File

@@ -26,7 +26,7 @@ OpenClaw features that can generate provider usage or paid API calls.
**Per-message cost footer**
- `/usage full` appends a usage footer to every reply, including **estimated cost** (API-key only).
- `/usage tokens` shows tokens only; subscription-style OAuth, legacy token, and CLI flows hide dollar cost.
- `/usage tokens` shows tokens only; subscription-style OAuth/token and CLI flows hide dollar cost.
- Gemini CLI note: when the CLI returns JSON output, OpenClaw reads usage from
`stats`, normalizes `stats.cached` into `cacheRead`, and derives input tokens
from `stats.input_tokens - stats.cached` when needed.