Qwen Max API
ALIBABA · Chat · 32K context
from $0.585 / 1M input tokens -25% vs OpenRouter
Qwen Max by Alibaba is a powerful Chinese-English bilingual model with 32K context. TokenSail offers Qwen Max API at $0.585/1M input tokens — 25% below the official $0.78. An excellent choice for multilingual NLP tasks and Asian market applications.
Pricing Comparison
| Provider | Input / 1M tokens | Output / 1M tokens | Savings |
|---|---|---|---|
| TokenSail | $0.585 | $2.925 | — |
| OpenRouter | $0.78 | $3.90 | -25% |
| Official | $0.78 | $3.90 | -25% |
Quick Start
from openai import OpenAI
client = OpenAI(
base_url="https://api.tokensail.ai/v1",
api_key="YOUR_TOKENSAIL_API_KEY"
)
response = client.chat.completions.create(
model="qwen-max",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
Specifications
- Provider: ALIBABA
- Context Window: 32K
- Capabilities: Chat
- API Endpoint: POST https://api.tokensail.ai/v1/chat/completions
- Model ID: qwen-max