• English
  • Claude Code

    Anthropic's official terminal CLI. Point it at ByteSeek with two environment variables — five minutes, done.

    Install

    Pick whichever channel fits your workflow:

    Script install
    Homebrew
    WinGet
    npm
    Run with npx

    macOS / Linux

    curl -fsSL https://claude.ai/install.sh | bash

    Windows PowerShell

    irm https://claude.ai/install.ps1 | iex

    Windows CMD (install Git for Windows first)

    curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

    Product intro on the Anthropic website; commands and usage in the official docs.

    Prerequisites

    • Claude Code installed (claude --version prints a version)
    • A key for an Anthropic-format group created on the API Keys page (format guidance in API Endpoints)

    Configure (one click from the console)

    No hand-written config needed — the console generates it for your key:

    1. Open the API keys page, and in the key row's Actions column click More → Use key;
    2. The dialog opens on the Claude Code tab — switch between macOS / Linux, Windows CMD, PowerShell for your system and copy the generated content.
    SCREENSHOTUse key dialog, Claude Code tab
    The "Use key" dialog on the Claude Code tab: terminal environment variables on top, the persistent settings.json below (key redacted)

    The dialog offers two equivalent routes — pick one:

    Route 1: environment variables (current terminal session; append to ~/.bashrc / ~/.zshrc to persist):

    export ANTHROPIC_BASE_URL="https://tokens.byteseek.ai"
    export ANTHROPIC_AUTH_TOKEN="sk-your-key"
    export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
    export CLAUDE_CODE_ATTRIBUTION_HEADER=0

    Route 2: user-level persistent config ~/.claude/settings.json (write once, applies globally; this file contains your key — never commit it to a repository):

    {
      "$schema": "https://json.schemastore.org/claude-code-settings.json",
      "env": {
        "ANTHROPIC_BASE_URL": "https://tokens.byteseek.ai",
        "ANTHROPIC_AUTH_TOKEN": "sk-your-key",
        "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
        "CLAUDE_CODE_ATTRIBUTION_HEADER": "0"
      }
    }

    Two notes:

    • The Base URL has no /v1 — the Anthropic format's paths are appended by the client itself;
    • The two CLAUDE_CODE_* variables turn off non-essential traffic and the attribution header, trimming irrelevant requests.

    If you took the environment-variable route, reload and start:

    source ~/.bashrc
    claude
    What you should see
    • After starting claude, the welcome banner's API Base URL line shows https://tokens.byteseek.ai (the variables took effect);
    • A test message gets a normal reply;
    • /status shows the current model and connection state with no 401 / 403.

    Verify

    Send any message inside Claude Code — a normal reply means you are connected. To confirm billing attribution, look for the request on the usage page.

    Choosing models

    Switch models inside Claude Code with /model; availability depends on your key's group — full list in the model plaza. With a composite key, remember the prefix on model IDs.

    Common issues

    SymptomCause and fix
    401Wrong or dead key; confirm ANTHROPIC_AUTH_TOKEN is exported without stray spaces
    403Model not in group, group restricted to other clients, or wrong format; recheck the group notes in the model plaza
    Variables not applyingNo source after editing, or overridden elsewhere; check with echo $ANTHROPIC_BASE_URL
    Slow responsesSlow first tokens are normal for deep-reasoning models; for persistent anomalies see Troubleshooting

    More status codes in Error Codes.

    © 2026 ByteSeek Limited. All rights reserved.TermsPrivacyDisclaimer