Alibaba Cloud
Alibaba Cloud serves 33 models on LLM API: 21 text models, 6 image models and 6 video models from Alibaba, DeepSeek, Moonshot AI and 1 other lab.
Models and prices
Prices when Alibaba Cloud serves the request. A struck-through price is the one before the discount.
No Alibaba Cloud model matches your search.
Text 21
Prices per 1M tokens
alibaba/deepseek-v4.1-flash-1017 | $0.15 | $0.6 | $0.015 | 1M |
|---|---|---|---|---|
alibaba/kimi-k3 | $2.85 | $14.25 | $0.285 | 1.05M |
alibaba/qwen3.8-max | $1.7 | $5.1 | $0.1445 | 1M |
alibaba/glm-5.3 | $0.98 | $3.08 | $0.196 | 1M |
alibaba/deepseek/deepseek-v4.1-flash | $0.15 | $0.6 | $0.015 | 1M |
alibaba/qwen/qwen3.8-27b | $0.35 | $2.1 | $0.0139 | 262K |
alibaba/deepseek-v4-flash-0731 | $0.154 | $0.462 | $0.0154 | 1M |
alibaba/kimi-k2.7-code | $0.95 | $3.9995 | $0.1608 | 262K |
alibaba/qwen3.7-max | $0.3 | $1.8 | — | 1M |
alibaba/qwen3.7-plus | $0.3 | $1.8 | $0.03 | 1M |
alibaba/qwen3.6-plus | $0.3 | $1.8 | $0.03 | 1.05M |
alibaba/qwen3-max | $3 | $15 | $0.6 | 262K |
alibaba/qwen3-coder-flash | $0.3 | $1.5 | $0.06 | 1M |
alibaba/qwen3-vl-plus | $0.2 | $1.6 | $0.04 | 262K |
alibaba/qwen-flash | $0.05 | $0.4 | $0.01 | 1M |
alibaba/qwen-plus | $0.4 | $1.2 | $0.08 | 131K |
alibaba/qwen-max | $1.6 | $6.4 | — | 131K |
alibaba/qwen-plus-latest | $0.4 | $1.2 | $0.08 | 1M |
alibaba/qwen/qwen3.8-flash | $0.0961 | $0.3247 | — | 1M |
alibaba/qwen/qwen3.8-max-0902 | $1.4025 | $4.2083 | — | 1M |
alibaba/qwen/qwen3.8-omni-flash | $0.3655 | $1.411 | — | 1M |
Image 6
Price per image
alibaba/qwen-image-max-2025-12-30 | $0.0375 | Generate |
|---|---|---|
alibaba/qwen-image | $0.035/ image | Generate |
alibaba/qwen-image-edit-max | $0.04 | Generate, Edit |
alibaba/qwen-image-edit-plus | $0.02 | Generate, Edit |
alibaba/qwen-image-max | $0.0375 | Generate |
alibaba/qwen-image-plus | $0.03/ image | Generate |
Video 6
Price per second of video; a range covers its resolutions
happyhorse-1.1-r2v | $0.056–0.072 | Reference | 720p–1080p |
|---|---|---|---|
happyhorse-1.1-t2v | $0.056–0.072 | Text | 720p–1080p |
happyhorse-1.0-video-edit | $0.084–0.144 | Video edit | 720p–1080p |
happyhorse-1.1-i2v | $0.056–0.072 | Image | 720p–1080p |
wan3.0-video | $0.05–0.2 | Text, Image, Reference | 480p–1080p |
wan3.0-video-prime | $0.068–0.28 | Text, Image, Reference | 480p–1080p |
Send requests to Alibaba Cloud
Put alibaba/ before a model ID and the request goes to Alibaba Cloud. If Alibaba Cloud’s uptime over the last 5 minutes is below 90%, it goes to another provider of the model, unless it sends X-No-Fallback: true. Routing docs
Example: DeepSeek V4.1 Flash 1017
POST /v1/chat/completionsSet LLMAPI_KEY to your LLM API key.Chat Completions docs
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.llmapi.ai/v1",
api_key=os.environ["LLMAPI_KEY"],
)
response = client.chat.completions.create(
model="alibaba/deepseek-v4.1-flash-1017",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.llmapi.ai/v1",
apiKey: process.env.LLMAPI_KEY,
});
const response = await client.chat.completions.create({
model: "alibaba/deepseek-v4.1-flash-1017",
messages: [{ role: "user", content: "Hello" }],
});
console.log(response.choices[0].message.content);curl https://api.llmapi.ai/v1/chat/completions \
-H "Authorization: Bearer $LLMAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "alibaba/deepseek-v4.1-flash-1017",
"messages": [{"role": "user", "content": "Hello"}]
}'Prices synced November 13, 2026.