# Qwen 3.6 Max Preview

Qwen 3.6 Max Preview gives developers early access to Alibaba Cloud's next-generation Max-tier model ahead of general availability, with a focus on coding-agent reliability and front-end work.

- **Model ID:** `alibaba/qwen-3.6-max-preview`
- **Type:** chat
- **Providers:** alibaba
- **Context window:** 240,000
- **Maximum output tokens:** 64,000
- **Pricing:** $1.3/1M input tokens, $7.8/1M output tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/qwen-3.6-max-preview

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { streamText } from 'ai'

const result = streamText({
  model: 'alibaba/qwen-3.6-max-preview',
  prompt: 'Why is the sky blue?'
})
```

## About

Qwen 3.6 Max Preview is the preview entry in the Qwen 3.6 Max line, succeeding the previously released Qwen3-Max and complementing the Plus-tier Qwen3.6-Plus. Compared with those models, Qwen 3.6 Max Preview targets a different center of gravity: coding agents that need to plan and act over long horizons, front-end development work that demands accurate component output, and broader long-tail knowledge retention.

The model is served as a closed-weight API release with a context window of 240K tokens and a maximum output of 64K tokens, which gives it room for full repository context, multi-file diffs, and extended agent traces without segmentation. Tagged capabilities include reasoning, tool use, implicit caching, file input, and vision, so it can ingest images and document files alongside text within the same request.

The preview designation signals that Alibaba Cloud is iterating on Qwen 3.6 Max Preview ahead of its production release. Teams that integrate against the preview can validate prompt templates, evaluate output formatting for front-end scaffolding, and benchmark coding-agent loops against the new capability profile while AI Gateway handles provider routing and authentication. Because AI Gateway abstracts the underlying endpoint, migrating to the GA model identifier is a single configuration change.

## What to consider

Preview models can shift in capability or rate-limit behavior before general availability. Validate prompts and tool schemas against the preview, but plan a regression pass before migrating production traffic to the GA identifier.

## When to use

### Best For

- Coding-agent pipelines that need long-horizon planning and tool use across multiple turns
- Front-end development tasks where the model must produce accurate component code, layout, and styling
- Prototyping against a near-GA Max-tier model before committing production workloads
- Multimodal coding workflows that combine screenshots, design files, and text in a single request
- Long-context tasks that benefit from the window of 240K tokens, including repository ingestion and document plus image inputs

### Consider Alternatives When

- Your workload requires the stability guarantees of a generally available model, in which case wait for the Qwen 3.6 Max GA release
- You need a smaller, less expensive tier and the Plus line meets your quality bar, in which case Qwen3.6-Plus is a closer fit
- Visible chain-of-thought traces drive your evaluation, in which case Qwen3-Max-Thinking is a stronger match
- Workloads are text-only and never use vision or file input, where a dedicated text model can offer lower cost per token

## Best for

- **Long-Horizon Coding Agents:** Pipelines that plan and act across many tool-call turns with a context window of 240K tokens
- **Front-End Development Work:** Tasks where the model produces accurate component code, layout, and styling output
- **Pre-GA Evaluation:** Validating prompts and tool schemas against a near-final Max-tier model before production rollout
- **Multimodal Coding Workflows:** Combining screenshots, design references, and text in a single request via file input and vision
- **Repository And Document Ingestion:** Long-context tasks that load full codebases or document plus image inputs in one call

## Consider alternatives

- **GA Stability Required:** Wait for the Qwen 3.6 Max general availability release when production guarantees are needed
- **Smaller Tier Sufficient:** Qwen3.6-Plus is a closer fit when the Plus line already meets your quality bar at lower cost
- **Visible Reasoning Traces:** Qwen3-Max-Thinking is a stronger match when chain-of-thought transparency drives evaluation
- **Text-Only Pipelines:** A dedicated text model offers lower cost per token when vision and file input go unused

## Frequently asked questions

### What is the relationship between Qwen 3.6 Max Preview and Qwen3-Max?

Qwen 3.6 Max Preview is the preview release of the next generation in the Max tier, succeeding Qwen3-Max. Alibaba Cloud describes it as adding stronger vibe-coding ability, more efficient coding-agent execution, and improved front-end development skills, alongside upgraded long-tail knowledge retention.

### What is the context window for Qwen 3.6 Max Preview?

The context window is 240K tokens and the maximum output is 64K tokens, which suits long-horizon agent traces, full-repository inputs, and multimodal requests that combine text with images or files.

### Can Qwen 3.6 Max Preview accept images or files alongside text?

Yes. Qwen 3.6 Max Preview is tagged for vision and file input, so it can process images, documents, and text together within a single request through AI Gateway.

### How do I integrate Qwen 3.6 Max Preview through AI Gateway?

Authenticate with an AI Gateway API key or OIDC token and reference ``alibaba/qwen-3.6-max-preview`` as the model. You can call Qwen 3.6 Max Preview through AI SDK, Chat Completions API, Responses API, Messages API, or other API formats, from TypeScript or Python.

### Will prompts built against the preview work with the GA model?

In most cases yes, since the preview and GA share architecture and capability targets. Run regression tests before switching identifiers, as minor behavioral changes can occur between a preview build and its general availability release.

### Does Qwen 3.6 Max Preview support zero data retention?

Yes, Zero Data Retention is available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.

### Where can I see live latency and cost data for Qwen 3.6 Max Preview?

This page shows live throughput, time-to-first-token, and pricing metrics for Qwen 3.6 Max Preview measured across real AI Gateway traffic.

## Links

- [Model page](https://vercel.com/ai-gateway/models/qwen-3.6-max-preview)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://modelstudio.console.alibabacloud.com/ap-southeast-1?tab=doc#/doc/?type=model&url=2840914_2&modelId=qwen3.6-max-preview&serviceSite=international)
