Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Coding Plan

Coding Plan

There are many LLM vendors on the market today; overseas ones include Anthropic, Open AI, Grok, Gemini, etc., but accessing them is inconvenient now; domestic ones include DeepSeek, Qwen, ZLM, Minimax, etc.

When we use Claude Code to write code, the most expensive part is the token; overseas access is inconvenient and costly, while domestic ones now offer monthly plans, so for long-term use a monthly plan is more cost-effective.

Many vendors have launched Coding Plans, subscription services designed for AI programming tools, integrating top-tier large models such as Qwen, GLM, Kimi, and MiniMax, compatible with mainstream AI coding assistants (such as Cursor, Claude Code, OpenClaw, etc.), using a fixed monthly fee model, with costs far lower than pay-as-you-go APIs, and completely eliminating the risk of arrears.

** Coding Plan core advantages:**

Coding Plan supports the following tools: Cursor, Claude Code, OpenClaw, OpenCode, Cline (VS Code extension), Kilo Code / Kilo CLI, Qwen Code, Codex, etc.


Subscribe to Ark Coding Plan

Visit Ark Coding Plan promotion, subscribe to a plan as needed; if usage is light the Lite version is enough, if usage is very heavy you can use the Pro version.

**Limited-time offer

Coding Plan/Agent Plan: first two months at 25% of original price

Event period: 2026.06.08-2026.08.07

Best value

Lite Plan

¥9.9

/month

Original price ¥40/month

Top choice for individual developers

DeepSeek、Kimi、GLM、Doubao、MiniMax

Pro Plan

¥49.9

/month

Original price ¥200/month

5x quota - advanced development needs

All Lite features + higher call quota

**Claude Code

**Cursor

**Windsurf

**Auto model switching

**Mainstream AI model support

**Activate discounted plan now

New purchases, upgrades, and renewals all eligible - limited slots - first come, first served

After successful purchase, click Create your API Key:

Then click the Create button:

Click the small eye icon below to see the API key; when you need it, just copy it:

Ark Coding Plan is an AI coding subscription service for developers, enabling efficient development, with the following core advantages:

The Base URL configured for different tools varies by compatible protocol:

Note:Do not use https://ark.cn-beijing.volces.com/api/v3 : This Base URL will not consume your Coding Plan quota but will incur additional charges.

Configure Claude Code

After completing the Claude Code installation, you need to configure the following information:

- Configure a specific model name (such as `kimi-k2.5`) for real-time model switching - Configure `ark-code-latest` to switch models via the console

Specific models include: doubao-seed-2.0-code, doubao-seed-2.0-pro, doubao-seed-2.0-lite, doubao-seed-code, minimax-m2.7, glm-5.1, deepseek-v4-pro, kimi-k2.6.

Configure settings.json

Edit or create settings.json file is generated with the following content:

{

  "env": {

    "ANTHROPIC_AUTH_TOKEN": "",

    "ANTHROPIC_BASE_URL": "https://ark.cn-beijing.volces.com/api/coding",

    "ANTHROPIC_MODEL": ""

  }

}

Please replace the following:

settings.json file path:

Configure .claude.json:

Edit or create .claude.json file, add the following content:

{

  "hasCompletedOnboarding": true

}

.claude.json file path:

The following configures DeepSeek V4; replace ANTHROPIC_AUTH_TOKEN with your own API key:



{

  "env": {

    "ANTHROPIC_BASE_URL": "https://ark.cn-beijing.volces.com/api/coding",

    "ANTHROPIC_AUTH_TOKEN": "",

    "API_TIMEOUT_MS": "3000000",

    "ANTHROPIC_MODEL": "deepseek-v4-pro[1m]",

    "ANTHROPIC_DEFAULT_SONNET_MODEL": "deepseek-v4-pro[1m]",

    "ANTHROPIC_DEFAULT_OPUS_MODEL": "deepseek-v4-pro[1m]",

    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "deepseek-v4-flash",

    "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1",

    "ENABLE_TOOL_SEARCH": "true"

  },

  "effortLevel": "max"

}

Claude Code + CC Switch using Ark Coding Plan, see configuration details:https://www.runoob.com/claude-code/volcengine-coding-plan.html

Other configuration documentation references:https://www.volcengine.com/docs/82379/1928262


Subscribe to Alibaba Coding Plan

Coding Plan is basically too hard to grab and is being taken down; Alibaba has now switched to Token Plan; see:Alibaba Cloud Bailian Token Plan

  • OpenAI compatible:https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1
  • Anthropic compatible:https://token-plan.cn-beijing.maas.aliyuncs.com/apps/anthropic
  • You need to purchase the Bailian Coding Plan first:Bailian's Coding Plan event page

    If usage is very large, you can use the Pro version, which is 5 times the Lite version, with the same supported models (it's so popular now that the Lite version needs to be grabbed at 9:30):

    After purchasing the Coding Plan, you can go to the Coding Plan page to get the Coding Plan dedicated API Key (format sk-sp-xxxxx).

    Then configure one of the following Base URLs in the AI tool (varies by tool):

    More widely used applications also have corresponding documentation:

    Explanation:The Coding Plan dedicated API Key and Base URL are not interchangeable with Bailian pay-as-you-go API Key (sk-xxxxx) and Base URL (https://dashscope.aliyuncs.com/xxxxxx); do not mix them.

    If you can't grab one, you can buy a resource pack directly, which is more cost-effective:https://cn.aliyun.com/benefit?from_alibabacloud=&userCode=i5mn5r7m

    Claude Code configuration

    After completing the Claude Code installation, configure the following information:

    ** Configuration steps are as follows:**

    Edit or create a settings.json file; the configuration information to modify is as follows:

    Different systems have different configuration file paths, as follows:

    {
    
        "env": {
    
            "ANTHROPIC_AUTH_TOKEN": "",
    
            "ANTHROPIC_BASE_URL": "https://ark.cn-beijing.volces.com/api/coding",
    
            "ANTHROPIC_MODEL": ""
    
        }
    
    }
    
    

    Edit or create the .claude.json file, setting the hasCompletedOnboarding field value to true (modify or add it).

    Different systems have different configuration file paths, as follows:

    {
    
      "hasCompletedOnboarding": true
    
    }
    
    

    After saving the configuration file, run the subsequent commands in a new terminal window.

    Configure Coding Plan in Claude Code

    To integrate Bailian Coding Plan in Claude Code, you need to configure the following information:

    macOS/Linux

    Create and open the configuration file ~/.claude/settings.json.

    ~ represents the user's home directory. If the .claude directory does not exist, create it first by running mkdir -p ~/.claude in the terminal.

    
    
    vim ~/.claude/settings.json
    
    

    Edit the configuration file, replacing YOUR_API_KEY with the Coding Plan exclusive API Key.

    {    
    
        "env": {
    
            "ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY",
    
            "ANTHROPIC_BASE_URL": "https://coding.dashscope.aliyuncs.com/apps/anthropic",
    
            "ANTHROPIC_MODEL": "qwen3.5-plus"
    
        }
    
    }
    
    

    Save the configuration file and reopen a terminal for it to take effect.

    Edit or create the ~/.claude.json file, set the value of the hasCompletedOnboarding field to true, and save the file.

    {
    
      "hasCompletedOnboarding": true
    
    }
    
    

    hasCompletedOnboarding is a top-level field; do not nest it within other fields.

    This step avoids the error when starting Claude Code: Unable to connect to Anthropic services.

    Windows

    Create and open the configuration file C:\\Users\\your_username.claude\\settings.json.

    1. CMD command method

    Creating directories:

    
    
    if not exist "%USERPROFILE%\.claude" mkdir "%USERPROFILE%\.claude"
    
    

    Create and open the file:

    
    
    notepad "%USERPROFILE%\.claude\settings.json"
    
    

    Edit the configuration file, replacing YOUR_API_KEY with the Coding Plan exclusive API Key.

    {    
    
        "env": {
    
            "ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY",
    
            "ANTHROPIC_BASE_URL": "https://coding.dashscope.aliyuncs.com/apps/anthropic",
    
            "ANTHROPIC_MODEL": "qwen3.5-plus"
    
        }
    
    }
    
    

    Save the configuration file and reopen a terminal for it to take effect.

    Edit or create the C:\\Users\\your_username.claude.json file, set the value of the hasCompletedOnboarding field to true, and save the file.

    
    
    {
    
      "hasCompletedOnboarding": true
    
    }
    
    

    2. PowerShell command method

    Creating directories:

    
    
    mkdir -Force $HOME\.claude
    
    

    Create and open the file:

    
    
    notepad $HOME\.claude\settings.json
    
    

    Edit the configuration file, replacing YOUR_API_KEY with the Coding Plan exclusive API Key.

    {    
    
        "env": {
    
            "ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY",
    
            "ANTHROPIC_BASE_URL": "https://coding.dashscope.aliyuncs.com/apps/anthropic",
    
            "ANTHROPIC_MODEL": "qwen3.5-plus"
    
        }
    
    }
    
    

    Save the configuration file and reopen a terminal for it to take effect.

    Edit or create the C:\\Users\\your_username.claude.json file, set the value of the hasCompletedOnboarding field to true, and save the file.

    
    
    {
    
      "hasCompletedOnboarding": true
    
    }
    
    

    Using Claude Code

    Open a terminal, navigate to the project directory, and run the following command to start Claude Code:

    
    
    cd path/to/your_project
    
    claude
    
    

    After starting, you need to authorize Claude Code to execute files.

    Type /status to confirm whether the model, Base URL, and API Key are configured correctly.

    Chat in Claude Code.

    Switching models

    Switching Method Operation Description Example
    Switch at startup Execute in the terminal claude --model <模型名称> Specify a model and start Claude Code claude --model qwen3-coder-next
    Switch during a session Type in the dialog /model <模型名称> command to switch models /model qwen3-coder-next

    Common command summary

    Command Description Example
    /init Generate a CLAUDE.md file in the project root to define project-level instructions and context /init
    /status View the current model, API Key, Base URL, and other configuration status /status
    /model <模型名称> Switching models /model qwen3-coder-next
    /clear Clear conversation history and start a fresh conversation /clear
    /plan Enter plan mode, only analyze and discuss approaches, without modifying code /plan
    /compact Compact conversation history to free up context window space /compact
    /config Open the configuration menu to set language, theme, etc. /config

    For more information, refer to:https://help.aliyun.com/zh/model-studio/coding-plan-quickstart