qwen4-max API Pricing & Access
Qwen4-Max is the next-generation flagship multimodal model of Tongyi Qianwen, integrating text generation, image and video understanding, and deep reasoning capabilities. It is suitable for programming development, office tasks, front-end design, and complex intelligent agent tasks. The model supports online search, tool invocation, and structured output, compatible with OpenAI and Anthropic APIs, helping developers build intelligent applications with multimodal understanding and task execution capabilities.
Pricing by group
USD per 1M tokens. Price = base price × group ratio.
| Group | Input | Output | Cache read | Cache write (5 min) | Cache write (1 h) | About this group |
|---|---|---|---|---|---|---|
| Self-Deployed-2 | $0.75 | $2.25 | $0.0375 | $0.9375 | $1.50 | Moderate price with good availability. Suitable for general reasoning, document reading |
| Alibaba-2 | $1.125 | $3.375 | $0.0563 | $1.406 | $2.25 | higher quota. Upgraded multimodal analysis, suitable for product images |
| Self-Deployed-3 | $1.125 | $3.375 | $0.0563 | $1.406 | $2.25 | Higher price. It excels at long-document sorting, logical reasoning and complex multi-turn image-text tasks with stable availability |
| Alibaba-3 | $1.65 | $4.95 | $0.0825 | $2.063 | $3.30 | stronger reasoning and advanced creation ability, for business proposals |
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table above and your console.
Capabilities
- Provider
- Qwen
- Features
- Conversation · Tools · Image Recognition
- API formats
- OpenAI Chat Completions
Quick start
Base URL: https://api.openlux.ai/v1. Create an API key in the console and replace YOUR_API_KEY in the examples.
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen4-max",
"messages": [{"role": "user", "content": "Hello"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.openlux.ai/v1", api_key="YOUR_API_KEY")
resp = client.chat.completions.create(
model="qwen4-max",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)Full parameters in the API docs
FAQ
How do I call the qwen4-max API?
Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and use qwen4-max as the model name.
How is the qwen4-max API billed?
Pay as you go: input and output tokens are priced separately, and the price depends on the group you choose. At build time the lowest public group was $0.75 per 1M input tokens and $2.25 per 1M output tokens. Top-ups start at $1.
How is prompt caching billed for qwen4-max?
Cache hits (cache reads) cost 0.05× the input price; 5-minute cache writes cost 1.25× the input price; 1-hour cache writes cost 2× the input price.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.
Which API formats does qwen4-max support?
OpenAI Chat Completions.