LLM API
AlibabaText generationReleased August 3, 2026

Qwen 3.8 Max

Qwen 3.8 Max costs $1.7 per 1M input tokens and $5.1 per 1M output tokens on LLM API, with a 1M-token context window.

Pricing

Lowest price among 2 providers, after discounts.

Qwen 3.8 Max prices on LLM API
Input$1.7before discount $2per 1M tokens
Output$5.1before discount $6per 1M tokens
Cache read$0.1445before discount $0.17per 1M tokens

Providers

Prices after each provider’s discount; the lowest in bold.

Providers of Qwen 3.8 Max on LLM API
Novita AI$2$6$0.171M131K
Alibaba Cloud−15% discount$1.7$5.1$0.14451M131K

Features

  • ToolsYes
  • Parallel tool callsNo
  • Image inputYes
  • ReasoningYes

    Levels: low, medium, xhigh · default medium

  • Prompt cachingYes
  • Structured outputsYes
  • JSON modeYes
  • StreamingYes
  • Web searchYes

Call Qwen 3.8 Max

POST /v1/chat/completionsSet LLMAPI_KEY to your LLM API key.Chat Completions docs

import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

response = client.chat.completions.create(
    model="qwen3.8-max",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

More from Alibaba

All Alibaba text models

Prices synced .

You've been invited to LLM API

Top up $50 or more and the friend who invited you gets $20 in credits. We pay the $20; your credits stay yours. Referral terms

Sign up