OctoLink GEO

Claude Code: Anthropic's CLI AI Programming Assistant Now Accessible via Alibaba Cloud Model Studio

Author Editor
Claude Code: Anthropic's CLI AI Programming Assistant Now Accessible via Alibaba Cloud Model Studio

Anthropic’s Claude Code, a command-line AI programming assistant, is now available through Alibaba Cloud’s Model Studio (Bailian) with multiple plans...

Claude Code Anthropic AI Programming Assistant Alibaba Cloud Model Studio CLI Tool API Integration

Anthropic has launched Claude Code, a command-line interface (CLI) AI programming assistant designed to streamline coding tasks for developers. Now, users can access this tool via Alibaba Cloud’s Model Studio (Bailian) using flexible plans: pay-as-you-go, Coding Plan, Token Plan Personal Edition, and Token Plan Team Edition.

To install Claude Code, first ensure you have Node.js version 18.0 or higher (update if needed). For both macOS and Windows, run npm install -g @anthropic-ai/claude-code in your terminal to install globally. Verify success by typing claude --version—a version number output confirms installation.

To skip Anthropic’s official login verification, create or edit the .claude.json file in your home directory (Windows path: C:\Users\<Your Username>\.claude.json) and add { "hasCompletedOnboarding": true }.

Next, configure access credentials by creating settings.json in ~/.claude/ (Windows: C:\Users\<Your Username>\.claude\settings.json). Configuration varies by plan:

  • Token Plan Personal: Replace YOUR_API_KEY with your personal key. Base URL: https://token-plan.cn-beijing.maas.aliyuncs.com/apps/anthropic, default models include qwen3.8-max (main) and qwen3.6-flash (Haiku).
  • Token Plan Team: Use your team’s API key with the same base URL as personal edition.
  • Coding Plan: Replace YOUR_API_KEY with Coding Plan key. Base URL: https://coding.dashscope.aliyuncs.com/apps/anthropic, default model qwen3.7-plus.
  • Pay-as-you-go: Use Alibaba Cloud Model Studio API key. Base URL depends on region (e.g., North China 2: https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/apps/anthropic—replace {WorkspaceId}).

Note: Migrate from the old proxy interface (https://dashscope.aliyuncs.com/api/v2/apps/claude-code-proxy) to the new one if you used it before.

Sources

  • Alibaba Cloud Model Studio Help Center: Claude Code Guide (https://help.aliyun.com/zh/model-studio/claude-code?mode=pure)

Related reading