# Qwen 4 Max API

Alibaba's Qwen 4 Max costs $1.5 per million input tokens and $4.5 per million output tokens from 1 supplier. Each request through the OpenAI-compatible API goes to the offer with the lowest estimated charge that meets your rules.

- Providers compete for each request. The exchange ranks the offers that meet your rules by estimated charge. It fixes your maximum charge before the first token, and you pay for the tokens that the model uses.
- The OpenAI and Anthropic APIs. Use the OpenAI or Anthropic SDK that you have. Set the base URL and your key, and send qwen4-max as the model.
- Your data rules. Send x-liquid-retention: none and only offers whose provider does not keep your content compete for the request.

## About Qwen 4 Max

Qwen 4 Max is a language model from Alibaba. It takes text, images and video and gives text. The largest offer takes 983,616 input tokens. One job can generate up to 262,144 tokens. It has 1 supplier on this exchange now.

## Facts

- Model name: qwen4-max
- Maker: Alibaba
- Context window: 983.6K tokens
- Input price: $1.5 per million tokens
- Output price: $4.5 per million tokens
- Suppliers: 1 supplier
- Regions: global

## Providers

- [EmpirioLabs AI](https://liquidinference.ai/providers/4f49f07c-0d26-44bd-88a8-34f3f5fbd3b7.md): global, declared precision provider-managed, $1.5 input and $4.5 output per million tokens, $0.075 cache read per million tokens, 983.6K tokens of context

## Request

```sh
curl https://router.inference.ai.exchange/v1/chat/completions \
  -H "Authorization: Bearer $LIQUID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen4-max",
    "messages": [{"role":"user","content":"Say hello."}]
  }'
```

## Questions

### What is Qwen 4 Max?

Qwen 4 Max is a language model from Alibaba.

### How much does Qwen 4 Max cost?

Offers now ask $1.5 per million input tokens and $4.5 per million output tokens. A job pays for the tokens it uses. The exchange picks the cheapest eligible offer.

### What is the context length of Qwen 4 Max?

The largest offer takes 983,616 input tokens. One job can generate up to 262,144 tokens. A smaller offer can take less. The exchange skips an offer that cannot take your message.

### What can Qwen 4 Max do?

Its providers list Vision, Video input, Reasoning budget, Reasoning effort, JSON object, JSON schema, Log probabilities, Presence penalty, Repetition penalty, Seed, Stop sequences, Top-k sampling, Top-p sampling, Text, Tools.

### What inputs and outputs does Qwen 4 Max support?

Text · Images · Video → Text.

### Which providers serve Qwen 4 Max?

It has 1 supplier now, with 1 offer. The table above ranks them by the cost of one agent-mix job.

### How do I call Qwen 4 Max?

Send "qwen4-max" as the model in an OpenAI or Anthropic request. The API section links to setup steps for each client.

### When was Qwen 4 Max listed?

The exchange first listed it on 11/16/2026. This is not its release date.

## Related pages

- [This page in a browser](https://liquidinference.ai/models/qwen4-max)
- [Qwen 3.6 35B a3b](https://liquidinference.ai/models/qwen3.6-35b-a3b.md)
- [Qwen 3.8 27B](https://liquidinference.ai/models/qwen3.8-27b.md)
- [Qwen 3 14B](https://liquidinference.ai/models/qwen3-14b.md)
- [Qwen 3 5 4B](https://liquidinference.ai/models/qwen3-5-4b.md)
- [Qwen 3.5 9B](https://liquidinference.ai/models/qwen3.5-9b.md)
- [Qwen 2.5 7B Instruct](https://liquidinference.ai/models/qwen2.5-7b-instruct.md)
- [Popular open weights](https://liquidinference.ai/collections/popular-open-weights)
- [Set up a client](https://liquidinference.ai/connect/qwen4-max)
- [All models](https://liquidinference.ai/models)
- [Providers](https://liquidinference.ai/providers.md)
- [Discover the best model for your budget](https://liquidinference.ai/discover)
- [Quickstart](https://liquidinference.ai/docs/quickstart.md)
- [llms.txt: the index of every page, as Markdown](https://liquidinference.ai/llms.txt)
- [llms-full.txt: every page in one file](https://liquidinference.ai/llms-full.txt)
