Skip to main content
Leverage DashScope’s powerful command models and more. DashScope supports a wide range of models We recommend experimenting to find the best-suited model for your use-case. Here are some general recommendations:
  • qwen-plus model is good for most use-cases.

Authentication

Set your DASHSCOPE_API_KEY environment variable. Get your key from here.

Example

Use DashScope with your Agent:
View more examples here.

Parameters

DashScope extends the OpenAI-compatible interface and supports most parameters from the OpenAI model.

Thinking Models

DashScope supports reasoning models with thinking capabilities: