Skip to content

Qwen: Qwen4 MaxNew

CompareUse this model

@qwen/qwen4-max

Qwen flagship (International deployment, Singapore rates; same price in both thinking modes). Thinking on by default (enable_thinking true); reasoning_effort low, high or xhigh, default high; thinking_budget defaults to 131072. Max output 131,072 tokens without thinking and 262,144 with thinking. Cache price is the implicit cache hit rate; explicit cache prices are not published.

ToolsVisionReasoning

Modalities
TextImageVideoText
In / out price
$1.50 / $4.50per 1M
Context
1M
Released
Nov 16, 2026

Providers

7 providers serve this model. Each is called the same way through your gateway, on that provider's key, so moving between them is a change of name.

ProviderInput /MOutput /MCache read /MContextMax outputThroughput tok/sFirst token sUptime
Together AI$1.05$3.15$0.0531M262.1K---
DeepInfra$1.41$4.24$0.0711M262.1K---
Novita AI$1.41$4.24$0.0711M262K---
OpenRouter$1.43$4.28$0.0711M131.1K---
Chutes$1.50$4.50$0.0751M131.1K---
Fireworks AI$1.50$4.50$0.075262.1K262.1K---
QwenThis page$1.50$4.50$0.0751M262.1K---

Throughput, time to first token and uptime are measured on Everstack Cloud over the last 30 days, for this model on each provider. A dash means there is not enough public activity for that pair yet.

Pricing

What Qwen charges for a million tokens. Your provider bills you for it; Everstack records the cost against each call.

Input
$1.50/M tokens
Output
$4.50/M tokens
Cached input
$0.075/M tokens

Performance

How fast the model has answered on Everstack Cloud: how many tokens a second it writes, and how long before the first one.

Loading usage

Uptime

The share of requests to this model that succeeded, a day at a time.

Loading usage

Activity

Tokens through this model on Everstack Cloud each day: what was sent, what the model reasoned with, and what it wrote.

Loading usage

API

One client and one key for every model. To move to another model, change the name.

main.py
import os
from everstack import Everstack

client = Everstack(
    base_url=os.environ["EVERSTACK_BASE_URL"],
    api_key=os.environ["EVERSTACK_API_KEY"],
)

response = client.chat.completions.create(
    model="@qwen/qwen4-max",
    messages=[{"role": "user", "content": "Explain vector cache routing."}],
)

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

Explore

More from Qwen

Set up Qwen4 Max

Your key, the request and the settings for @qwen/qwen4-max.

  1. Get your API key

    Create a key in the Everstack console, then set it and your gateway's address as environment variables.

    Get an API key
    Terminal
    export EVERSTACK_BASE_URL="https://<your-instance>.<your-region>.everstack.ai"
    export EVERSTACK_API_KEY="<your-everstack-api-key>"
  2. Connect Qwen

    Qwen4 Max is served by Qwen, on your own Qwen account. Add its credential once in the console, under Providers; Qwen then bills you directly. The catalog names it DASHSCOPE_API_KEY.

  3. Make your first request

    Use @qwen/qwen4-max as the model, with an Everstack SDK or with the OpenAI SDK you already have, pointed at your gateway. It reads up to 1M tokens and writes up to 262.1K.

    main.py
    import os
    from everstack import Everstack
    
    client = Everstack(
        base_url=os.environ["EVERSTACK_BASE_URL"],
        api_key=os.environ["EVERSTACK_API_KEY"],
    )
    
    response = client.chat.completions.create(
        model="@qwen/qwen4-max",
        messages=[{"role": "user", "content": "Explain vector cache routing."}],
    )
    
    print(response.choices[0].message.content)
  4. Send it an image

    Qwen4 Max takes images as well as text. Put the image in the message, beside the words.

    main.py
    response = client.chat.completions.create(
        model="@qwen/qwen4-max",
        messages=[
            {
                "role": "user",
                "content": [
                    {"type": "text", "text": "What is in this picture?"},
                    {
                        "type": "image_url",
                        "image_url": {"url": "https://example.com/photo.jpg"},
                    },
                ],
            }
        ],
    )
  5. Stream the answer

    Add "stream": true to receive the answer as server-sent events, as it is written.

    Terminal
    curl -N "$EVERSTACK_BASE_URL/v1/chat/completions" \
      -H "Authorization: Bearer $EVERSTACK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "@qwen/qwen4-max",
        "stream": true,
        "messages": [
          {"role": "user", "content": "Hello"}
        ]
      }'

What Qwen4 Max accepts

max_output_tokens
Max output tokens1 to 262,144
temperature
Temperature
top_p
Top P0 to 1
top_k
Top K1 or more

Endpoints

A chat completion, streamed or whole, in the OpenAI chat completions format.

POST
$EVERSTACK_BASE_URL/v1/chat/completions
Authorization
Bearer $EVERSTACK_API_KEY
Content-Type
application/json
Model
@qwen/qwen4-max

The same model in the OpenAI Responses API format.

POST
$EVERSTACK_BASE_URL/v1/responses
Authorization
Bearer $EVERSTACK_API_KEY
Content-Type
application/json
Model
@qwen/qwen4-max

Put Everstack in front of your next request

Run it yourself in a few minutes, or start on Everstack Cloud with your own provider keys.

Star on GitHubOpen source under Apache 2.0. A star helps others find it.