The Base URL is the endpoint for calling model APIs. A Base URL must be used together with an API Key from the same billing plan; otherwise, a 401 error occurs. API Keys are independent across regions and cannot be used across regions.
Pay-as-you-go
Choose a domain that fits your use case:
DashScope domain (such as
dashscope.aliyuncs.com): the existing centralized shared domain. It remains available, but migrating to a workspace-dedicated domain is recommended.Workspace-dedicated domain (
[workspace-id].[region].maas.aliyuncs.com): recommended for production. It provides higher throughput, lower latency, and workspace-level traffic isolation.Trial domain (
trial.[region].maas.aliyuncs.com): for temporary testing and quick validation, with lower rate limits.
DashScope Domain
An API Key from any workspace in the same region can call this domain.
Region | OpenAI-compatible | Anthropic-compatible |
China (Beijing) |
|
|
Singapore |
|
|
US (Virginia) |
|
|
China (Hong Kong) |
|
|
Workspace-dedicated Domain
Only an API Key that belongs to the workspace can call this domain.
Region | OpenAI-compatible | Anthropic-compatible |
China (Beijing) |
|
|
Singapore |
|
|
Japan (Tokyo) |
|
|
Germany (Frankfurt) |
|
|
China (Hong Kong) |
|
|
Trial Domain
An API Key from any workspace in the same region can call this domain.
Region | OpenAI-compatible | Anthropic-compatible |
China (Beijing) |
|
|
Singapore |
|
|
China (Hong Kong) |
|
|
Token Plan
For interactive use in AI coding tools such as Claude Code and Codex only; not for backend services. Use the dedicated API Key of the Token Plan.
Region | OpenAI-compatible | Anthropic-compatible |
Singapore |
|
|
Coding Plan
For interactive use in AI coding tools such as Claude Code and Codex only; not for backend services. Use the dedicated API Key of the Coding Plan.
Region | OpenAI-compatible | Anthropic-compatible |
Singapore |
|
|