Model specifications
- Context
- 1,000,000 tokens
- Maximum output
- 32,768 tokens
- Architecture
- text->text
- Tokenizer
- Qwen
- Knowledge cutoff
- 2025-03-31
- Moderated
- No
Complete pricing
Synchronized OpenRouter rates. Token prices are shown per one million tokens.
- Input
- $0.26 per 1M tokens
- ≤256K$0.26
- >256K$0.78
- Output
- $0.78 per 1M tokens
- ≤256K$0.78
- >256K$2.34
- Cache read
- $0.052 per 1M tokens
- ≤256K$0.052
- >256K$0.156
- Cache write
- $0.325 per 1M tokens
- ≤256K$0.325
- >256K$0.975
Quick start
Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.
curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"qwen/qwen-plus","messages":[{"role":"user","content":"Hello!"}]}'Input → Output
Supported API parameters
frequency_penaltylogprobsmax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p1 Provider
Checked: September 7, 2026
Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.
Alibaba
Not provided- Context
- 1M
- Maximum output
- 33K
- Input
- $0.26
- Output
- $0.78
- Cache read
- $0.052
- Cache write
- $0.325