Skip to content
ModelsRankingsChatDocsPricing
qw

Qwen: Qwen4 Max

qwen/qwen4-max

AvailableAlibabatext inimage invideo intext out

Qwen4 Max is the flagship model in Alibaba's Qwen4 series. It accepts text, image, and video input and returns text, with a 1M-token context window and reasoning enabled by default....

Context

1.0M

tokens in

Max output

131K

tokens out

Price

$1.42 / $4.27

per 1M in / out

Quick start

curl https://api.token265.com/v1/chat/completions \
  -H "Authorization: Bearer ${OPENROUTER_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen4-max",
    "messages": [{"role": "user", "content": "hello"}]
  }'
from openai import OpenAI

client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
    model="qwen/qwen4-max",
    messages=[{"role": "user", "content": "hello"}],
)

Supported parameters

frequency_penaltyinclude_reasoninglogprobsmax_tokenspresence_penaltyreasoningreasoning_effortresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p

More from Alibaba