← All models
Qwen · Language model
Qwen4 Max
qwen/qwen4-max- Language
Try in ChatOpens a new chat with this model. Each answer is billed to your balance.
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....
Specifications
- Context window
- 1,000,000 tokens
- Max output
- 131,072 tokens
- Input
- text, image, video
- Output
- text
- Reasoning effort
- xhigh, high, low, none
- Tokenizer
- Qwen
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- frequency_penalty
- logprobs
- max_tokens
- presence_penalty
- reasoning
- reasoning_effort
- response_format
- seed
- stop
- structured_outputs
- temperature
- tool_choice
- tools
- top_k
- top_logprobs
- top_p
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"qwen/qwen4-max","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'