API Free WeekHundreds of APIs are free to call this week.Browse free APIs

Qwen: Qwen-Max

alibaba/qwen-max

Qwen-Max, based on Qwen2.5, provides the best inference performance among Qwen models, especially for complex multi-step tasks. It's a large-scale MoE model that has been pretrained on over 20 trillion...

Input price
$1.04USD / 1M tokens
Output price
$4.16USD / 1M tokens
Context window
N/A
Max output
8.2K

Try the model

Playground

Open playground
Input⌘ / Ctrl + Enter

Try a prompt

8.2K max output
Input$1.04/MOutput$4.16/MCache read$0.21/M
OutputReady

Your response will appear here

Choose an example or write a prompt, then click Run.

Model card

Specifications

Pricing

Input
$1.04 / 1M tokens
Output
$4.16 / 1M tokens
Cache read
$0.21 / 1M tokens

Context & modalities

Max output
8,192 tokens
Input
Text
Output
Text

Capabilities

Chat
Supported
Vision
Not supported
Reasoning
Not supported
Structured output
Supported
Function calling
Supported
Audio input
Not supported

Access

Provider
Alibaba
Model ID
alibaba/qwen-max
Execution
sync
Base URL
https://api.sandbase.ai
API
Chat Completions API
Endpoint
/v1/chat/completions

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Chat Completions API endpoint
https://api.sandbase.ai/v1/chat/completions
Model ID
alibaba/qwen-max
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/chat/completions" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "alibaba/qwen-max",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 2048
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Choose your model

Compare models

All language models
ModelContextInput / 1MOutput / 1MReleased
Qwen-MaxThis model
Alibaba
—$1.04$4.16Oct 15, 2024
Alibaba1M$4.00$12.00Sep 23, 2026
Alibaba1M$0.15$0.47Sep 18, 2026
Alibaba1M$2.00$6.00Sep 3, 2026
Alibaba1M$0.50$3.00Aug 14, 2026
Alibaba1M$2.00$6.00Aug 12, 2026

Questions

FAQ

How do I call Alibaba Qwen-Max through SandBase?

Create a SandBase API key, then send requests with the model ID "alibaba/qwen-max" to Chat Completions API (/v1/chat/completions) at https://api.sandbase.ai. The request examples on this page show the exact payload.

How much does Alibaba Qwen-Max cost?

$1.04 per 1M input tokens and $4.16 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.

Which features does Alibaba Qwen-Max support?

Alibaba Qwen-Max supports function calling, structured output. See Specifications above for the full list.

Do I need a separate Alibaba account?

No. One SandBase API key and balance gives you access to Alibaba Qwen-Max and the other models in the catalog; you do not need to sign up with Alibaba separately.