dashscope/qwen3.8-max
Alibaba's Qwen3.8-Max — the most capable Qwen model, a large mixture-of-experts built for long-horizon autonomous coding and professional work, with a context window of about 1M tokens.
| Slug | dashscope/qwen3.8-max |
| Kind | chat |
| Vendor | alibaba |
| Endpoint | POST /v1/chat/completions |
View pricing and billing conditions
Example request
curl https://api.sociaro.com/v1/chat/completions \
-H "Authorization: Bearer $SOCIARO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "dashscope/qwen3.8-max",
"messages": [{"role": "user", "content": "hello"}]
}'# Requires Python 3 and requests (pip install requests).
import os
import requests
payload = {'model': 'dashscope/qwen3.8-max',
'messages': [{'role': 'user', 'content': 'hello'}]}
response = requests.post(
'https://api.sociaro.com/v1/chat/completions',
headers={
'Authorization': 'Bearer ' + os.environ['SOCIARO_API_KEY'],
'Content-Type': 'application/json',
},
json=payload,
timeout=120,
)
response.raise_for_status()
print(response.text)// Run as an .mjs file with Node.js 22 or later.
const payload = {
"model": "dashscope/qwen3.8-max",
"messages": [
{
"role": "user",
"content": "hello"
}
]
};
const response = await fetch("https://api.sociaro.com/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.SOCIARO_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify(payload),
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
console.log(await response.text());Parameters
messagestemperaturetop_pmax_tokensmax_completion_tokensstreamstream_optionstoolstool_choiceparallel_tool_callstool_streamresponse_formatenable_thinkingthinking_budgetpreserve_thinkingseedstoppresence_penaltytop_krepetition_penalty
Pricing
| Billable unit and options | Rate (USD) |
|---|---|
| per 1M input tokens | $2.40 |
| per 1M output tokens | $7.20 |
| per 1M cached input tokens | $0.30 |
View this model in the pricing catalogue. Your billing logs show the actual charge for each request.