Alibaba Qwen (DashScope) logo

Alibaba Qwen (DashScope) Free API

alibabacloud.com

First-party Qwen models with a free token quota.

Free tier No credit card OpenAI-compatible Verified November 2026
Get your free Alibaba Qwen (DashScope) key

Opens Alibaba Qwen (DashScope)’s official key page. You create and own the key — FreeLLMKeys never sees or stores it.

Quick facts

Base URL
https://dashscope-intl.aliyuncs.com/compatible-mode/v1
Free access
Free token quota per model that activates when you first enable the service.
Rate limits
Free quota is a fixed token grant per model (e.g. ~1M tokens), then paid.
Credit card
Not required
OpenAI-compatible
Yes — reuse your OpenAI SDK
Free models
Qwen 3 Max, Qwen 3 235B, Qwen 3 Coder, Qwen 2.5 VL, QwQ 32B, Qwen Turbo

About Alibaba Qwen (DashScope)’s free API

DashScope (Alibaba Cloud Model Studio) is the first place the latest Qwen models land. Each model ships with a free token grant you can spend on evaluation.

Use the international endpoint (dashscope-intl …/compatible-mode/v1) for the OpenAI-compatible API outside mainland China. Qwen 3 Coder and Qwen VL are standouts for code and vision.

Best when you specifically want up-to-date, first-party Qwen rather than a third-party host.

How to get a free Alibaba Qwen (DashScope) API key

  1. 1Go to the official key page: https://bailian.console.alibabacloud.com/
  2. 2Create a free account — no credit card needed.
  3. 3Open the API keys section and generate a new key. Copy it somewhere safe.
  4. 4In your code, set the base URL to https://dashscope-intl.aliyuncs.com/compatible-mode/v1 and paste your key.
  5. 5Call a model such as qwen-plus using the examples below.

Code examples

Replace YOUR_ALIBABA_DASHSCOPE_KEY with the key you created.

Python
from openai import OpenAI

client = OpenAI(
    base_url="https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
    api_key="YOUR_ALIBABA_DASHSCOPE_KEY"
)

resp = client.chat.completions.create(
    model="qwen-plus",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(resp.choices[0].message.content)
JavaScript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
  apiKey: process.env.API_KEY, // your free Alibaba Qwen (DashScope) key
});

const resp = await client.chat.completions.create({
  model: "qwen-plus",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(resp.choices[0].message.content);
cURL
curl https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $API_KEY" \
  -d '{
    "model": "qwen-plus",
    "messages": [{"role":"user","content":"Hello!"}]
  }'

Pros & cons

Pros

  • First-party Qwen (latest versions first)
  • Strong coding + vision models
  • OpenAI-compatible (intl endpoint)
  • Free token grants

Cons

  • Console can be complex
  • Grants are one-time per model, not daily

Alibaba Qwen (DashScope) free API — FAQ

Is the Alibaba Qwen (DashScope) API really free?+

Yes. Alibaba Qwen (DashScope) offers free tier access: Free token quota per model that activates when you first enable the service. No credit card is required to start.

How do I get a free Alibaba Qwen (DashScope) API key?+

Create a free account at https://bailian.console.alibabacloud.com/, open the API keys section, generate a key, then set your base URL to https://dashscope-intl.aliyuncs.com/compatible-mode/v1 in your OpenAI-compatible code.

Which models does Alibaba Qwen (DashScope) offer for free?+

Qwen 3 Max, Qwen 3 235B, Qwen 3 Coder, Qwen 2.5 VL, QwQ 32B, Qwen Turbo.

What are the Alibaba Qwen (DashScope) free-tier rate limits?+

Free quota is a fixed token grant per model (e.g. ~1M tokens), then paid.

Is Alibaba Qwen (DashScope) OpenAI-compatible?+

Yes. Alibaba Qwen (DashScope) exposes an OpenAI Chat Completions compatible endpoint, so you can reuse your existing OpenAI SDK code and only change the base URL and API key.

Popular free models on Alibaba Qwen (DashScope)

Related free LLM APIs