Qwen3.7-Max's core strength lies in the breadth and depth of its agentic capabilities. In coding, it handles everything from front-end prototyping to complex multi-file engineering projects. For office and productivity work, it enables workflow automation through MCP integration and multi-agent collaboration. In long-horizon autonomous execution, it maintained coherent reasoning throughout a 35-hour, fully autonomous kernel optimization experiment involving over 1,000 tool calls — convincingly demonstrating its sustained, stable execution. Furthermore, it delivers consistently strong cross-framework generalization, performing reliably whether deployed in Claude Code, OpenClaw, Qwen Code, or other frameworks.
New
Commercial Use
Playground
Features
Pricing
API
Versions
Pricing for Qwen3.7-Max
Explore competitive pricing for Qwen3.7-Max, designed to fit various budgets and usage needs. Our flexible plans ensure you only pay for what you use, making it easy to scale as your requirements grow. Discover how Qwen3.7-Max can enhance your projects while keeping costs manageable.
Comet Price (USD / M Tokens)
Official Price (USD / M Tokens)
Discount
Input:$1.36/M
Output:$8.16/M
Input:$0/M
Output:$0/M
-
Sample code and API for Qwen3.7-Max
Access comprehensive sample code and API resources for Qwen3.7-Max to streamline your integration process. Our detailed documentation provides step-by-step guidance, helping you leverage the full potential of Qwen3.7-Max in your projects.
from openai import OpenAI
import os
# Get your CometAPI key from https://www.cometapi.com/console/token
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"
client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)
completion = client.chat.completions.create(
model="qwen3.7-max",
messages=[{"role": "user", "content": "Hello! Tell me a short joke."}],
)
print(completion.choices[0].message.content)
Python Code Example
from openai import OpenAI
import os
# Get your CometAPI key from https://www.cometapi.com/console/token
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"
client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)
completion = client.chat.completions.create(
model="qwen3.7-max",
messages=[{"role": "user", "content": "Hello! Tell me a short joke."}],
)
print(completion.choices[0].message.content)
JavaScript Code Example
import OpenAI from "openai";
// Get your CometAPI key from https://www.cometapi.com/console/token
const COMETAPI_KEY = process.env.COMETAPI_KEY || "<YOUR_COMETAPI_KEY>";
const BASE_URL = "https://api.cometapi.com/v1";
const client = new OpenAI({
apiKey: COMETAPI_KEY,
baseURL: BASE_URL,
});
const completion = await client.chat.completions.create({
model: "qwen3.7-max",
messages: [{ role: "user", content: "Hello! Tell me a short joke." }],
});
console.log(completion.choices[0].message.content);
Curl Code Example
#!/bin/bash
# Get your CometAPI key from https://www.cometapi.com/console/token
# Export it as: export COMETAPI_KEY="your-key-here"
response=$(curl -s https://api.cometapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $COMETAPI_KEY" \
-d '{
"model": "qwen3.7-max",
"messages": [
{
"role": "user",
"content": "Hello! Tell me a short joke."
}
]
}')
printf '%s\n' "$response" | python -c 'import json, sys; print(json.load(sys.stdin)["choices"][0]["message"]["content"])'
Versions of Qwen3.7-Max
The reason Qwen3.7-Max has multiple snapshots may include potential factors such as variations in output after updates requiring older snapshots for consistency, providing developers a transition period for adaptation and migration, and different snapshots corresponding to global or regional endpoints to optimize user experience. For detailed differences between versions, please refer to the official documentation.