Free Alibaba Cloud Bailian API: limits, models & how to get a key
Typically 1M free tokens per model for 90 days (Beijing region, real-name required)
- Credit card
- No card
- From China
- No VPN
- OpenAI
- OpenAI-compatible
- Real-name check
- Real-name check
- Free allowance type
- One-time trial
- Checked
- verified on 2026-11-24 (official)
WebsiteSign upDocsPricing page
Limits
| Quota per model | Usually 1,000,000 tokens; not mergeable across models; input and output share it |
|---|---|
| Validity | 90 days from the later of account activation, model release or approval |
| Region | Only 华北2 (Beijing) models get free quota |
| When used up | Does NOT stop by default; enable the "stop when free quota is used up" switch (then HTTP 403 AllocationQuota.FreeTierOnly) |
Free models
No free model ids were recorded for this check.
How to get a key
- Create an Alibaba Cloud account and complete real-name verification (no quota is issued without it).
- Open the Model Studio console in the Beijing region and create an API key.
- Turn on the "stop when free quota is used up" switch before calling anything.
- Call the OpenAI-compatible endpoint with a model that still shows free quota.
Call it
OpenAI-compatible base URL from this provider’s record: https://dashscope.aliyuncs.com/compatible-mode/v1. Replace YOUR_API_KEY with a key from that provider. The model id is one listed as free.
curl
curl https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"MODEL_ID","messages":[{"role":"user","content":"Hello"}]}'Python
from openai import OpenAI
client = OpenAI(
base_url="https://dashscope.aliyuncs.com/compatible-mode/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="MODEL_ID",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Notes
- Some models (e.g. qwen3-max, qwen-max-0403) are listed as removed from the new-user free quota; check the console free-quota page for the current list, which is why no model list is given here.
- Batch calls, fine-tuning, deployment and custom models do not use the free quota.
- Newer docs use a per-workspace base URL https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/compatible-mode/v1; the dashscope.aliyuncs.com address is still shown in other pages.
- Requires an Alibaba Cloud account with real-name verification (mainland identity); overseas users usually cannot complete it.
Sources and check date
Checked on the provider’s own page on 2026-11-24.
Similar providers
- Zhipu BigModel (Z.ai) — GLM-4.7-Flash and several other Flash models are priced at 0 with no token cap
- SiliconFlow — Models marked free on the pricing page cost 0; real-name users can also claim a 16 CNY voucher
- ModelScope — Up to 2,000 free API calls per day per account, at most 200 per model
- iFlytek Spark Lite — Spark Lite is officially free to use (claim the free quota on the product page)
Questions
- Is the Alibaba Cloud Bailian API free?
- Typically 1M free tokens per model for 90 days (Beijing region, real-name required)
- Does Alibaba Cloud Bailian require a credit card?
- Our check marked Alibaba Cloud Bailian as not requiring a credit card for the free allowance.
- Can I reach Alibaba Cloud Bailian from China without a VPN?
- Our check marked Alibaba Cloud Bailian as reachable from China without a VPN.
- Is the Alibaba Cloud Bailian API OpenAI-compatible?
- Yes. The recorded base URL is https://dashscope.aliyuncs.com/compatible-mode/v1.
- When was the Alibaba Cloud Bailian free tier checked?
- We checked Alibaba Cloud Bailian on the provider’s own page on 2026-11-24.
Get an email when a free tier changes
Leave an address. We mail it when a free allowance on this list changes.