# Qwen 4 Max Thinking

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:thinking`
- **Price per 1M tokens:** $1.41 input / $4.24 output
- **Cached input:** $0.071 per 1M tokens
- **Context:** 1M tokens, 262K max output

## Providers

2 providers. Prices are per 1M tokens. As of 2026-12-04 12:05 UTC.

| Provider | Input price | Cache price | Output price | Context | Max output |
| --- | --- | --- | --- | --- | --- |
| NanoGPT · quantization unknown | $1.41 | $0.071 | $4.24 | 1M | 262K |

1 more provider through partner hosts · from $1.49 in · $4.46 out

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)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`

## 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:thinking#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/qwen4-max:thinking`; 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:thinking", "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:thinking",
    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:thinking",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About Qwen 4 Max Thinking

Qwen 4 Max Thinking 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. It has no public list price to compare with. 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-12-04 12:01 UTC.

2 providers serve Qwen 4 Max Thinking 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.

Qwen 4 Max Thinking is one of [110 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`.

## Pricing questions

### How much does the Qwen 4 Max Thinking API cost per 1M tokens?

Qwen 4 Max Thinking 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. Prices as of 2026-12-04 12:01 UTC.

### What does one Qwen 4 Max Thinking request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.018, and 1,000 such requests about $18.37. Every answer reports its own cost in usage.cost.

### Which providers serve Qwen 4 Max Thinking?

2 providers serve Qwen 4 Max Thinking on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of Qwen 4 Max Thinking?

Its context window is 1M tokens (1,000,000), room for roughly 750,000 words of English in one request.

### How do I call the Qwen 4 Max Thinking API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/qwen4-max:thinking. One OpenCheap key works for every model; the rest of your code stays the same.

## More from Qwen

- [Qwen4 Max](https://opencheap.si/models/qwen4-max) (`qwen4-max`): $0.26 / $0.77 per 1M · 1M context
- [Qwen3.8 Flash](https://opencheap.si/models/qwen3.8-flash) (`qwen3.8-flash`): $0.14 / $0.44 per 1M · 1M context
- [Qwen 3 Coder 480B](https://opencheap.si/models/qwen3-coder) (`qwen3-coder`): $0.075 / $0.25 per 1M · 262K context
- [Qwen3 Coder Next](https://opencheap.si/models/qwen3-coder-next) (`qwen3-coder-next`): $0.03 / $0.20 per 1M · 262K context
- [Qwen3 235B A22B Instruct 2507](https://opencheap.si/models/qwen3-235b-a22b-2507) (`qwen3-235b-a22b-2507`): $0.0014 / $0.0075 per 1M · 262K context
- [Qwen3.6 27B](https://opencheap.si/models/qwen3.6-27b) (`qwen3.6-27b`): $0.0053 / $0.053 per 1M · 262K context
- [Qwen/Qwen3-32B](https://opencheap.si/models/qwen3-32b) (`qwen3-32b`): $0.0096 / $0.032 per 1M · 131K context
- [Qwen 2.5 7B](https://opencheap.si/models/e2ee-qwen-2.5-7b-p) (`e2ee-qwen-2.5-7b-p`): $0.052 / $0.14 per 1M · 32K context

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

## Similar models

- [Claude Sonnet 5](https://opencheap.si/models/claude-sonnet-5): Anthropic · 1M context · $1.00 / $5.00 per 1M · [Compare with Qwen 4 Max Thinking](https://opencheap.si/compare/qwen4-max%3Athinking-vs-claude-sonnet-5)
- [Grok 4.7](https://opencheap.si/models/grok-4.7): xAI · 500K context · $1.26 / $5.03 per 1M · [Compare with Qwen 4 Max Thinking](https://opencheap.si/compare/qwen4-max%3Athinking-vs-grok-4.7)
- [Muse Spark Open](https://opencheap.si/models/muse-spark-open): Meta · 1M context · $1.18 / $4.00 per 1M, 7 % cheaper · [Compare with Qwen 4 Max Thinking](https://opencheap.si/compare/qwen4-max%3Athinking-vs-muse-spark-open)
- [GPT 6.1 Terra Pro](https://opencheap.si/models/gpt-6.1-terra-pro): OpenAI · 1M context · $0.94 / $4.70 per 1M · [Compare with Qwen 4 Max Thinking](https://opencheap.si/compare/qwen4-max%3Athinking-vs-gpt-6.1-terra-pro)
- [GPT 6 Sol](https://opencheap.si/models/gpt-6-sol): OpenAI · 1M context · $0.80 / $4.00 per 1M, 9 % cheaper · [Compare with Qwen 4 Max Thinking](https://opencheap.si/compare/qwen4-max%3Athinking-vs-gpt-6-sol)
- [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 Qwen 4 Max Thinking](https://opencheap.si/compare/qwen4-max%3Athinking-vs-ernie-light-dt-1.0-intl)

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

---

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