docs: refresh token auth command mirrors

This commit is contained in:
Peter Steinberger
2026-04-04 22:05:05 +01:00
parent 5c5c82dfaa
commit 9eb3718438
5 changed files with 26 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ openclaw models fallbacks list
openclaw models auth add
openclaw models auth login --provider <id>
openclaw models auth setup-token --provider <id>
openclaw models auth paste-token
openclaw models auth paste-token --provider <id>
```
`models auth add` is the interactive auth helper. It can launch a provider auth
@@ -122,6 +122,13 @@ Notes:
CLI login and rewrites the main Anthropic default-model path to `claude-cli/...`.
- `setup-token` and `paste-token` remain generic token commands for providers
that expose token auth methods.
- `paste-token` accepts a token string generated elsewhere or from automation.
- `setup-token` requires an interactive TTY and runs the provider's token-auth
method (defaulting to that provider's `setup-token` method when it exposes
one).
- `paste-token` requires `--provider`, prompts for the token value, and writes
it to the default profile id `<provider>:manual` unless you pass
`--profile-id`.
- `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.