# Qwen4 Max

Qwen4 Max is Alibaba Cloud's multimodal model in the Qwen family, built for text generation, image and video understanding, and multi-step reasoning. It targets coding, office work, frontend design and agentic tasks, takes text, images and video as input, and returns text.

- **Model id:** `opencheap/qwen4-max`
- **Price per 1M tokens:** $1.41 input / $4.24 output
- **Cached input:** $0.071 per 1M tokens
- **Context:** 1M tokens, 393K max output

## Providers

6 providers. Prices are per 1M tokens. As of 2026-11-24 00:01 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| NanoGPT | $1.41 | $0.071 | $4.24 | — | — | — | 1M | 131K |
| AiHubMix | $1.47 | $0.073 | $4.41 | — | — | — | 1M | 262K |
| Alibaba | $1.50 | $0.075 | $4.49 | 1.51 s | 67 tok/s | 100 % | 1M | 131K |
| Qubax | $1.51 | $0.076 | $6.06 | — | — | — | 1M | 393K |
| Sandbase | $1.67 | $0.083 | $5.00 | — | — | — | — | — |
| Surplus | $0.64 | $0.032 | $1.92 | — | — | Unavailable | 1M | 393K |

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/qwen4-max#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/qwen4-max`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/qwen4-max", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/qwen4-max",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/qwen4-max",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About Qwen4 Max

Qwen4 Max costs from $1.41 per 1M input tokens and $4.24 per 1M output tokens on OpenCheap, with cached input at $0.071 per 1M tokens. Its list price is $1.43 per 1M input tokens and $4.28 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 1 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.018, and 1,000 such requests about $18.37. Prices as of 2026-11-23 23:56 UTC.

6 providers serve Qwen4 Max on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 1M tokens (1,000,000), room for roughly 750,000 words of English in one request.

Qwen4 Max is one of [114 Qwen models](https://opencheap.si/models/lab/qwen) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## More from Qwen

- [Qwen 4 Max Thinking](https://opencheap.si/models/qwen4-max:thinking) (`qwen4-max:thinking`): $1.41 / $4.24 per 1M · 1M context
- [Qwen3.8 Flash](https://opencheap.si/models/qwen3.8-flash) (`qwen3.8-flash`): $0.11 / $0.35 per 1M · 1M context
- [Qwen 3 Coder 480B](https://opencheap.si/models/qwen3-coder) (`qwen3-coder`): $0.14 / $0.56 per 1M · 262K context
- [Qwen3 Coder Next](https://opencheap.si/models/qwen3-coder-next) (`qwen3-coder-next`): $0.036 / $0.24 per 1M · 262K context
- [Qwen3 235B A22B Instruct 2507](https://opencheap.si/models/qwen3-235b-a22b-2507) (`qwen3-235b-a22b-2507`): $0.026 / $0.15 per 1M · 262K context
- [Qwen3.6 27B](https://opencheap.si/models/qwen3.6-27b) (`qwen3.6-27b`): $0.17 / $1.26 per 1M · 262K context
- [Qwen/Qwen3-32B](https://opencheap.si/models/qwen3-32b) (`qwen3-32b`): $0.024 / $0.084 per 1M · 131K context
- [e2ee-qwen-2.5-7b-p](https://opencheap.si/models/e2ee-qwen-2.5-7b-p) (`e2ee-qwen-2.5-7b-p`): $0.037 / $0.097 per 1M · 32K context

[All 114 Qwen models](https://opencheap.si/models/lab/qwen)

## Similar models

- [Kimi K3.1 Pro](https://opencheap.si/models/kimi-k3.1-pro): Moonshot · 1M context · $1.68 / $2.52 per 1M, 35 % cheaper · [Compare with Qwen4 Max](https://opencheap.si/compare/qwen4-max-vs-kimi-k3.1-pro)
- [GPT 6.1 Terra Pro](https://opencheap.si/models/gpt-6.1-terra-pro): OpenAI · 1M context · $1.00 / $5.00 per 1M · [Compare with Qwen4 Max](https://opencheap.si/compare/qwen4-max-vs-gpt-6.1-terra-pro)
- [ERNIE Light DT 1.0 (Intl)](https://opencheap.si/models/ernie-light-dt-1.0-intl): Baidu · 1M context · $1.19 / $4.14 per 1M · [Compare with Qwen4 Max](https://opencheap.si/compare/qwen4-max-vs-ernie-light-dt-1.0-intl)
- [Muse Spark 1.1](https://opencheap.si/models/muse-spark-1.1): Meta · 1M context · $1.08 / $3.67 per 1M, 15 % cheaper · [Compare with Qwen4 Max](https://opencheap.si/compare/qwen4-max-vs-muse-spark-1.1)
- [Grok 4.7](https://opencheap.si/models/grok-4.7): xAI · 500K context · $2.00 / $6.00 per 1M · [Compare with Qwen4 Max](https://opencheap.si/compare/qwen4-max-vs-grok-4.7)
- [Muse Spark Open](https://opencheap.si/models/muse-spark-open): Meta · 1M context · $1.00 / $3.40 per 1M, 21 % cheaper · [Compare with Qwen4 Max](https://opencheap.si/compare/qwen4-max-vs-muse-spark-open)

[Compare Qwen4 Max with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/qwen4-max · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
