Operational
Alibaba / Qwen
Qwen models via Alibaba DashScope API.
Pricing
qwen-turbo has a free tier. qwen-plus and qwen-max are pay-as-you-go.
Models
qwen-turbo
qwen-plus
qwen-max
Capabilities
✓ Text✓ Tools✓ Streaming✓ Long Context
Base URL
https://dashscope.aliyuncs.com/compatible-mode/v1
Configuration
Environment variable: QWEN_API_KEY=... or DASHSCOPE_API_KEY=... Or configure via dashboard: Dashboard → Provider Keys → Add Key → qwen
Example
curl https://api.bifrost.dev/v1/chat/completions \
-H "Authorization: Bearer $BIFROST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-turbo",
"messages": [{"role": "user", "content": "Hello"}]
}'Setup
- Create an account at dashscope.aliyun.com
- Navigate to API Keys in the DashScope console
- Generate a new API key
- Set the
QWEN_API_KEYorDASHSCOPE_API_KEYenvironment variable - Configure the provider in the Bifröst dashboard