阿里云百炼

阿里云百炼 Free Tier · Qwen4 Max —— High-Speed Dialogue

🟢 121ms Official 0-Cost · Daily refreshed 📏 32k 30 RPM

🛡️ 🛡️ Free Tier Policy & Rate Limits

Independent Model Trial Pack No Credit Card Identity Verified Daily Replenish Agent Ready
Context Window 32k
Rate Limit RPM 30 RPM
Daily Quota & Reset 1000 RPD · 180 Days Validity · One-time
Auth & Card Requirement No Card Needed
Supported Capabilities:
📝 Text Generation

📋 Core Endpoint & Model Parameters

OpenAI API Compatible
Base URL
https://dashscope.aliyuncs.com/compatible-mode/v1
Model ID
qwen4-max
🟢 [No Card Required] Register a standard account to generate an API key on the platform
👉 Get 阿里云百炼 Key

💡 Caveats & Rate Limits

🎯 Official 0-Cost Tier · 32k Context · High performance & low latency

📋 Free Tier Quota Rules and Constraints

  • 1,000,000 tokens granted separately for each Qwen model
  • Valid for 180 days with full agent workflow capabilities
  • Direct mainland connection with enterprise-grade SLA

🛡️ Zero-Billing Protection and Risk Prevention

Turns to pay-as-you-go after 180 days or quota depletion. Enable quota pause in console.

Quick Integration Code and Client Setup

🍒 Connect Cherry Studio
curl https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "qwen4-max",
    "messages": [{"role": "user", "content": "Hello!"}],
    "stream": true
  }'
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="qwen4-max",
    messages=[{"role": "user", "content": "Hello!"}],
    stream=True
)

for chunk in response:
    content = chunk.choices[0].delta.content or ""
    print(content, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://dashscope.aliyuncs.com/compatible-mode/v1",
  apiKey: "YOUR_API_KEY"
});

const stream = await client.chat.completions.create({
  model: "qwen4-max",
  messages: [{ role: "user", content: "Hello!" }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content || "");
}
{
  "apiProvider": "openai",
  "openAiBaseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
  "openAiApiKey": "YOUR_API_KEY",
  "openAiModelId": "qwen4-max"
}
✓ ✓ Copied