Appearance
FAQ
Reference, synced 2026-06-13.
flowchart TD n0["Models"] n1["Overview"] n2["Products"] n3["Solutions"] n4["Pricing"] n5["Resources"] n6["Partners"] n7["Support"] n8["Language"] n0 --> n1 n1 --> n2 n2 --> n3 n3 --> n4 n4 --> n5 n5 --> n6 n6 --> n7 n7 --> n8
Free access Accelerate Delivery with Fixed-Cost Agentic CodingWatch how it works
Models
Empowering AI innovation for both enterprises and developers with Alibaba Cloud’s best-in-class Qwen models, AI-native apps, and AI solutions.
Alibaba Cloud Model Studio \ Enterprise-grade large model service and application development platform.
Try Visual Model \ Supports image understanding, image generation, and video generation.
Models
HappyHorse-1.0-T2V \ Cinematic creative generation, ultimate dynamic details Qwen3-VL-Plus \ Native VL, spatial reasoning, 1M-context video analysis Wan2.7-VideoEdit \ Supports both localized and global editing with prompt
Qwen3.6-Plus \ Native multimodal, 1M context, agentic coding Wan2.7-Image-Pro \ Interactive editing, long-text rendering, precise prompt following Qwen-Plus \ Balanced intelligence, efficient inference, production-ready performance
Qwen-Image-2.0 \ Professional infographics, exquisite photorealism Z-Image-Turbo \ Ultra-fast image generation, high throughput, cost-optimized inference Qwen3-Coder-Next \ Multi-turn tool interactions, future-ready development support
Wan2.7-T2V \ High-fidelity T2V, 15s duration, advanced camera control Wan2.7-I2V \ Cinematic I2V with emotional depth and visceral impact Wan2.7-R2V \ Up to 5 mixed image/video inputs and audio timbre cloning
GenAI Application
Qoder \ Intelligent coding assistant, available for enterprise-dedicated deployment. Qoder CN \ AI-powered coding assistant that boosts developer productivity with intelligent code completion, AI chat, multi-file editing, and task automation.
AI Service
Model Experience \ Experience full-scale, multimodal model capabilities online. Platform for AI \ An AI-native algorithm engineering platform for end-to-end modeling, training, and inference service deployment. Fine-tune Video Generation Model \ Customize Wan’s text-to-video capabilities through model fine-tuning to meet your unique requirements.
AI Use Case
AI Savings Plan Hot \ Save up to 47% on AI costs. Limited-time offer tailored to your usage. AI Video Creation \ Elevate your professional video production with Wan 2.6.
AI Token Plan \ One plan. Multiple models. Big Savings with a Fixed Subscription. AI Image Creation \ All-in-one creative suite for copywriting, image generation, and poster design.
Overview
As a global full-stack AI leader, Alibaba Cloud aims to make computing accessible to everyone and help worldwide customers accelerate innovation.
Why Alibaba Cloud
About Alibaba Cloud \ AI Powered Cloud Technology Our Global Network \ Explore our global presence and deployment regions around the world Our Global Offices \ With offices in 4 continents, we're always close to where it matters.
Asia Accelerator \ Accelerate Success in Asia with Alibaba Cloud Go Global \ Benefits of our Global Alliance Trust Center \ Empowering enterprises with a secure, compliant, and globally trusted cloud infrastructure
Customers and Insights
Olympic Games \ Alibaba Cloud Powers Olympic Games with AI-powered cloud technology Case Studies \ Learn how customers are scaling their businesses on Alibaba Cloud Analyst Reports \ Learn what the top industry analyst firms are saying about Alibaba Cloud
What's New
Events and Webinars \ Quick access to upcoming and on-demand events Product Updates \ Stay informed of the latest innovations Press Room \ Latest news and media releases
Products
Featured ProductsAI & Machine Learning Computing Container Storage Networking & CDN Security Middleware Database Analytics ComputingMedia ServicesEnterprise Services & Cloud CommunicationDomain Names and WebsitesEnd User ComputingServerlessDeveloper ToolsMigration & O&M ManagementApsara Stack
Featured Products
Alibaba Cloud Model Studio \ Supercharge your AI journey effortlessly with industry-leading GenAI models ApsaraDB RDS \ Store and manage your business data, with automated monitoring and backups Certificate Management Service (Original SSL Certificate) \ Create a safe and secure connection between your website and users
Elastic Compute Service (ECS) \ Host websites anywhere and scale enterprise workloads Container Service for Kubernetes (ACK) \ Run and scale containerized applications on managed Kubernetes infrastructure Object Storage Service (OSS) \ Store large amounts of data in the cloud and access it anywhere, anytime
Simple Application Server (SAS) \ All-in-one services for fast deployment Elastic IP Address (EIP) \ Manage your public IPs independently to improve internet network quality Domain Names and Website \ Get the perfect domain name to suit your every need
Related Programs
Solutions
Solutions by Industry Technical Solutions AI WebsitesNetworking Security and ComplianceData and AnalyticsEnterprise Service and ApplicationCloud MigrationCloud NativeHybrid CloudSMB solutions
Financial Services \ Innovate faster with Alibaba Cloud Games \ Grow your game rapidly with high global availability
New Retail \ Alibaba Cloud enables digital retail transformation to fuel growth and realize an omnichannel customer experience throughout the consumer journey. Media and Entertainment \ Ready your content for today's media market with a digitalized media journey
Supply Chain \ Power your supply chain with intelligent, efficient, and reliable solutions Sports \ Digitizing the sports industry with intelligent tech
Sustainability \ Achieve a sustainable future with low-carbon and energy-efficient technologies
Pricing
Flexible options like pay-as-you-go and clear billing rules to meet diverse business needs.
Overview & Tools
Pricing Calculator \ Get an instant pricing estimate based on your usage and needs Free Trial \ Try our 80+ cloud products for free.
Pricing Options \ Get the most out of Alibaba Cloud with flexible pricing
Optimize your cost
Migrate & Save \ Superior Performance At Lower Pricing. Save up to 50%. Promotion Center \ Unlock the latest Alibaba Cloud offers & promos
Resources
Official documentation, extensive tools, training resources, and a community to grow and innovate in the cloud.
Technical Resources
Documentation \ Product guides and FAQs Architecture Center \ Design reliable, secure, and efficient cloud architecture. Intelligent Solution Explorer \ Find the right solution for you, powered by AI
Blog \ Latest cloud insights and developer trends Whitepapers \ Research that explores the how and why behind our technology
Training&Certification
Alibaba Cloud Academy \ Build cloud skills and earn certifications with expert-led training.
Developer Hub
Alibaba Cloud Project Hub \ Explore real-world projects built by developers using our platform. Our Developer MVPs \ Celebrating the developers who lead, build, and inspire our community
Partners
Partner-first strategy offering collaborative product, sales, and service models, plus high-quality partner solutions that complement Alibaba Cloud’s capabilities.
Marketplace
AI Alliance for ISVs \ Partner with us to build and grow AI solutions together ISV Benefits \ Unlock resources, market access, and go-to-market support as an ISV partner
Alibaba Cloud Marketplace \ Explore ready-to-deploy solutions from our partners and ISVs
Find a Partner
Partner Hub \ Find your ideal partner in no time
Become a Partner
Partner Network \ A partner portal for Alibaba Cloud Channel, Technology, MSP partner and other partner programs
Support
Full-lifecycle support and expert services, from cloud advisory and migration to operations.
Support & Professional Services
Professional Services \ Expert-led services to design, migrate, and optimize your cloud journey Support Plans \ Flexible support for every stage — from startup to enterprise
Partner Support Program \ Priority technical support for partners, with dedicated managers and faster issue resolution
Contact us
Connect With Us \
Talk to a sales expert and get a custom quote for your business
Language
- English
- 简体中文
- 繁體中文
- 日本語
- Bahasa Indonesia
Locale
Visit aliyun.com
Documentation
Alibaba Cloud Model Studio
User Guide (Models) User Guide (Application) API Reference (Models) API Reference (Application)
Search for Help Content
Getting Started
The Beginner's Guide
Well-Architected Framework
AI & Machine Learning
Platform For AI
Alibaba Cloud Model Studio
DashVector
Artificial Intelligence Recommendation
OpenSearch
Image Search
Machine Translation
Intelligent Speech Interaction
Optimization Solver
Intelligent Computing LINGJUN
Computing
Elastic Compute Service
Elastic GPU Service
Elastic Container Instance
Dedicated Host
Compute Nest
Simple Application Server
Cloud Box
Auto Scaling
Elastic High Performance Computing
Batch Compute (Deprecated)
Function Compute
Serverless App Engine
ENS
Elastic Desktop Service
App Streaming
WUYING Terminal
Cloud Phone
Edge Network Acceleration
Alibaba Cloud Linux
AgentBay
Container
Container Service for Kubernetes
Container Compute Service
Container Registry
Storage
Object Storage Service
Cloud Parallel File Storage
File Storage NAS
Tablestore
Storage Capacity Unit
Simple Log Service
Cloud Backup
Intelligent Media Management
Drive and Photo Service
Data Transport
Cloud Storage Gateway
Data Online Migration
Hybrid Cloud Storage Array
Storage Services Overview
Backup and Disaster Recovery Center
Networking and CDN
Server Load Balancer
Elastic IP Address
Internet Shared Bandwidth
Data Transfer Plan
Virtual Private Cloud
NAT Gateway
PrivateLink
Alibaba Cloud DNS PrivateZone
Network Intelligence Service
Cloud Data Transfer
IPv6 Gateway
Anycast Elastic IP Address
Cloud Enterprise Network
Global Accelerator
VPN Gateway
Smart Access Gateway
Express Connect
CDN
Edge Security Acceleration
Cloud Network Well-architected Design Guidelines
Security
Anti-DDoS
Web Application Firewall
Cloud Firewall
Security Center
Bastionhost
Secure Access Service Edge
Certificate Management Service
Key Management Service
Data Security Center
Identity as a Service
Fraud Detection
AI Guardrails
Captcha
Blockchain as a Service
ID Verification
Managed Security Service
Middleware
Enterprise Distributed Application Service
Microservices Engine
Alibaba Cloud Service Mesh
SchedulerX
ApsaraMQ for RocketMQ
ApsaraMQ for Kafka
ApsaraMQ for RabbitMQ
ApsaraMQ for MQTT
Simple Message Queue (formerly MNS)
CloudFlow
EventBridge
Application Real-Time Monitoring Service
Managed Service for Prometheus
Managed Service for Grafana
Managed Service for OpenTelemetry
Performance Testing
STAROps
Databases
ApsaraDB Console
PolarDB
ApsaraDB RDS
ApsaraDB for OceanBase (Deprecated)
Tair (Redis® OSS-Compatible)
Lindorm
Time Series Database
ApsaraDB for MongoDB
ApsaraDB for HBase
ApsaraDB for Memcache
ApsaraDB for MyBase
AnalyticDB
ApsaraDB for ClickHouse
ApsaraDB for SelectDB
Data Transmission Service
Database Autonomy Service
Data Management
Database Gateway - Deprecated
ApsaraDB for Cassandra - Deprecated
Analytics Computing
MaxCompute
Hologres
Realtime Compute for Apache Flink
Elasticsearch
Vector Retrieval Service for Milvus
E-MapReduce
Data Lake Formation
DataV
Quick BI
Quick Audience
Quick Tracking
DataWorks
DataHub
Dataphin
Media Services
ApsaraVideo VOD
ApsaraVideo Live
Intelligent Media Services
ApsaraVideo Media Processing
Apsara Video SDK
Enterprise Services & Cloud Communication
Energy Expert
CloudQuotation
Salesforce on Alibaba Cloud
GoChina ICP Filing Assistant
Marketplace
Alibaba Mail
Direct Mail
Short Message Service
Voice Service
Phone Number Verification Service
Cell Phone Number Service
Chat App Message Service
Financial Intelligence Engine
Domain Names and Websites
Domain Names
ICP Filing
Alibaba Cloud DNS
End User Computing
Elastic Desktop Service
App Streaming
WUYING Terminal
Cloud Phone
AgentBay
Internet of Things
IoT Platform
Serverless
Serverless App Engine
CloudFlow
EventBridge
Simple Message Queue (formerly MNS)
Function Compute
Developer Tools
OpenAPI Explorer
Alibaba Cloud SDK
Cloud Shell
Resource Orchestration Service
Alibaba Cloud CLI
BSS OpenAPI
Terraform
Pulumi
Ticket System API
Mobile Platform as a Service
Alibaba Cloud DevOps
API Gateway
Cloud Control API
AI Coding Assistant Lingma
Cloud Skills Portal
Migration & O&M Management
CloudOps Orchestration Service
Cloud Monitor
Intelligent Advisor
Cloud Governance Center
ActionTrail
Cloud Config
Resource Access Management
Resource Management
Cloud Architect Design Tools
Migration Hub
Server Migration Center
Service Catalog
Logic Composer
Quota Center
CloudSSO
HTTPDNS
Solutions
SAP
SuperApp
OpenLake
Membership Service
Expenses and Costs
Account Center
More
Support
Legal
Tech Share Terms and Conditions
After Sales Support
China Gateway Program
Service Level Objectives
Management Console
Security Control
Connection and configuration issues
Common errors and solutions
| Error message | Possible cause | Solution |
|---|
| Error message | Possible cause | Solution |
|---|---|---|
| 400 InvalidParameter: Range of input length should be [1, xxx] | The input exceeds the allowed length. | 1. Create a new session to resolve the error. 2. To avoid this error, simplify your input or switch to a model with a longer context window. For details, see What are the context windows for each model? How do I handle inputs that exceed the context window? 3. If you use OpenCode, configure limit to limit the context window. For more information, see OpenCode. |
| 401 invalid access token or token expired | 1. You used a general-purpose Model Studio API key (which starts with sk-xxx) instead of your plan-specific API key. 2. Your Coding Plan subscription has expired. 3. The API key is incomplete, contains extra spaces, or is malformed. | 1. Use your plan-specific API key. 2. Go to the Coding Plan page Coding Plan page to check whether your subscription has expired. 3. Go to the Coding Plan page Coding Plan page to copy your API key again. Ensure that it is complete and contains no extra spaces. 4. If the error persists, reset your API key on the Coding Plan page Coding Plan page and update your configuration with the new key. |
| model 'xxx' is not supported | 1. The model is not supported by the Coding Plan. 2. The model name is misspelled, has incorrect case, or contains extra spaces. | Use a model ID supported by Coding Plan. Model IDs are case-sensitive and must not contain leading or trailing spaces. |
| 403 invalid api-key | You are using the general-purpose Model Studio base URL instead of the plan-specific base URL. | Anthropic-compatible endpoint: https://coding.dashscope.aliyuncs.com/apps/anthropic OpenAI-compatible endpoint: https://coding.dashscope.aliyuncs.com/v1 Anthropic-compatible endpoint: https://coding-intl.dashscope.aliyuncs.com/apps/anthropic OpenAI-compatible endpoint: https://coding-intl.dashscope.aliyuncs.com/v1 |
| 404 status code (no body) | The base URL path is incorrect. For example, you have incorrectly set the base URL to https://coding.dashscope.aliyuncs.com/v1 in Claude Code. The correct URL is https://coding.dashscope.aliyuncs.com/apps/anthropic. | Anthropic-compatible endpoint: https://coding.dashscope.aliyuncs.com/apps/anthropic OpenAI-compatible endpoint: https://coding.dashscope.aliyuncs.com/v1 Anthropic-compatible endpoint: https://coding-intl.dashscope.aliyuncs.com/apps/anthropic OpenAI-compatible endpoint: https://coding-intl.dashscope.aliyuncs.com/v1 |
| Connection error | The base URL is misspelled, or there is a network issue. | Verify the base URL spelling and check your network connection. |
| hour allocated quota exceeded | The 5-hour request quota has been exhausted. | Wait 5 hours for the quota to reset automatically. |
| week allocated quota exceeded | The weekly request quota has been exhausted. | The quota resets at 00:00:00 (UTC+8) on Monday. |
| month allocated quota exceeded | The monthly request quota has been exhausted. | The quota resets at 00:00:00 (UTC+8) on the corresponding day of your next subscription month. |
| concurrency allocated quota exceeded | The number of concurrent requests has exceeded the dynamically allocated limit. | Wait a moment and retry. The platform adjusts this limit based on resource load, so this error is more likely during peak hours. |
Claude Code: "Switched to native installer" message
This does not affect the normal use of Claude Code. You can run claude install in the terminal to migrate Claude Code to the official native installation, and follow the command returned in the terminal to complete the configuration migration.
Claude Code: "Unable to connect" error
plaintext
Unable to connect to Anthropic services
Failed to connect to api.anthropic.com: ERR_BAD_REQUEST
Please check your internet connection and network settings.
Note: Claude Code might not be available in your country. Check supported
countries at https://anthropic.com/supported-countriesCause: On its first startup, Claude Code attempts to connect to api.anthropic.com for initial authentication. This connection fails because Claude Code is not available in some countries and regions.
Solution:
- Add
"hasCompletedOnboarding": trueas a top-level field in~/.claude.json.
For an automated solution, use Qwen Code. Launch Qwen Code by running
qwenin your terminal, and then send the following chat message:Please add "hasCompletedOnboarding": true as a top-level field in the ~/.claude.json file without overwriting existing content.
bash
{
"hasCompletedOnboarding": true
}- Save the file and restart Claude Code.
bash
claudeOpenCode: "Request entity too large" error
This error indicates that the request content, such as code context or conversation history, exceeds the maximum input limit. To resolve this issue:
Run
/newto create a new conversation, or run/compactto compress the context. For more methods to mitigate context overflow, see the documentation.If the issue persists, update OpenCode to version 1.2.16 or later. This version includes a fix for this issue.
OpenCode: "thinking_budget" parameter error
Cause: The value of budgetTokens in the opencode.json configuration file exceeds the maximum thinking_budget supported by the current model. Limits vary by model. Adjust your configuration according to the table below.
| Model name | Max thinking budget |
|---|
| Model name | Max thinking budget |
|---|---|
| qwen3.7-plus | 262,144 |
| qwen3.6-plus | 81,920 |
| qwen3.5-plus | 81,920 |
| qwen3-max-2026-01-23 | 81,920 |
| kimi-k2.5 | 81,920 |
| glm-5 | 32,768 |
| glm-4.7 | 32,768 |
| MiniMax-M2.5 | Enabled by default. The budgetTokens parameter is not required. |
| qwen3-coder-next | Thinking mode not supported. |
| qwen3-coder-plus | Thinking mode not supported. |
Solution: Open the OpenCode configuration file opencode.json and adjust the options.thinking.budgetTokens value so that it does not exceed the model's limit. For models that do not support thinking mode, such as qwen3-coder-next and qwen3-coder-plus, remove the options.thinking configuration item. For details, see OpenCode.
OpenCode: "max_tokens" range error
Cause: The value of limit.output in the opencode.json configuration file exceeds the maximum number of output tokens (max_tokens) supported by the current model.
Solution: Modify the opencode.json configuration file and adjust the limit value for the corresponding model according to OpenCode.
Do Coding Plan models support thinking mode?
Most Coding Plan models that support deep thinking have thinking mode enabled by default. To enable it in common tools:
The model you are using must support thinking mode.
Claude Code
OpenCode
Qwen Code
OpenClaw
Enable thinking mode: Enter /config, navigate to Thinking mode, and press Enter to switch the value to true.
View the thinking process: Press Ctrl + O.
plaintext
● I am Claude Code, the official command-line interface tool from Anthropic. 05:13 PM kimi-k2.5
My core purpose is to be a software engineering assistant:
- Write, modify, and debug code
- Explore and analyze codebases
- Run terminal commands and automate tasks
- Provide technical code explanations and suggestions
My output style is concise and direct, prioritizing technical accuracy. I am powered by Claude Opus 4.6
and use tools to complete tasks rather than just having a conversation.
∴ Thinking…
The user asked, "Think and then tell me: who are you?" I need to think before answering.
Based on the system prompt, I am Claude Code, the official CLI tool from Anthropic. I am powered by Claude Opus 4.6
(based on the model ID in the background information: 'claude-opus-4-6').
My characteristics are:
1. Focus on software engineering tasks.
2. Use tools to complete tasks (not just converse).
3. Maintain a concise and professional tone.
4. Do not use emojis proactively.
5. Prioritize technical accuracy over emotional validation.
I need to think before answering, so I should give a concise and accurate self-introduction.For details, see OpenCode. Configure the options parameter as follows:
json
{
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
budgetTokensis the maximum number of tokens for thinking. You can adjust it as needed.
Open ~/.qwen/settings.json, and in the modelProviders property, set the enable_thinking parameter to true to enable thinking mode:
json
{
"ide": {
"hasSeenNudge": true
},
"env": {
"BAILIAN_CODING_PLAN_API_KEY": "sk-sp-xxx"
},
"modelProviders": {
"openai": [\
{\
"id": "qwen3.6-plus",\
"name": "[Bailian Coding Plan] qwen3.6-plus",\
"baseUrl": "https://coding.dashscope.aliyuncs.com/v1",\
"envKey": "BAILIAN_CODING_PLAN_API_KEY",\
"generationConfig": {\
"extra_body": {\
"enable_thinking": true\
}\
}\
},\
...\
]
},
"security": {
"auth": {
"selectedType": "openai"
}
},
"codingPlan": {
"region": "china",
"version": "xxx"
},
"model": {
"name": "qwen3.6-plus"
},
"$version": 3
}json
{
"ide": {
"hasSeenNudge": true
},
"env": {
"BAILIAN_CODING_PLAN_API_KEY": "sk-sp-xxx"
},
"modelProviders": {
"openai": [\
{\
"id": "qwen3.6-plus",\
"name": "[Bailian Coding Plan] qwen3.6-plus",\
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",\
"envKey": "BAILIAN_CODING_PLAN_API_KEY",\
"generationConfig": {\
"extra_body": {\
"enable_thinking": true\
}\
}\
},\
...\
]
},
"security": {
"auth": {
"selectedType": "openai"
}
},
"codingPlan": {
"region": "china",
"version": "xxx"
},
"model": {
"name": "qwen3.6-plus"
},
"$version": 3
}To enable thinking mode in OpenClaw, follow these steps:
- Check the OpenClaw version
Run openclaw tui in the terminal to enter the TUI. In the dialog box, enter openclaw --version to check if your OpenClaw version is v2026.03.02 or later. Earlier versions of OpenClaw may not be able to enable thinking mode.
bash
openclaw --version
OpenClaw 2026.3.8 (commit: 3caab92)- Select a thinking level
In the OpenClaw TUI, enter the /think high command to select the thinking level (in this example, high is selected as the thinking level for the current session).
plaintext
/think high
→ highModify the configuration file
Set
compatparameterRefer to OpenClaw, open the configuration file, and add the
compatparameter to the model configuration that supports thinking mode:json"compat": { "thinkingFormat": "qwen" }Set
reasoningparameterIn the same model configuration, set the
reasoningparameter totrue:json{ "id": "qwen3-max-2026-01-23", "name": "qwen3-max-2026-01-23", "reasoning": true, "compat": { "thinkingFormat": "qwen" }, "input": [\ "text"\ ], "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }, "contextWindow": 262144, "maxTokens": 65536 }Restart the OpenClaw Gateway
After you save the configuration file, run the following command in your terminal to restart the OpenClaw Gateway and apply the changes.
bash
openclaw gateway restartOpenClaw: Call records for unconfigured models
Reason: The openclaw.json file lacks the agents.defaults.models configuration to restrict the range of available models.
Solution: In ~/.openclaw/openclaw.json, explicitly declare the list of allowed models in agents.defaults.models to restrict OpenClaw to calling only the configured models. For more information, see OpenClaw.
OpenClaw: Chat unresponsive after connecting
Possible causes include the following:
A local proxy (VPN/HTTP Proxy) intercepts or fails to correctly forward requests to
coding.dashscope.aliyuncs.com.The Base URL in the OpenClaw cache file
~/.openclaw/agents/main/agent/models.jsonpoints to an incorrect address, and requests are sent to an unresponsive endpoint.
Solution:
Try to disable the local proxy, or ensure that the proxy can access
coding.dashscope.aliyuncs.com.Delete the
~/.openclaw/agents/main/agent/models.jsoncache file and restart OpenClaw. After the restart, the cache file will be automatically rebuilt based on the configuration in~/.openclaw/openclaw.json.
OpenClaw: "OAuth token refresh failed" error
This error indicates that you are connected to a third-party OAuth service, not a Coding Plan.
Solution:
Configure the Coding Plan in OpenClaw. For details, see OpenClaw.
Clear the old OAuth credentials and model cache, and then restart OpenClaw.
Before deleting old OAuth credentials, back up the files to allow for a rollback if needed.
bash
rm ~/.openclaw/agents/main/agent/auth.json
rm ~/.openclaw/agents/main/agent/models.json
openclaw gateway restartOpenClaw: "Unknown model" error
This error indicates that OpenClaw cannot find the specified model in the configuration file. Check the following items in order:
- Incorrect configuration of the
models.providerskey or model prefix
When you use the Coding Plan, models.providers must contain the bailian key (which can coexist with other providers). In addition, agents.defaults.model.primary must be prefixed with bailian/. The correct structure is as follows:
json
// Configuration file: ~/.openclaw/openclaw.json
{
"models": { "providers": { "bailian": {...} } },
"agents": { "defaults": { "model": { "primary": "bailian/qwen3.6-plus" } } }
}- Residual configurations from old providers are causing routing conflicts
If you have previously used other providers such as qwen-portal, leftover provider configurations can cause model routing confusion. Clean up irrelevant providers and ensure that the model pointed to by the primary field is correctly defined in the models.providers.bailian.models list. For configuration information, see OpenClaw.
What is qwen-portal/coder-model?
qwen-portal/coder-model is a free model provided by the Qwen Chat web version and is not part of Model Studio. If you try to use this model in Model Studio or Coding Plan, you will receive an error indicating that the model does not exist. Use models supported by Model Studio.
OpenClaw: "No API key found" error
This error indicates that OpenClaw cannot find the API key for the provider (xxxxx) specified in the error message. Check the following items in order:
- The corresponding provider configuration is missing in
models.providers.
Open the configuration file ~/.openclaw/openclaw.json and confirm that a key that matches the provider name in the error message exists under models.providers.
If you connect to Coding Plan, the configuration must include the
bailiankey (can coexist with other providers).If the key is missing, add the corresponding provider configuration.
The API key for the provider is incorrectly configured.
Ensure that you have entered a valid API key that is not empty and has no extra spaces.
If you use Coding Plan, make sure to use the dedicated key (
sk-sp-xxx).If the web UI displays
__OPENCLAW_REDACTED__, the API key is already saved and does not need to be re-entered. If it is blank or displaysYOUR_API_KEY, you must enter the key again.
An outdated local credentials cache is preventing the new configuration from taking effect.
Before deleting old credentials, back up the files to allow for a rollback if needed.
bash
# Delete old credentials and model cache
rm ~/.openclaw/agents/main/agent/auth-profiles.json
rm ~/.openclaw/agents/main/agent/models.json
# Restart the Gateway to apply the new configuration
openclaw gateway restartOpenClaw: "API rate limit reached" error
Check the following items in order:
- Incorrect OpenClaw configuration
If the base URL or model provider is configured incorrectly, requests may not be routed through the dedicated Coding Plan channel and are instead routed to general API calls, triggering a rate limit.
If you use the Coding Plan subscription, verify that the
models,agents, andgateway(including nested fields) in the OpenClaw configuration file are consistent with the configurations in the documentation. For example, the structure for a model service provider is{ "models": { "providers": { "bailian": {...} } } }.If you do not have a Coding Plan subscription, switch to one to obtain a dedicated quota.
Subscription quota exceeded: Check your subscription usage on the Coding Plan page Coding Plan page.
Try resetting the API key : If the issue persists after completing the preceding checks, go to the Coding Plan page Coding Plan page to reset your API key.
OpenClaw: "Failed to discover" error on startup
OpenClaw shows one of the following errors on startup:
Failed to discover Alibaba Cloud models: TimeoutError: The operation was aborted due to timeoutFailed to discover Alibaba Cloud models: 404 Not Found
Cause: OpenClaw attempts to query the list of models for the Model Studio Coding Plan, but this model list cannot be queried through an API.
Solution:
This message does not affect the normal operation of OpenClaw and can be ignored.
If OpenClaw does not run properly, check for other error messages.
To suppress this prompt, delete
alibaba-cloud:default profilefrom the~/.openclaw/agents/main/agent/auth-profiles.jsonfile. For example:
json
"profiles": {
"alibaba-cloud:default": {
"type": "api_key",
"provider": "alibaba-cloud",
"key": "sk-sp-xxxxx"
}
}After you change it to "profiles": {}, the prompt will no longer appear.
OpenClaw: "auth.profiles" error
You may see errors similar to the following when using OpenClaw:
auth.profiles.qwen-portal:default.mode: Invalid inputauth.profiles.qwen-portal:default: Unrecognized key: "apiKey"
Cause: The auth.profiles field in the openclaw.json file was incorrectly modified, such as changing the mode to an invalid value or adding the apiKey field. The auth field stores only authentication metadata, not secret keys. Coding Plan does not need to be configured in auth.profiles.
Solution
Fix the
auth.profilesconfiguration by deleting incorrectly added or modified fields and unnecessary profiles.Confirm that the API Key for the Coding Plan is configured in
models.providers.bailian.apiKey. For more information, see OpenClaw.
"HTTP 401: Incorrect API key provided" error
Possible causes:
Invalid API Key format: The API Key is empty, has an incorrect format, is incomplete, or contains extra spaces. Make sure that you use the dedicated API Key API Key for Coding Plan, which starts with
sk-sp-. Copy the entire key and ensure that it does not contain extra spaces.Expired or invalid Coding Plan subscription: A Coding Plan-specific API key depends on the subscription status. If your Coding Plan subscription has expired or is invalid, the corresponding key will no longer work. Ensure that your subscription is active.
Incorrect Base URL: You have configured a Coding Plan-specific API Key (which starts with
sk-sp-), but the Base URL is still set to the standard Model Studio address, such as https://dashscope-intl.aliyuncs.com/compatible-mode/v1. Based on the AI tool that you are integrating, replace the Base URL with the corresponding Coding Plan-specific address from the table below.
| Tool | Protocol | Base URL |
|---|
| Tool | Protocol | Base URL |
|---|---|---|
| OpenClaw | OpenAI-compatible | https://coding-intl.dashscope.aliyuncs.com/v1 |
| OpenCode | Anthropic-compatible | https://coding-intl.dashscope.aliyuncs.com/apps/anthropic/v1 |
| Claude Code | Anthropic-compatible | https://coding-intl.dashscope.aliyuncs.com/apps/anthropic |
| Cursor | OpenAI-compatible | https://coding-intl.dashscope.aliyuncs.com/v1 |
| VSCode Cline | OpenAI-compatible | https://coding-intl.dashscope.aliyuncs.com/v1 |
| Qwen Code | OpenAI-compatible | https://coding-intl.dashscope.aliyuncs.com/v1 |
Incorrect API Key used: You configured the dedicated Base URL for Coding Plan, but incorrectly entered the general-purpose API Key for Model Studio, which starts with
sk-. Please update the API Key to the one dedicated to Coding Plan: API Key API Key.Configuration error caused by a stale OpenClaw cache: In the
~/.openclaw/agents/main/agent/models.jsonfile, delete theproviders.bailianconfiguration item, and restart OpenClaw.
"Authentication failed" error with ModelScope token
This error indicates that you are connected to the third-party ModelScope service, not a Coding Plan. To connect to a Coding Plan, see Connect to client or development tools.
This error occurs when you provide an incorrect credential for the ModelScope API service. Check the following items in order:
You entered the wrong access credentials for the platform: A ModelScope token is in the format
ms-xxx, while a general API Key for Alibaba Cloud Model Studio is in the formatsk-xxx. The two are independent platforms, and their access credentials are not interchangeable. Go to ModelScope to obtain a token.Incorrect format: Ensure that there are no extra spaces or line breaks when you copy the ModelScope token.
"Only available for Coding Agents" error
This error indicates that the call was made from an unsupported tool or environment.
The Coding Plan is exclusively for use within programming tools, such as Claude Code and Qwen Code, and is not supported in tools like curl, Postman, or Dify.
Billing and quota issues
Unexpected charges with a Coding Plan
If you continue to incur charges or have an overdue payment after subscribing to a Coding Plan, this may be for one of the following reasons:
- Incorrect configuration of the plan-specific API Key and Base URL (Most common reason)
Cause: If you configure your AI tool with a general-purpose API Key (in the format
sk-xxx) and a general-purpose Base URL (which does not contain thecodingkeyword), the system identifies the calls as pay-as-you-go and bills them accordingly.Solution: You must use the configuration dedicated to the Coding Plan. The API Key must be in the format
sk-sp-xxx, and the Base URL must contain thecodingkeyword (such ashttps://coding-intl.dashscope.aliyuncs.com/xxx). For more information, see Obtain a Dedicated API Key and Base URL for a Plan.
- Overdue payment caused by billing delays (charges incurred before subscribing to the Coding Plan)
Cause: Bills are aggregated by the minute, and bill generation may be delayed by a few minutes. For example, an API call made at 16:00 might not be billed until 16:05, which could be after you subscribed to the Coding Plan.
Solution: Charges are based on the actual billing time. For details, see Bill queries and cost management.
- Using general-purpose API credentials by mistake
Cause: If both general-purpose and plan-specific configurations are saved in your tool, some tools (such as OpenClaw) might automatically route requests using the general-purpose credentials, resulting in charges.
Solution: We recommend removing the general-purpose API configuration from your tool and ensuring you select a model supported by the Coding Plan. For example, in OpenCode, select a model with the provider labeled 'Model Studio Coding Plan'.
- Client cache not cleared
Cause: After you configure new credentials, some tools might still use cached versions of the old general-purpose API credentials.
Solution: Clear the cache and restart the tool. For example, with OpenClaw, delete the
~/.openclaw/agents/main/agent/models.jsonfile, runopenclaw gateway restartto restart the service, and then reconfigure it according to the OpenClaw documentation.
Quota exhaustion
Lite plan: If you use up your 5-hour or weekly quota, wait for it to reset automatically. If you use up your monthly quota, you must wait until the next subscription cycle for it to reset.
Pro plan: If you use up your 5-hour or weekly quota, wait for it to reset automatically. If you use up your monthly quota, you must wait until the next subscription cycle for it to reset.
Auto-switch to pay-as-you-go
No. After your Coding Plan quota is exhausted, further API calls will fail with an error, and usage will not automatically switch to pay-as-you-go. To continue using the service, you must wait for your quota to reset in the next subscription cycle.
Free trial and Coding Plan
The Coding Plan is a standalone subscription. Its billing and quota system is separate from the free trial program for general-purpose models in Model Studio.
Subscription period calculation
Your subscription becomes active at the moment of purchase and expires at 23:59:59 (UTC+8) on the corresponding day of the following month. If the following month does not have a corresponding day, the subscription expires at 23:59:59 (UTC+8) on the last day of that month.
For example: If you subscribe to a Coding Plan on February 3, 2026, it will be valid until March 3, 2026.
Viewing token consumption
This is not currently supported. The Coding Plan's quota consumption is based on the number of model calls, not on token consumption. You can view your usage information on the Coding Plan page.
Usage by specific model
This is not supported. The Coding Plan page only displays the overall consumption and remaining quota for the entire plan.
Annual subscription
Currently, the Coding Plan is only available as a monthly subscription. An annual plan is not yet available.
Auto-renewal failure
This may be due to the following reasons:
Setting not yet in effect: Auto-renewal takes effect the day after you enable it, not immediately.
Insufficient funds: Auto-renewal charges are deducted from the payment methods linked to your account. Please ensure your payment methods are valid and have sufficient funds.
Renewal after expiration
No, renewal is not supported after the subscription has expired.
Duplicate renewal error
Cause: You have already renewed your subscription for the next month, and renewing for additional months is not supported.
Early renewal service period
When you purchase a one-month plan, the subscription duration is calculated by calendar month. The plan becomes active upon purchase and expires at 23:59:59 (UTC+8) on the corresponding day of the following month. If the next month does not have a corresponding day, it expires at 23:59:59 (UTC+8) on the last day of that month. If you renew early, the new period extends from the original expiration date.
For example:
An initial subscription on March 15 at 10:00 expires on April 15 at 23:59:59.
If you renew for one month on April 10, the new expiration date extends to May 15 at 23:59:59.
Using coupons for renewal
Yes, you can use general-purpose coupons.
Subscription renewal
You can renew the Pro plan on the Coding Plan page or the Renewal page. For information about the discontinuation of renewals for the Lite Basic plan, see the Announcement.
Product features
Supported models
Both the Lite and Pro plans support all models included in the plan (including Qwen, GLM, Kimi, and MiniMax). For a complete list of models, see the Coding Plan Overview.
Model list updates
The list of supported models is updated periodically. For the current list, refer to the Coding Plan Overview page.
Subscription limit
Each Model Studio account can subscribe to only one Coding Plan at a time (regardless of whether it is the Lite or Pro plan).
Can you use models not on the list of supported models ?
The Coding Plan only supports models on the list of supported models. Using any other model results in an error.
Response speed of Lite and Pro plans
The Lite and Pro plans offer the same response speed because they use the same model resources and inference service.
Lite plan renewal and upgrade
Effective April 13, 2026, the Lite plan will no longer be available for renewal and cannot be upgraded to the Pro plan. For details, see the announcement.
If you have a Lite plan, you can use it until it expires.
If you have enabled auto-renewal for your Lite plan, the system will automatically deactivate it 30 days after the announcement date. You can continue to use the plan until the current service period ends.
Thank you for your understanding and support of Alibaba Cloud Model Studio.
Downgrading to the Lite plan
No, downgrading is not supported.
Concurrency limit
Yes, the Coding Plan has a concurrency limit. The platform dynamically adjusts this limit based on the overall resource load to prevent overload during peak hours and ensure a stable response speed and inference quality for each agent. If you reach the concurrency limit, wait a few moments and retry.
Multi-user support
The Coding Plan API key is for personal use only and must not be shared. If the system detects that your API key has been publicly exposed, it may be automatically disabled.
Sharing a Pro plan
No. Keep your API key secure. Do not share it with others or expose it in client-side code. If the system detects that your API key has been publicly exposed, it may be automatically disabled.
Model context windows and overflow handling
| Model name | Context window (tokens) |
|---|
| Model name | Context window (tokens) |
|---|---|
| qwen3.7-plus | 1,000,000 |
| qwen3.6-plus | 1,000,000 |
| qwen3.5-plus | 1,000,000 |
| kimi-k2.5 | 262,144 |
| glm-5 | 202,752 |
| MiniMax-M2.5 | 196,608 |
| qwen3-max-2026-01-23 | 262,144 |
| qwen3-coder-next | 262,144 |
| qwen3-coder-plus | 1,000,000 |
| glm-4.7 | 202,752 |
If you encounter an error for exceeding the context window, we recommend starting a new session. You can also use the following methods to avoid this issue:
Switch models: Switch to a model that supports a larger context window, such as qwen3.7-plus, qwen3.6-plus, qwen3.5-plus, or qwen3-coder-plus.
Reduce irrelevant files: We recommend starting your AI coding tool in the specific project directory and keeping only necessary project files.
Break down tasks: Split complex tasks into smaller subtasks and ask about them individually to reduce the context used in a single request.
Provide precise instructions: Vague requests can trigger unnecessary file scanning. Use clear and specific questions or instructions when using an AI coding tool.
Specific operations vary by tool. For details, refer to Connect to Clients/Development Tools.
Resetting the API key
On the Coding Plan page Coding Plan page, click the Reset button next to your Coding Plan API key.
Note
After resetting your API key, you must update it in all the tools where it is used. Otherwise, these tools will stop working.
If a Coding Plan expires and is not renewed, is the API Key reset upon reactivation?
Yes, it will be reset. If you renew before the expiration date, your API key will not be reset.
Expiration reminders
Yes. The system sends renewal reminders 7, 3, and 1 day before your subscription expires via in-site messages, emails, SMS, and automated voice calls.
Configuring expiration notifications
This is not supported. The system automatically sends expiration reminders 7, 3, and 1 day before your subscription expires via in-site messages, emails, SMS, and automated voice calls. Manual subscription is not required.
Multiple API keys
No. Currently, only one API key is supported per Coding Plan subscription.
IP allowlist support
No. If your API key is compromised, reset it on the Coding Plan page Coding Plan page.
RAM user access to API key
Please contact the Alibaba Cloud account owner or a RAM user with administrative permissions to add the Subscription Plans permission to your account.
Using with VSCode
Use a VS Code extension that supports OpenAI- or Anthropic-compatible APIs, such as Qwen Code or Claude Code.
Model quantization
The models in the Coding Plan, such as glm-5 and qwen3.5-plus, are full-featured versions that have not been subject to quantization or feature reduction.
Coding Plan vs. AI General-purpose Savings Plan
| Feature | Coding Plan | AI General-purpose Savings Plan |
|---|
| Feature | Coding Plan | AI General-purpose Savings Plan |
|---|---|---|
| Use case | For AI coding tools (such as Claude Code, OpenClaw, etc.) | To offset pay-as-you-go fees for general-purpose Model Studio API calls |
| API key format | sk-sp-xxx (Plan-specific key) | sk-xxx (General-purpose Model Studio key) |
| Base URL domain | coding-intl.dashscope.aliyuncs.com | dashscope-intl.aliyuncs.com |
| Billing method | Monthly subscription | Billed based on token usage |
| Applicable scenarios | Interactive AI programming | API calls and application development |
Resolving data_inspection_failed error
See the Error Codes documentation.
Using with Dify
Using the Coding Plan in Dify is not recommended. The Coding Plan is intended only for AI coding tools, such as Claude Code and Qwen Code. Do not use the plan's API key for automated scripts, custom application backends, or any non-interactive, batch-calling scenarios. Such use violates the terms of service and may result in the suspension of your subscription or the disabling of your API key.
Using the Coding Plan in Postman
This is not recommended. The Coding Plan is intended only for AI coding tools, such as Claude Code and Qwen Code. Do not use the plan's API key for automated scripts, custom application backends, or any non-interactive, batch-calling scenarios. Such use violates the terms of service and may result in the suspension of your subscription or the disabling of your API key.
Previous: Add visual understanding capabilitiesNext: Text generation
Is this page helpful?
Connection and configuration issues
Common errors and solutions
Claude Code: "Switched to native installer" message
Claude Code: "Unable to connect" error
OpenCode: "Request entity too large" error
OpenCode: "thinking_budget" parameter error
OpenCode: "max_tokens" range error
Do Coding Plan models support thinking mode?
OpenClaw: Call records for unconfigured models
OpenClaw: Chat unresponsive after connecting
OpenClaw: "OAuth token refresh failed" error
OpenClaw: "Unknown model" error
What is qwen-portal/coder-model?
OpenClaw: "No API key found" error
OpenClaw: "API rate limit reached" error
OpenClaw: "Failed to discover" error on startup
OpenClaw: "auth.profiles" error
"HTTP 401: Incorrect API key provided" error
"Authentication failed" error with ModelScope token
"Only available for Coding Agents" error
Billing and quota issues
Unexpected charges with a Coding Plan
Quota exhaustion
Auto-switch to pay-as-you-go
Free trial and Coding Plan
Subscription period calculation
Viewing token consumption
Usage by specific model
Annual subscription
Auto-renewal failure
Renewal after expiration
Duplicate renewal error
Early renewal service period
Using coupons for renewal
Subscription renewal
Product features
Supported models
Model list updates
Subscription limit
Can you use models not onthe list of supported models?
Response speed of Lite and Pro plans
Lite plan renewal and upgrade
Downgrading to the Lite plan
Concurrency limit
Multi-user support
Sharing a Pro plan
Model context windows and overflow handling
Resetting the API key
If a Coding Plan expires and is not renewed, is the API Key reset upon reactivation?
Expiration reminders
Configuring expiration notifications
Multiple API keys
IP allowlist support
RAM user access to API key
Using with VSCode
Model quantization
Coding Plan vs. AI General-purpose Savings Plan
Resolving data_inspection_failed error
Using with Dify
Using the Coding Plan in Postman
Contact Us
Sales Support
Live-chat with our sales team or get in touch with a business development professional in your region.
Contact Sales
Technical Support
Open a ticket and get quick help from our technical team.
Open a Ticket >
Connect & Report Abuse
We look forward to your suggestion.
Post a Suggestion > Report Abuse >
\ \ Hi, I'm Alibaba Cloud AI Assistant!\ \ I can help with questions and solutions.
Why Alibaba Cloud
About Alibaba Cloud
Asia Accelerator
Our Global Network
Global Offices
Trust Center
Case Studies
Analyst Reports
Products & Pricings
Pricing Calculator
ECS
SAS
Model Studio
Database
Security
SMS
Solutions
Financial Services
Retail Services
Media Services
Gaming Services
ISV Solutions
Engage
Developer Community
Partner Network
Startups
Marketplace
Join Alibaba Cloud
Resources & Support
Developer Learning Hub
Documentation Center
Training & Certification
Service Notices
Submit a Ticket
Security Report
Qwen Cloud
Careers About Us Privacy Policy Legal Integrity Compliance Reporting Channel Service Notices Links
© 2009-2026 Copyright by Alibaba Cloud All rights reserved
- YouTube
- TikTok
- contact.us@alibabacloud.com
- Call Us Now
- Discord
© 2009-2026 Copyright by Alibaba Cloud All rights reserved
Careers About Us Privacy Policy Legal Integrity Compliance Reporting Channel Service Notices Links