bash# Install via pip
pip install dashscope
# Run a chat completion
python -c "
from dashscope import Generation
resp = Generation.call(model='qwen-max', prompt='Hello!')
print(resp.output.text)
"modelsVisit Site ↗
Qwen Max
Alibaba's top-tier model excelling in Chinese language tasks, coding, and mathematical reasoning.
Pricing
$2.8
Input ($/million tokens)
$11.2
Output ($/million tokens)