LLM API
Model provider33 models4 labsPrivacy policy

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.

Text 21

Prices per 1M tokens

Text models on Alibaba Cloud and their prices on LLM API
DeepSeekDeepSeek V4.1 Flash 1017alibaba/deepseek-v4.1-flash-1017$0.15$0.6$0.0151M
Moonshot AIKimi K3−5% discountalibaba/kimi-k3$2.85before discount $3$14.25before discount $15$0.285before discount $0.31.05M
AlibabaQwen 3.8 Max−15% discountalibaba/qwen3.8-max$1.7before discount $2$5.1before discount $6$0.1445before discount $0.171M
Z.aiGLM-5.3−30% discountalibaba/glm-5.3$0.98before discount $1.4$3.08before discount $4.4$0.196before discount $0.281M
DeepSeekDeepSeek V4.1 Flashalibaba/deepseek/deepseek-v4.1-flash$0.15$0.6$0.0151M
AlibabaQwen3.8 27B−30% discountalibaba/qwen/qwen3.8-27b$0.35before discount $0.5$2.1before discount $3$0.0139before discount $0.0199262K
DeepSeekDeepSeek V4 Flash 0731−30% discountalibaba/deepseek-v4-flash-0731$0.154before discount $0.22$0.462before discount $0.66$0.0154before discount $0.0221M
Moonshot AIKimi K2.7-Codealibaba/kimi-k2.7-code$0.95$3.9995$0.1608before discount $0.1608262K
AlibabaQwen3.7 Max−40% discountalibaba/qwen3.7-max$0.3before discount $0.5$1.8before discount $3—1M
AlibabaQwen 3.7 Plus−40% discountalibaba/qwen3.7-plus$0.3before discount $0.5$1.8before discount $3$0.03before discount $0.051M
AlibabaQwen 3.6 Plus−40% discountalibaba/qwen3.6-plus$0.3before discount $0.5$1.8before discount $3$0.03before discount $0.051.05M
AlibabaQwen3 Maxalibaba/qwen3-max$3$15$0.6262K
AlibabaQwen3 Coder Flashalibaba/qwen3-coder-flash$0.3$1.5$0.061M
AlibabaQwen3 VL Plusalibaba/qwen3-vl-plus$0.2$1.6$0.04262K
AlibabaQwen Flashalibaba/qwen-flash$0.05$0.4$0.011M
AlibabaQwen Plusalibaba/qwen-plus$0.4$1.2$0.08131K
AlibabaQwen Maxalibaba/qwen-max$1.6$6.4—131K
AlibabaQwen Plus Latestalibaba/qwen-plus-latest$0.4$1.2$0.081M
AlibabaQwen 3.8 Flash−15% discountalibaba/qwen/qwen3.8-flash$0.0961before discount $0.113$0.3247before discount $0.382—1M
AlibabaQwen 3.8 Max 0902−15% discountalibaba/qwen/qwen3.8-max-0902$1.4025before discount $1.65$4.2083before discount $4.951—1M
AlibabaQwen 3.8 Omni Flash−15% discountalibaba/qwen/qwen3.8-omni-flash$0.3655before discount $0.43$1.411before discount $1.66—1M

Image 6

Price per image

Image models on Alibaba Cloud and their prices on LLM API
AlibabaQwen Image Max 2025-12-30−50% discountalibaba/qwen-image-max-2025-12-30$0.0375before discount $0.075/ imageGenerate
AlibabaQwen Imagealibaba/qwen-image$0.035/ imageGenerate
AlibabaQwen Image Edit Max−50% discountalibaba/qwen-image-edit-max$0.04before discount $0.08/ imageGenerate, Edit
AlibabaQwen Image Edit Plus−50% discountalibaba/qwen-image-edit-plus$0.02before discount $0.04/ imageGenerate, Edit
AlibabaQwen Image Max−50% discountalibaba/qwen-image-max$0.0375before discount $0.075/ imageGenerate
AlibabaQwen Image Plusalibaba/qwen-image-plus$0.03/ imageGenerate

Video 6

Price per second of video; a range covers its resolutions

Video models on Alibaba Cloud and their prices on LLM API
AlibabaHappyHorse 1.1 Reference-to-Video−60% discounthappyhorse-1.1-r2v$0.056–0.072before discount $0.14–0.18Reference720p–1080p
AlibabaHappyHorse 1.1 Text-to-Video−60% discounthappyhorse-1.1-t2v$0.056–0.072before discount $0.14–0.18Text720p–1080p
AlibabaHappyHorse-1.0-Video-Edit−40% discounthappyhorse-1.0-video-edit$0.084–0.144before discount $0.14–0.24Video edit720p–1080p
AlibabaHappyHorse-1.1-I2V−60% discounthappyhorse-1.1-i2v$0.056–0.072before discount $0.14–0.18Image720p–1080p
Alibabawan3.0-videowan3.0-video$0.05–0.2Text, Image, Reference480p–1080p
Alibabawan3.0-video-primewan3.0-video-prime$0.068–0.28Text, Image, Reference480p–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)

Prices synced November 13, 2026.

You've been invited to LLM API

Top up $50 or more and the friend who invited you gets $20 in credits. We pay the $20; your credits stay yours. Referral terms

Sign up