inference-providers

Qwen3.8 Max

by alibaba · family qwen3

Facts

Release date2026-08-03
Retired date
Knowledge cutoff
Context (max)1,048,576
Max output
Modalitiestext, image, video → text
Aliasesqwen3.8-max
Open weightsno
DescriptionFlagship MoE (~2.4T), 1M context; $2/$6 per Mtok; first Max-class promised open — weights pending. Preview 2026-07-19.

Unknown values are shown as —.

Intelligence Index v4.1.1: 58 · base · Source: Artificial Analysis (accessed 2026-08-20)

Offerings

ProviderWire IDVariantEndpointProtocolStatusPrice (USD / Mtok)Reasoning
Alibaba Model Studio (DashScope)qwen3.8-maxcompatible-mode-chatopenai-chatga2.00 / 6.00toggle · default on · returns reasoning_content · round-trips reasoning_content
OpenCode Goqwen3.8-maxgo-messagesanthropic-messagesgatoggle · default on · returns reasoning_content
OpenRouterqwen/qwen3.8-max-0902chat-completionsopenai-chatga2.00 / 6.00effort · default on · mandatory · returns reasoning_content · round-trips reasoning_content

Reasoning controls

Alibaba Model Studio (DashScope)· qwen3.8-max· compatible-mode-chat toggle

enable_thinking on true · off false

toggle · default on · returns reasoning_content · round-trips reasoning_content

OpenCode Go· qwen3.8-max· go-messages toggle

enable_thinking on true · off false

toggle · default on · returns reasoning_content

OpenRouter· qwen/qwen3.8-max-0902· chat-completions effort

reasoning.effort minimallowmediumhighxhigh●

effort · default on · mandatory · returns reasoning_content · round-trips reasoning_content

Example requests

Alibaba Model Studio (DashScope) · openai-chat · qwen3.8-max

curl 'https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "qwen3.8-max",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "enable_thinking": true
}'
Python (requests)
import requests

resp = requests.post(
    "https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "qwen3.8-max",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "enable_thinking": true
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "qwen3.8-max",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "enable_thinking": true
  }),
})
console.log(await resp.json())
  • ⚠ Responses include reasoning_content artifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).

OpenCode Go · anthropic-messages · qwen3.8-max

curl 'https://opencode.ai/zen/go/v1/messages' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "qwen3.8-max",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "enable_thinking": true
}'
Python (requests)
import requests

resp = requests.post(
    "https://opencode.ai/zen/go/v1/messages",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "qwen3.8-max",
      "max_tokens": 1024,
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "enable_thinking": true
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://opencode.ai/zen/go/v1/messages", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "qwen3.8-max",
    "max_tokens": 1024,
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "enable_thinking": true
  }),
})
console.log(await resp.json())

OpenRouter · openai-chat · qwen/qwen3.8-max-0902

curl 'https://openrouter.ai/api/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "qwen/qwen3.8-max-0902",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "reasoning": {
    "effort": "xhigh"
  }
}'
Python (requests)
import requests

resp = requests.post(
    "https://openrouter.ai/api/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "qwen/qwen3.8-max-0902",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "reasoning": {
        "effort": "xhigh"
      }
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://openrouter.ai/api/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "qwen/qwen3.8-max-0902",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "reasoning": {
      "effort": "xhigh"
    }
  }),
})
console.log(await resp.json())
  • ⚠ Responses include reasoning_content artifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).