Seedance 2.0 | Special Offer ✦ 10% OFF NOW
alibaba
qwen/qwen-max

qwen/qwen-max

32,768 context · $1.04/M input tokens · $4.16/M output tokens

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...

Pricing

Pay-per-use

No upfront costs, pay only for what you use

Input$1.04 / M Tokens
Output$4.16 / M Tokens

API Usage

Use the following code examples to integrate with our API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="qwen/qwen-max",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Model Introduction

Qwen qwen-max

qwen qwen-max


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 32768 context window for long document handling
  • Competitive pricing at $1.8/$7.0 per million tokens

Key Features

  • Context Window: 32768 tokens
  • Max Output: 8192 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderQwen
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window32768 tokens
Max Output8192 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$1.8
Output$7.0

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: qwen/qwen-max


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="qwen/qwen-max",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "qwen/qwen-max",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: qwen/qwen-max
  • Provider: Qwen

Info

Provideralibaba
Typellm

Supported Functionality

Input
Text
Output
Text
Context32,768
Max Output8,192
Vision-
Function Calling✓ Supported

API Access Guide

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDqwen/qwen-max

Qwen Max API

qwen/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

$1.04 /M

Output

$4.16 /M

Context

33K

Max Output

8K

Tool Use

Supported

Try Qwen Max on WaveSpeedAI

Access Qwen Max through our unified API — OpenAI-compatible, no cold starts, transparent pricing.

Frequently Asked Questions about Qwen Max

How much does Qwen Max cost via the API?+

Pricing on WaveSpeedAI: $1.04 per million input tokens and $4.16 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.

What is the context window of Qwen Max?+

Qwen Max supports up to 33K tokens of context with up to 8K tokens of output per request.

Is Qwen Max OpenAI-compatible?+

Yes. WaveSpeedAI exposes Qwen Max through an OpenAI-compatible endpoint at https://llm.wavespeed.ai/v1. Point the official OpenAI SDK at this base URL with your WaveSpeedAI API key — no other code changes required.

How do I get started with Qwen Max?+

Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with model id set to the value shown above. New accounts receive free credits to evaluate Qwen Max before paying per token.

Related LLM APIs