> ## 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 3.8 Max API

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



## Qwen 3.8 Max API

Qwen 3.8 Max is a large language model by Alibaba Qwen, available on the Venice API as `qwen-3-8-max`. The provider of this model may retain prompt data (though it is anonymized by Venice). For sensitive content, use a private model.

Qwen 3.8 Max is Alibaba's flagship 2.4-trillion-parameter MoE model, with major gains over Qwen 3.7 Max in software engineering and office-productivity workflows and strong long-horizon, multi-agent performance. It accepts both text and vision-language input (images and video), operates in thinking mode only, and supports a 1M-token context window.

### Qwen 3.8 Max API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `qwen-3-8-max` | Standard | Anonymized | $2.50 / $7.50 per 1M |

### Qwen 3.8 Max specifications

| Spec | Value |
| - | - |
| Provider | Alibaba Qwen |
| Released | Jul 22, 2026 |
| Privacy | Anonymized |
| Status | Stable |
| Context window | 1M tokens |
| Max output | 128K tokens |
| Reasoning effort | Not adjustable |
| [GPQA Diamond](https://docs.venice.ai/models/methodology.md#benchmarks) | 65.2% ±6.7 (95% interval), run by Venice through the API at its default reasoning on Oct 22, 2026 |

### How to use the Qwen 3.8 Max API

Send requests to `POST https://api.venice.ai/api/v1/chat/completions` with `"model": "qwen-3-8-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-3-8-max",
    "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }]
  }'
```

### Related models

* [Qwen 4 Max API](https://docs.venice.ai/models/qwen-4-max.md): $1.50 / $4.50 per 1M
* [Qwen 3.7 Max API](https://docs.venice.ai/models/qwen-3-7-max.md): $2.70 / $8.05 per 1M
* [Claude Sonnet 5 API](https://docs.venice.ai/models/claude-sonnet-5.md): $2.00 / $10.00 per 1M
* [Grok 4.5 API](https://docs.venice.ai/models/grok-4-5.md): $2.27 / $6.80 per 1M
* [Grok 4.6 API](https://docs.venice.ai/models/grok-4-6.md): $2.27 / $6.80 per 1M
* [Gemini 3.5 Flash API](https://docs.venice.ai/models/gemini-3-5-flash.md): $1.55 / $9.45 per 1M


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