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.715$4.55$0.144
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.

How to get your Qwen API key

  1. Sign in with Google. New accounts get free credit (one per person).
  2. Copy the API key created for you on the Keys page, or create one with its own spending limit.
  3. Send requests to https://solorouter.ai/api/v1/chat/completions with "model": "qwen/qwen3.8-max". Top up from $5 when you need more.

Why use Qwen (Alibaba) through Solo Router

Related guides

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.

Do I need an Alibaba Cloud account?

No. Your Solo Router key works for every Qwen model, billed from one prepaid balance.

What context length does Qwen support?

Qwen 3.8 Max supports up to 1M tokens and Qwen 3.5 397B up to 131K tokens on Solo Router.

Get your API key in 30 seconds

Sign in with Google. New accounts get free credit (one per person) to try the models.

Get started free

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