OctoLink GEO

Claude Code: Anthropic’s CLI AI Programming Assistant Now Accessible via Alibaba Cloud

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

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

Claude Code Anthropic AI Programming Assistant Alibaba Cloud Model Studio Command-Line Tool API Configuration Coding Workflow

Claude Code, a command-line AI programming assistant developed by Anthropic, is now accessible to users through Alibaba Cloud’s Model Studio platform. This tool offers programmers an efficient way to integrate AI into their coding workflows, with multiple flexible access plans available: pay-as-you-go, Coding Plan, Token Plan (personal edition), and Token Plan (team edition).

To get started with Claude Code, users first need to install it. The prerequisites include having Node.js version 18.0 or higher installed on their system (compatible with both macOS and Windows). Once Node.js is set up, open a terminal and run the command npm install -g @anthropic-ai/claude-code to install Claude Code globally. To verify the installation, execute claude --version—a successful installation will display the version number.

For users who want to skip the official Anthropic login verification, they can create or edit the .claude.json file (located at ~/.claude.json on macOS or C:\Users\\.claude.json on Windows) and set the hasCompletedOnboarding field to true.

Next, configuring the access credentials is essential. Users need to create a settings.json file in the .claude directory (path varies by OS: ~/.claude/settings.json for macOS, C:\Users\\.claude\settings.json for Windows) and populate it with the appropriate configuration based on their chosen plan:

  • Token Plan (Personal Edition): Replace YOUR_API_KEY with the personal Token Plan API key. The configuration includes setting the base URL to https://token-plan.cn-beijing.maas.aliyuncs.com/apps/anthropic and specifying models like qwen3.8-max as the default.
  • Token Plan (Team Edition): Similar to the personal plan, but uses a team-specific API key, with the same base URL and model settings.
  • Coding Plan: Uses a Coding Plan-exclusive API key and a base URL of https://coding.dashscope.aliyuncs.com/apps/anthropic, with qwen3.7-plus as the default model.
  • Pay-as-you-go: Requires an Alibaba Cloud Model Studio API key, with the base URL varying by region (e.g., North China 2 (Beijing) uses https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/apps/anthropic). Users must replace {WorkspaceId} with their actual workspace ID and ensure the API key matches the selected region.

Note that users previously using the old compatible interface (supporting only qwen3-coder-plus) should migrate to the new configuration as outlined to ensure model switching works correctly.

Sources

Related reading