合作伙伴
qwen/qwen3-max is available via Novita's serverless API, where you pay per token. There are several ways to call the API, including OpenAI-compatible endpoints with exceptional reasoning performance.
立即运行查询,仅按用量付费
| 输入长度 | 输入价格(百万 tokens) | 输出价格(百万 tokens) |
|---|---|---|
| 1 <= tokens < 32,768 | $0.845 | $3.38 |
| 32,768 <= tokens < 131,072 | $1.4 | $5.64 |
| 131,072 <= tokens < 258,048 | $2.11 | $8.45 |
使用以下代码示例与我们的 API 集成:
1from openai import OpenAI
2
3client = OpenAI(
4 api_key="<Your API Key>",
5 base_url="https://api.novita.ai/openai"
6)
7
8response = client.chat.completions.create(
9 model="qwen/qwen3-max",
10 messages=[
11 {"role": "system", "content": "You are a helpful assistant."},
12 {"role": "user", "content": "Hello, how are you?"}
13 ],
14 max_tokens=65536,
15 temperature=0.7
16)
17
18print(response.choices[0].message.content)200+ 个模型、按需 GPUs 和安全的智能体运行时——统一在一个 API 下。免费开始,随业务增长灵活扩展。