inference-providers

Alibaba Model Studio (DashScope)

first_party

DocsConsole

Getting credentials

api-key

api_key via header (header Authorization: Bearer)

Key prefix: sk-

Environment: DASHSCOPE_API_KEY

Model Studio console → API Keys. Keys are region-bound: international dashscope-intl vs China dashscope endpoints.

Credentials docs

Endpoints

IDURLProtocolAuth
compatible-mode-chathttps://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completionsopenai-chatany
anthropichttps://dashscope-intl.aliyuncs.com/apps/anthropicanthropic-messagesany

API surfaces

textstreamingembeddingsbatch

Quirks

Models offered

ModelWire IDEndpointStatusReasoning
alibaba/qwen3-7-plusqwen3.7-plusanthropicgatoggle · default on · returns reasoning_content · round-trips reasoning_content
alibaba/qwen3-7-plusqwen3.7-pluscompatible-mode-chatgatoggle · default on · returns reasoning_content · round-trips reasoning_content
alibaba/qwen3-8-maxqwen3.8-maxcompatible-mode-chatgatoggle · default on · returns reasoning_content · round-trips reasoning_content