Skip to main content

Moderate
alibaba/qwen-4-max/chat

Qwen4-Max chat endpoint by Alibaba: 1,000,000-token input window, up to 384,000 output tokens, image_url vision input, four reasoning levels, tool calling, and structured JSON output.

Input $1.275Output $3.825per 1 million tokensCached input $0.0638Cache write $1.5938

Workbench

These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.

  • Input types
    Text
    Output types
    Text
    Input
    $1.275 / 1 million tokens
    Cached input
    $0.0638 / 1 million tokens
    Output
    $3.825 / 1 million tokens
    Context
    1M
    Max output
    384K

    $1.27/3.83per 1 million tokens · input / output

    basic

    Example single-turn request for Qwen4-Max showing the standard chat messages payload and max_tokens setting.

    • 1024
    Use this example
  • Input types
    Text
    Output types
    Text
    Input
    $1.275 / 1 million tokens
    Cached input
    $0.0638 / 1 million tokens
    Output
    $3.825 / 1 million tokens
    Context
    1M
    Max output
    384K

    $1.27/3.83per 1 million tokens · input / output

    tool-step

    Example tool-calling request for Qwen4-Max with a JSON-schema function definition and tool_choice set to auto.

    • 1024
    • auto
    Use this example

This example starts at Input $1.275 / Output $3.825 per 1 million tokens. The Playground updates the estimate when you change the settings.