Qwen Max API
ALIBABA · Chat · 32K context
from $0.585 / 1M input tokens -25% vs OpenRouter
Qwen Max 由阿里巴巴出品,是强大的中英双语模型,支持 32K 上下文。TokenSail 提供 Qwen Max API,输入价格 $0.585/百万 token,比官方价 $0.78 便宜 25%。非常适合多语言 NLP 任务和亚洲市场应用。
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