YouTip LogoYouTip

Opencode Coding Plan

Now there are many large model vendors in the market. Foreign ones include Anthropic, Open AI, Grok, Gemini, etc., but accessing them is inconvenient now. Domestic options include DeepSeek, Qwen, ZLM, Minimax, etc. The most expensive part when using Claude Code for coding is the tokens. Accessing overseas services is inconvenient and costly. Domestic providers now offer monthly subscription plans. If you use it long-term, it's more economical to buy a monthly plan. This article introduces Alibaba Cloud'sBailian Coding Plan, a subscription service specifically designed for AI programming tools. It integrates top-tier large models such as Qwen, GLM, Kimi, and MiniMax, and is compatible with mainstream AI programming assistants like OpenCode, Claude Code, and OpenClaw. It uses a fixed monthly fee model, which costs far less than pay-as-you-go APIs and completely eliminates the risk of overcharges. **Core Advantages of Coding Plan:** * **One-click access to top models**: No need to call theBailian API yourself; directly use the strongest models within familiar programming tools. * **Extremely low cost**: Fixed monthly fee (Lite Β₯40/month, Pro Β₯200/month), with limited-time first-month discounts at just Β₯7.9/Β₯39.9. * **Secure and worry-free**: Prohibits direct API connections, allowing usage only through interactive programming tools to avoid risks of misuse bans. * **Support for image understanding**: qwen3.5-plus and kimi-k2.5 support uploading screenshots or design diagrams directly to generate code. **Recommended Models** (officially adapted): * qwen3.5-plus (supports image understanding, recommended as primary choice) * kimi-k2.5 (supports image understanding) * glm-5 * MiniMax-M2.5 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 the Ark ( to subscribe to a plan according to your needs. For light usage, the Lite version suffices; for heavy usage, consider the Pro version. Limited-time Offer ## Coding Plan/Agent Plan First Two Months at 2.5 Discount Event Duration: June 8, 2026 - August 7, 2026 Most Cost-effective Lite Plan Β₯9.9/Month Original Price Β₯40/Month Best for Individual Developers DeepSeek, Kimi, GLM, Doubao, MiniMax Pro Plan Β₯49.9/Month Original Price Β₯200/Month 5x Quota Β· Advanced Development Needs All Lite Capabilities + Higher Call Quota Claude Code Cursor Windsurf Auto Model Switching Mainstream AI Model Support After successful purchase, click ( !(#) Then click the create button: !(#) Click the small eye icon below to view the API key. Copy it when needed: !(#) **Ark Coding Plan** is an AI coding subscription service aimed at developers to facilitate efficient development. Its core advantages are: * **Rich Models**: Supports mainstream large language models and Embedding models, covering popular series such as Doubao, DeepSeek, Kimi, GLM, and MiniMax. * **Wide Tool Compatibility**: Compatible with mainstream AI coding tools like Claude Code, Cursor, Cline, OpenCode, and Codex CLI. * **Shared Quotas**: Multiple tools share the same quota, allowing flexible switching to adapt to different development scenarios. * **Flexible Plans**: Offers Lite/Pro options to meet both light and intensive development needs. * **Stable and Highly Available**: Multi-tenant isolation and resource scheduling ensure stable performance even during peak times. Different tools have different Base URLs depending on their compatibility protocols: * Tools compatible with Anthropic interface protocol: https://ark.cn-beijing.volces.com/api/coding * Tools compatible with OpenAI interface protocol: https://ark.cn-beijing.volces.com/api/coding/v3 > **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 OpenCode Edit the OpenCode configuration file: * **macOS / Linux**: `~/.config/opencode/opencode.json` * **Windows**: `C:UsersYourUsername.configopencodeopencode.json` #### Modify Configuration Items Replace the following items based on your actual situation: * **``**: ( * **`model`**: Replace with the model name you want to use > Specific models include: doubao-seed-2.0-code, doubao-seed-2.0-pro, doubao-seed-2.0-lite, doubao-seed-code, minimax-m2.5, glm-4.7, deepseek-v3.2, kimi-k2.5. The opencode.json configuration content is as follows, using ark-code-latest as an example: { "$schema": "https://opencode.ai/config.json", "model": "volcengine-plan/ark-code-latest", "provider": { "volcengine-plan": { "npm": "@ai-sdk/openai-compatible", "name": "Volcano Engine", "options": { "baseURL": "https://ark.cn-beijing.volces.com/api/coding/v3", "apiKey": "" }, "models": { "ark-code-latest": { "name": "ark-code-latest", "limit": { "context": 256000, "output": 4096 }, "modalities": { "input": [ "text", "image" ], "output": } }, "doubao-seed-code": { "name": "doubao-seed-code", "limit": { "context": 256000, "output": 4096 }, "modalities": { "input": [ "text", "image" ], "output": } }, "glm-4.7": { "name": "glm-4.7", "limit": { "context": 200000, "output": 4096 }, "modalities": { "input": , "output": } }, "deepseek-v3.2": { "name": "deepseek-v3.2", "limit": { "context": 128000, "output": 4096 } }, "doubao-seed-2.0-code": { "name": "doubao-seed-2.0-code", "limit": { "context": 256000, "output": 4096 }, "modalities": { "input": [ "text", "image" ], "output": } }, "doubao-seed-2.0-pro": { "name": "doubao-seed-2.0-pro", "limit": { "context": 256000, "output": 4096 }, "modalities": { "input": [ "text", "image" ], "output": } }, "doubao-seed-2.0-lite": { "name": "doubao-seed-2.0-lite", "limit": { "context": 256000, "output": 4096 }, "modalities": { "input": [ "text", "image" ], "output": } }, "minimax-m2.5": { "name": "minimax-m2.5", "limit": { "context": 200000, "output": 4096 }, "modalities": { "input": , "output": } }, "kimi-k2.5": { "name": "kimi-k2.5", "limit": { "context": 256000, "output": 4096 }, "modalities": { "input": [ "text", "image" ], "output": } } } } }} Important Notes: The model names under provider.volcengine-plan.models must be consistent in two places: * Object key name * value of the name field Both must use the same Model Name; neither can be omitted. #### Enable Image Understanding Capability (Optional) To enable model image recognition/multimodal input, add the following to the model configuration: "modalities": { "input": ["text", "image"], "output": } #### Start Using After completing the configuration, start OpenCode: opencode Then enter: /models Select the configured model to begin using it. > More information: [ * * * ## Subscribe to Alibaba Coding Plan > The basic Coding Plan is too hard to get, and it has been taken off the shelves. Alibaba now uses Token Plan instead. See: [**Alibaba CloudBailian Token Plan**](https://www.aliyun.com/benefit/scene/tokenplan?source=5176.29345612&userCode=i5mn5r7m) > > * 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 First, purchase theBailian Coding Plan package: [https://www.aliyun.com/benefit/scene/codingplan](https://www.aliyun.com/benefit/scene/codingplan?source=5176.29345612&userCode=i5mn5r7m) For heavy usage, consider the Pro version, which is 5 times the capacity of the Lite version and supports the same models: [!(#)](https://www.aliyun.com/benefit/scene/codingplan?source=5176.29345612&userCode=i5mn5r7m) After purchasing the Coding Plan package, you can obtain the exclusive API Key for Coding Plan (format: sk-sp-xxxxx) on the (https://bailian.console.aliyun.com/cn-beijing/?userCode=i5mn5r7m&tab=coding-plan#/efm/detail) page. There are also corresponding documentation for more popular applications: !(#) Subsequently, configure one of the following Base URLs in your AI tool (depending on the tool): * Anthropic Compatible Protocol: https://coding.dashscope.aliyuncs.com/apps/anthropic * OpenAI Compatible Protocol (OpenClaw can use): https://coding.dashscope.aliyuncs.com/v1 > **Note:** The exclusive API Key and Base URL for Coding Plan are not interoperable with the pay-as-you-go API Key (sk-xxxxx) and Base URL (https://dashscope.aliyuncs.com/xxxxxx) ofBailian. Please do not mix them. > > If you can't get it, you can directly purchase a resource pack, which is more cost-effective: [https://cn.aliyun.com/benefit?from_alibabacloud=&userCode=i5mn5r7m](https://cn.aliyun.com/benefit?from_alibabacloud=&userCode=i5mn5r7m) > > !(#) ### Configure Coding Plan in OpenCode Enter `/connect` in the input box and press Enter. In the search box under the **Connect a Provider** list, type **alibaba** to search, select Alibaba Coding Plan (China) and press Enter. !(#) Enter the API Key we applied for and press Enter: !(#) Then we can enter `/model` to see the models supported by Coding Plan and choose the one we need: !(#) ### Interface Settings ### Set in Configuration File Create and open the configuration file opencode.json at the following path: * macOS / Linux: ~/.config/opencode/opencode.json * Windows: C:UsersYourUsername.configopencodeopencode.json Write the following configuration into the file, with key configuration items: * baseURL: https://coding.dashscope.aliyuncs.com/apps/anthropic/v1, please do not use the generalBailian address. * apiKey: Replace YOUR_API_KEY with the (https://bailian.console.aliyun.com/cn-beijing/?userCode=i5mn5r7m&tab=coding-plan#/efm/detail) exclusive API Key, format: sk-sp-xxx. **Note:** After saving the configuration file, exit and restart OpenCode for the new settings to take effect. { "$schema": "https://openco
← Openclaw SetupClaude Code How It Work β†’