# Alibaba Qwen4 Max Preview API

> Qwen4 Max Preview is the first model of Alibaba's Qwen 4 generation, released on November 11, 2026 as the next-generation flagship multimodal model in the Qwen family. It combines text generation, image and video understanding and deep reasoning (thinking on by default), with tool calling, web search and structured outputs, a 1M-token context and up to 393K output tokens. Alibaba positions it for coding, office work, frontend design and complex agent tasks. It is a time-limited preview that Alibaba plans to retire after November 25, 2026.

Source: https://www.sandbase.ai/models/alibaba/qwen4-max-preview
API reference: https://www.sandbase.ai/models/alibaba/qwen4-max-preview#api

## Facts

- Provider: Alibaba
- Type: Language model
- Model ID: `alibaba/qwen4-max-preview`
- Price: $2 per 1M input tokens, $6 per 1M output tokens
- Capabilities: chat, vision, reasoning, structured output, function calling
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Chat Completions API: `POST https://api.sandbase.ai/v1/chat/completions`

```bash
curl -X POST https://api.sandbase.ai/v1/chat/completions \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "alibaba/qwen4-max-preview",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 2048
}'
```

## FAQ

### How do I call Alibaba Qwen4 Max Preview through SandBase?

Create a SandBase API key, then send requests with the model ID "alibaba/qwen4-max-preview" to Chat Completions API (/v1/chat/completions) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### How much does Alibaba Qwen4 Max Preview cost?

$2 per 1M input tokens and $6 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.

### Which features does Alibaba Qwen4 Max Preview support?

Alibaba Qwen4 Max Preview supports vision (image input), reasoning, function calling, structured output. See Specifications above for the full list.

### Do I need a separate Alibaba account?

No. One SandBase API key and balance gives you access to Alibaba Qwen4 Max Preview and the other models in the catalog; you do not need to sign up with Alibaba separately.
