← Documentation home

Quick Agent Access

Claude Code

Scope

For Claude Code CLI through the Anthropic-compatible endpoint.

Fields

FieldValue
ANTHROPIC_BASE_URLhttps://www.zltokens.com
ANTHROPIC_AUTH_TOKENPlatform API Key
ANTHROPIC_CUSTOM_MODEL_OPTIONPublic Claude model name
$env:ANTHROPIC_BASE_URL = "https://www.zltokens.com"
$env:ANTHROPIC_AUTH_TOKEN = "YOUR_API_KEY"
$env:ANTHROPIC_CUSTOM_MODEL_OPTION = "PUBLIC_CLAUDE_MODEL"
claude

Verification

  • Confirm that usage logs show https://www.zltokens.com/v1/messages.
  • Before production use, verify the model name, tokens, channel, and charge.

Verification and limits

  • ANTHROPIC_CUSTOM_MODEL_OPTION adds a picker entry only. Select the actual model through ANTHROPIC_MODEL, /model, or the CLI option.
  • Send one short message first and confirm /v1/messages in usage logs. Do not promise MCP or tool calls through a third-party gateway until they pass an end-to-end test.

Official version reference

  • Client configuration can change by version. Before deployment, troubleshooting, or a configuration change, check [Claude Code environment variables](https://code.claude.com/docs/en/env-vars).