Skip to content

Providers / Qwen (Alibaba)

Qwen (Alibaba)

Qwen is the model family made by Alibaba. It is one of the widest ranges any lab offers: API-only tiers named Max, Plus and Flash, open-weight models in many sizes, a Coder line for programming, and vision (VL) and Omni models. Alibaba sells API access through Alibaba Cloud. The newest text models are Qwen3.8 Max, Qwen3.8 Flash and Qwen3.7 Plus.

Models

USD per 1M tokens · prices as of 2026-11-21

ModelBest forInputOutputContext
Qwen3.6 PlusCoding agents with front-end work and OCR$0.3037$1.8221250K
Qwen3.7 MaxLong agent runs, office and productivity work$1.5184$4.5553256K
Qwen3.7 PlusEveryday coding-agent work · Prompts with images$0.3037$1.2148250K
Qwen3.8 FlashHigh-volume, simple tasks · Prompts with images$0.1721$0.5808256K
Qwen3.8 MaxHard coding and agent tasks · Prompts with images$2.5813$7.7440256K

Which model for which job

JobUseInput / output per 1MWhy
Hard coding and agent tasksQwen3.8 Max$2.5813 / $7.7440Top tier, reasoning always on
Long agent runs, office and productivity workQwen3.7 Max$1.5184 / $4.5553Alibaba lists agent work and long-running autonomous tasks as its strengths
Everyday coding-agent workQwen3.7 Plus$0.3037 / $1.2148Mid price; you can switch reasoning off for simple steps
High-volume, simple tasksQwen3.8 Flash$0.1721 / $0.5808Fast, low-cost model with optional reasoning
Coding agents with front-end work and OCRQwen3.6 Plus$0.3037 / $1.8221Older mid-range model; pick it if your prompts are tuned to it
Prompts with imagesQwen3.7 PlusQwen3.8 FlashQwen3.8 Max$0.3037 / $1.2148$0.1721 / $0.5808$2.5813 / $7.7440All accept image input

Data handling

What Alibaba Cloud publishes

What Yunshu does

Pricing notes

Use it in your coding tool

Paste these settings to use Qwen3.6 Plus. Swap in any Qwen model ID from the table above.

export ANTHROPIC_BASE_URL=https://api.yunshurouter.com
export ANTHROPIC_AUTH_TOKEN=YOUR_YUNSHU_KEY
export ANTHROPIC_MODEL=qwen3.6-plus
export CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1

Run these in your shell before starting Claude Code, or put them in ~/.claude/settings.json (see the guide). No /v1 in the address: Claude Code adds it. The last line stops Claude Code sending fields only Anthropic models accept. Full guide →

Questions

Can I use the Qwen API without an Alibaba Cloud account?
Is Qwen3.8 Max good for coding?
What is the difference between Qwen Max, Plus and Flash?
How do I use prompt caching with Qwen?
Does Alibaba train on my prompts?