Skip to content
English

Claude Code setup

Anthropic Claude Code (CLI or companion desktop entry). This page records the verified public Base URL form; it does not pin a specific client version.

  • Manual account setup completed per Account setup.
  • An API key you created yourself after logging in with the ArianAPI console account and password you received.
  • Addresses from Service entry points.
  1. Do not use a first-party account session from claude login to reach this service. Use an API key you created yourself in the ArianAPI console.
  2. Set the Anthropic-compatible entry. Recommended environment variables:
终端窗口
export ANTHROPIC_BASE_URL="https://api.arianapi.cc"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
  1. Do not set ANTHROPIC_BASE_URL to https://api.arianapi.cc/v1, and do not append /anthropic.
  2. After starting Claude Code, copy a public Claude model name available that day from the ArianAPI model catalog. Do not use internal short aliases from chat.
  3. If the client also offers a custom Provider panel, fill Base URL and Key with the same values as above, and turn off first-party login.
  • Send a short text request, for example ask for a reply of only OK.
  • On success you get a normal reply; common failure causes are a key not issued by ArianAPI, or a model name not on the catalog that day.
  • When you need tool calling (edit files, run commands), send a task that clearly requires tools. If you only get plain text back, confirm the model name and the client’s tool permissions first, then contact support.
  • Client exits automatically or asks you to log in to a first-party account again: check whether it still points at official Anthropic instead of ANTHROPIC_BASE_URL.
  • Model does not exist: go back to the catalog and copy a public model name; read Model freshness.
  • You pasted a key from the official Anthropic Console: this site will not treat it as a valid customer key.