> ## 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: 256K context, $1.88 input and $5.63 output per 1M tokens. Private, with zero data retention. 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`. This model is private and no prompt data is stored in any capacity.

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

### Qwen 4 Max API pricing

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

### Qwen 4 Max specifications

| Spec | Value |
| - | - |
| Provider | Alibaba Qwen |
| Released | Nov 16, 2026 |
| Privacy | Private |
| Status | Stable |
| Context window | 256K tokens |
| Max output | 64K tokens |
| Reasoning effort | none, low, medium, high, xhigh |
| [GPQA Diamond](https://docs.venice.ai/models/methodology.md#benchmarks) | 94.4% ±3.2 (95% interval), run by Venice through the API at its default reasoning on Nov 19, 2026 |
| [Live speed and uptime](https://docs.venice.ai/models/methodology.md#machine-readable-data) | [https://metrics.venice.ai/v1/models/qwen-4-max.json](https://metrics.venice.ai/v1/models/qwen-4-max.json), refreshed every 5 minutes |

### 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." }],
    "reasoning_effort": "xhigh"
  }'
```

### 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
* [DeepSeek V4.1 Flash 1017 Ultrafast API](https://docs.venice.ai/models/deepseek-v4-1-flash-1017-ultrafast.md): $1.50 / $6.00 per 1M
* [GLM 5.3 E2EE API](https://docs.venice.ai/models/glm-5-3-e2ee.md): $1.75 / $5.50 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


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