Skip to main content
Claude Code uses the Anthropic Messages protocol. To use it with the powertokens platform, point Claude Code at https://baze-api.powerbuyin.top and choose a text model available through the Anthropic Messages path. The recommended platform default is glm-5.2; the recommended MiniMax coding-agent path is MiniMax-M3. If you need to choose the endpoint first, see Text model protocols and endpoints.

Available models

Use the following model IDs with Claude Code. For coding-agent workflows, prefer glm-5.2 or MiniMax-M3.

Prepare your environment

Install or update Claude Code:
Clear old Anthropic environment variables before switching providers:

Configure Claude Code

Add this to user-level ~/.claude/settings.json or project-level .claude/settings.json:
Claude Code should use ANTHROPIC_AUTH_TOKEN so the client sends a bearer token. Do not set both ANTHROPIC_AUTH_TOKEN and ANTHROPIC_API_KEY; Claude Code gives ANTHROPIC_AUTH_TOKEN precedence. If your runtime explicitly requires x-api-key auth, replace ANTHROPIC_AUTH_TOKEN with ANTHROPIC_API_KEY.

Start and verify

Run Claude Code from your project:
Inside the session, check:
If the model picker does not show platform models, set ANTHROPIC_MODEL manually to one of the IDs above. Some discovery flows only show model IDs that begin with claude or anthropic; manual model IDs still work when the gateway accepts them. Verify that Claude Code reads the configuration in non-interactive mode:
Then verify tool use with a local file:
You can also verify the same model directly through the platform API.

Model choice

Not default recommendations

The following models may declare anthropic in model discovery, but current ecosystem-tool validation does not recommend them as Claude Code defaults: