> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# Qwen 4 Max API

> Qwen 4 Max API on Venice: 1M context, $1.88 input and $5.63 output per 1M tokens. Anonymized access without your identity. Pricing, specs and code examples.



## Qwen 4 Max API

Qwen 4 Max is a large language model by Alibaba Qwen, available on the Venice API as `qwen-4-max`. Requests are anonymized, so the provider never sees your identity.

Qwen 4 Max is the flagship model of the Qwen 4 series. It accepts text, image, and video input, thinks by default with adjustable reasoning effort, and supports a 1M-token context window.

### Qwen 4 Max API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `qwen-4-max` | Standard | Anonymized | $1.88 / $5.63 per 1M |

### Qwen 4 Max specifications

| Spec | Value |
| - | - |
| Provider | Alibaba Qwen |
| Released | Nov 16, 2026 |
| Privacy | Anonymized |
| Status | Stable |
| Context window | 1M tokens |
| Max output | 384K tokens |
| Reasoning effort | Not adjustable |

### How to use the Qwen 4 Max API

Send requests to `POST https://api.venice.ai/api/v1/chat/completions` with `"model": "qwen-4-max"` and your API key.

```bash theme={"system"}
curl https://api.venice.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen-4-max",
    "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }]
  }'
```

### Related models

* [Qwen 3.8 Max API](https://docs.venice.ai/models/qwen-3-8-max.md): $2.50 / $7.50 per 1M
* [Qwen 3.7 Max API](https://docs.venice.ai/models/qwen-3-7-max.md): $2.70 / $8.05 per 1M
* [Muse Spark Open API](https://docs.venice.ai/models/muse-spark-open.md): $1.56 / $5.31 per 1M
* [GLM 5.3 API](https://docs.venice.ai/models/glm-5-3.md): $1.75 / $5.50 per 1M
* [DeepSeek V4 Pro 0813 API](https://docs.venice.ai/models/deepseek-v4-pro-0813.md): $1.65 / $4.95 per 1M
* [Grok 4.7 API](https://docs.venice.ai/models/grok-4-7.md): $2.27 / $6.80 per 1M


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.