Tokensail Qwen Max API
TOKENSAIL · Chat · — context
from $0.00217 / 1M input tokens
Tokensail Qwen Max(— 上下文)在 TokenSail 上的输入价格为 $0.002167/百万 token,经 100% 官方授权渠道接入。只需将 base_url 改为 api.tokensail.ai,模型名保持不变即可无缝迁移。
Pricing Comparison
| Provider | Input / 1M tokens | Output / 1M tokens | Savings |
|---|---|---|---|
| TokenSail | $0.00217 | $0.0065 | — |
| OpenRouter | — | — | — |
| Official | — | — | — |
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="tokensail-qwen-max",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
Specifications
- Provider: TOKENSAIL
- Context Window: —
- Capabilities: Chat
- API Endpoint: POST https://api.tokensail.ai/v1/chat/completions
- Model ID: tokensail-qwen-max