All Products
Search
Document Center

Alibaba Cloud Model Studio:Base URL Overview

Last Updated:Jun 30, 2026

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)

https://dashscope.aliyuncs.com/compatible-mode/v1

https://dashscope.aliyuncs.com/apps/anthropic

Singapore

https://dashscope-intl.aliyuncs.com/compatible-mode/v1

https://dashscope-intl.aliyuncs.com/apps/anthropic

US (Virginia)

https://dashscope-us.aliyuncs.com/compatible-mode/v1

https://dashscope-us.aliyuncs.com/apps/anthropic

China (Hong Kong)

https://cn-hongkong.dashscope.aliyuncs.com/compatible-mode/v1

https://cn-hongkong.dashscope.aliyuncs.com/apps/anthropic

Workspace-dedicated Domain

Only an API Key that belongs to the workspace can call this domain.

Region

OpenAI-compatible

Anthropic-compatible

China (Beijing)

https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/compatible-mode/v1

https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/apps/anthropic

Singapore

https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1

https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/apps/anthropic

Japan (Tokyo)

https://{WorkspaceId}.ap-northeast-1.maas.aliyuncs.com/compatible-mode/v1

https://{WorkspaceId}.ap-northeast-1.maas.aliyuncs.com/apps/anthropic

Germany (Frankfurt)

https://{WorkspaceId}.eu-central-1.maas.aliyuncs.com/compatible-mode/v1

https://{WorkspaceId}.eu-central-1.maas.aliyuncs.com/apps/anthropic

China (Hong Kong)

https://{WorkspaceId}.cn-hongkong.maas.aliyuncs.com/compatible-mode/v1

https://{WorkspaceId}.cn-hongkong.maas.aliyuncs.com/apps/anthropic

Trial Domain

An API Key from any workspace in the same region can call this domain.

Region

OpenAI-compatible

Anthropic-compatible

China (Beijing)

https://trial.cn-beijing.maas.aliyuncs.com/compatible-mode/v1

https://trial.cn-beijing.maas.aliyuncs.com/apps/anthropic

Singapore

https://trial.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1

https://trial.ap-southeast-1.maas.aliyuncs.com/apps/anthropic

China (Hong Kong)

https://trial.cn-hongkong.maas.aliyuncs.com/compatible-mode/v1

https://trial.cn-hongkong.maas.aliyuncs.com/apps/anthropic

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

https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1

https://token-plan.ap-southeast-1.maas.aliyuncs.com/apps/anthropic

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

https://coding-intl.dashscope.aliyuncs.com/v1

https://coding-intl.dashscope.aliyuncs.com/apps/anthropic

References