Qwen3.8 Max API pricing and code examples
Qwen3.8 Max is an Alibaba model you can call through LivRouter's OpenAI-compatible endpoint. There is no separate Alibaba account and no separate invoice: one LivRouter API key reaches Qwen3.8 Max alongside every other model on the platform, billed per token from prepaid credits.
Qwen3.8 Max API at a glance
Compare Qwen3.8 Max API pricing, model ID, and OpenAI-compatible examples through LivRouter.
- Model ID
- qwen3.8-max
- Provider
- Alibaba
- API format
- OpenAI-compatible
- Billing
- Per token from LivRouter credits
- Common integration focus
- Alibaba API integrations
Qwen3.8 Max pricing
Rates are in USD per 1M tokens. The reference row is the provider base rate recorded in LivRouter's catalog; the plan rows show the published rates for each eligible plan.
| Plan | Input / 1M | Output / 1M | Cached input / 1M |
|---|---|---|---|
| Reference (Alibaba) | $2.00 | $6.00 | $0.25 |
| Start | $2.00 | $6.00 | $0.25 |
| Max Qwen−84% | $0.32 | $0.96 | $0.04 |
| Pro Qwen−76% | $0.48 | $1.44 | $0.06 |
Lowest listed LivRouter rate for Qwen3.8 Max: $0.32 per 1M input tokens on the Max Qwen plan — about 84% below the Alibaba reference rate. See every plan and rate.
Source: LivRouter model catalog. Catalog checked .
What does a Qwen3.8 Max request cost?
One million uncached input tokens plus 100,000 output tokens at the listed Max Qwen rates cost $0.416. This example excludes subscription fees and assumes the selected plan is active. Actual charges depend on input, output, and cached-token usage.
Compare plan fees and credit allowancesCall Qwen3.8 Max with the OpenAI SDK
Qwen3.8 Max follows the OpenAI chat completions format, so existing OpenAI client code keeps working — change the base URL and the model name.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.livrouter.com/v1",
apiKey: process.env.LIVROUTER_API_KEY,
});
const completion = await client.chat.completions.create({
model: "qwen3.8-max",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);Prefer plain HTTP? The same request over curl:
curl https://api.livrouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LIVROUTER_API_KEY" \
-d '{
"model": "qwen3.8-max",
"messages": [{"role": "user", "content": "Hello"}]
}'Frequently asked questions about Qwen3.8 Max
How much does qwen3.8-max cost through LivRouter?
qwen3.8-max is metered per token. The Alibaba reference rate is $2.00 per 1M input tokens and $6.00 per 1M output tokens. On the Max Qwen plan LivRouter charges $0.32 per 1M input tokens, about 84% below the Alibaba reference rate. Cached input is $0.04 per 1M tokens.
Can I call qwen3.8-max with the OpenAI SDK?
Yes. qwen3.8-max is reachable through the OpenAI-compatible endpoint at https://api.livrouter.com/v1. Keep your existing OpenAI client code and change the base URL and the model name to "qwen3.8-max".
Do I need a separate Alibaba account?
No. LivRouter routes the request for you. You only need a LivRouter API key and credits — no separate Alibaba subscription.
Is qwen3.8-max available on the Start tier?
Yes. qwen3.8-max is reachable from the Start tier group, billed pay-as-you-go at the rates shown above.