Developers
Qwen 3.8 Max API pricing
Qwen 3.8 Max (Alibaba) is priced at $1.65 / $4.95 per 1M input / output tokens. It ranks #8 of 17 models on Somnus by blended price. With Somnus credit (2× to 2.5× on every top-up) the effective price is $0.83 / $2.48 or lower.
Qwen 3.8 Max cost by workload
| Workload | Tokens per request (in / out) | Requests | List cost | With Somnus |
|---|---|---|---|---|
| Support chatbot | 1,500 / 500 | 10,000 | $49.50 | $24.75 |
| Coding agent step | 12,000 / 1,500 | 2,000 | $54.45 | $27.22 |
| Document summary | 8,000 / 400 | 1,000 | $15.18 | $7.59 |
| Classification / tagging | 400 / 20 | 100,000 | $75.90 | $37.95 |
Effective cost uses the minimum 2× credit.
How Qwen 3.8 Max pricing works
You are charged per token: 1.65 USD per million tokens you send and 4.95 USD per million tokens Qwen writes back. Output is 3.0× the input rate for Qwen 3.8 Max, so answer length drives most of the bill.
Somnus bills usage at the list price and credits every top-up at 2× or more, which is how the effective $0.83 / $2.48 rate comes about.
At list price
$80.00 /mo
You pay with Somnus (2× credit)
$40.00 /mo
Cheapest models for this workload
- DeepSeek V4 Flash$6.60 /mo
- MiMo V2.5 Pro$10.95 /mo
- DeepSeek V4 Pro$19.80 /mo
- Gemini 3.8 Flash$30.00 /mo
- Claude Haiku 4.5$40.00 /mo
Estimate Qwen 3.8 Max cost from the usage field
from openai import OpenAI
import os
client = OpenAI(
api_key=os.environ["SOMNUS_API_KEY"],
base_url="https://gateway-production-c837.up.railway.app/v1",
)
resp = client.chat.completions.create(
model="claude-sonnet-5",
messages=[
{"role": "user", "content": "Count my tokens"}
],
)
print(resp.choices[0].message.content)Multiply usage.prompt_tokens by 1.65/1e6 and usage.completion_tokens by 4.95/1e6.
Questions
How much does Qwen 3.8 Max cost per 1M tokens?
$1.65 / $4.95 list; $0.83 / $2.48 effective with Somnus credit.
Is there a free Qwen 3.8 Max tier?
New Somnus accounts get $5 free credit usable on Qwen 3.8 Max.
Related
Browse more: Alternatives · Compare · Use cases · Developers · Solutions · Tools