Qwen API

Alibaba's Qwen 3.8 Max and Qwen 3.5 397B through one key, billed per token from prepaid credit. No Alibaba Cloud account required.

Qwen (Alibaba) models and pricing

ModelContextInput / 1MOutput / 1MCached / 1M
Qwen 3.8 Max
qwen/qwen3.8-max
1M $2.60$7.80$0.26
Qwen 3.5 397B A17B
qwen/qwen3.5-397b-a17b
131K $0.71$4.55$0.14
Qwen3 Embedding 0.6B
qwen/qwen3-embedding-0.6b · embeddings
— $0.052——
Qwen3 TTS (voice design)
qwen/qwen3-tts · speech
— $0.026 / 1K characters

USD per million tokens. Billed from prepaid credit; every response reports its exact cost.

Quick start

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

Works with LangChain, Cline, Continue, Open WebUI and any tool that lets you set a base URL: use https://solorouter.ai/api/v1. See the docs.

Frequently asked questions

How do I use the Qwen API?

Sign in, create a key and call qwen/qwen3.8-max or qwen/qwen3.5-397b-a17b with the standard chat-completions request.

How much does the Qwen API cost?

Per-token prices are in the table above. Qwen 3.5 397B is the budget option; Qwen 3.8 Max is the flagship.

Get your API key in 30 seconds

Sign in with Google. New accounts get free credit to try any model.

Get started free

Also on Solo Router: DeepSeek API · Kimi API · GLM API · MiniMax API · Llama API · Gemma API · all models