BIFROST
Dashboard
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

TextToolsStreamingLong 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

  1. Create an account at dashscope.aliyun.com
  2. Navigate to API Keys in the DashScope console
  3. Generate a new API key
  4. Set the QWEN_API_KEY or DASHSCOPE_API_KEY environment variable
  5. Configure the provider in the Bifröst dashboard
← Previous
HuggingFace
Next →
Zhipu AI