All labs

Qwen API

Qwen and Wan models from Alibaba, through one OpenAI-compatible API.

Alibaba’s Qwen team builds the Qwen language and coding models and the Wan video models. UltraGPT gives you all of them behind one OpenAI-compatible endpoint, without an Alibaba Cloud account.

Models

12

From / 1M input

$0.15

Qwen3.8 Flash

Largest context

1M

Qwen3.8 Max

Alibaba models and prices

Chat and embedding prices are USD per 1M tokens: input / output.

ModelTypePrice
Qwen3.8 Maxqwen3.8-maxChat$2 / $6
Qwen3.8 Max Primeqwen3.8-max-primeChat$4 / $12
Qwen3.8 Flashqwen3.8-flashChat$0.15 / $0.47
Qwen 3.7 Maxqwen3.7-maxChat$1.475 / $4.425
Qwen3.6 Flashqwen3.6-flashChat$0.1875 / $1.125
Qwen3 Embedding 8Bqwen3-embedding-8bEmbeddings$0.01 / Free
Qwen3 Reranker 8Bqwen3-reranker-8bRerank$0.0005 / request
Wan 3.0wan-3-0Video$0.050 / sec
Wan 3.0 Primewan-3-0-primeVideo$0.068 / sec
Wan 2.7wan-2-7Video$0.100 / sec
Wan 2.6wan-2-6Video$0.100 / sec
Qwen Image 3qwen-image-3Images~$0.030 / image

Call Qwen3.8 Max in a few lines

Swap the model id for any model in the table above; nothing else changes.

curl https://api.ultragpt.pro/v1/chat/completions \
  -H "Authorization: Bearer $ULTRAGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.8-max",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Comparisons

FAQ

How do I get a Qwen API key?

Sign in to UltraGPT Developers, top up your balance and create an API key. The same key works for every Alibaba model and every other model on UltraGPT - no separate Alibaba account needed.

How much does the Qwen API cost on UltraGPT?

Chat models of Alibaba start at $0.15 per 1M input tokens (Qwen3.8 Flash). You pay per token from a prepaid balance, with no subscription; each model's page lists its exact input, cached-input and output prices.

Does it work with the official SDK?

UltraGPT is OpenAI-compatible: use the official OpenAI SDK (Python, Node.js) or any OpenAI-compatible tool with the base URL https://api.ultragpt.pro/v1 and the model id from the table.

Which Alibaba model has the largest context window?

Qwen3.8 Max (qwen3.8-max), with 1,000,000 tokens.

Quickstart → Use it in Cursor, Claude Code, Cline… → All models →