LLM API
AlibabaText generationReleased November 11, 2026

Qwen 4 Max

Qwen 4 Max costs $1.413 per 1M input tokens and $4.24 per 1M output tokens on LLM API, with a 1M-token context window.

Pricing

Lowest price among 3 providers, after discounts.

Qwen 4 Max prices on LLM API
Input$1.413per 1M tokens
Output$4.24per 1M tokens
Cache read$0.071per 1M tokens
Cache write, 5 minutes$1.767per 1M tokens
Cache write, 1 hour$2.85per 1M tokens

Providers

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

Providers of Qwen 4 Max on LLM API
Novita AI$1.413$4.24$0.0711M393K
Alibaba Cloud$1.425$4.275$0.07121M393K
Together AI$1.6$4.8$0.081M393K

Features

“Some providers”: not every provider of this model supports it.

  • ToolsYes
  • Parallel tool callsNo
  • Image inputYes
  • ReasoningYes

    Levels: low, medium, xhigh · default xhigh

  • Prompt cachingYes
  • Structured outputsSome providers
  • JSON modeSome providers
  • StreamingYes
  • Web searchYes

Call Qwen 4 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="qwen4-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