← Home

Guide

OpenClaw + Qwen3.8-Max: Run Alibaba's 2.4T Model on Your Agent

Alibaba shipped Qwen3.8-Max on August 3, 2026 — a 2.4-trillion-parameter mixture-of-experts model with a 1M-token context window, now reachable through a plain OpenAI-compatible endpoint. Here is the model ID, the real pricing, and how to point an OpenClaw agent at it with your own key.

What Is Qwen3.8-Max?

Qwen is Alibaba's model family, and Qwen3.8-Max is its largest release to date: a sparse mixture-of-experts model at 2.4 trillion total parameters (Alibaba has not disclosed the active-parameter count). It accepts text, images, and video as input and returns text, and it carries a published 1M-token context window.

This is the release the model was pointing at when we covered the July announcement, when it was preview-only with no public model ID, no pricing, and no listing on Alibaba Cloud Model Studio. All three of those gaps closed on launch day. Alibaba also said the weights would be published the following week, alongside a smaller open-weights Qwen3.8-27B.

Qwen3.8-Max Specs and Pricing

PropertyValue
Model IDqwen3.8-max
ArchitectureMixture-of-experts, 2.4T total parameters
Context window1M tokens (max input ~991K; ~983K with thinking enabled)
Max output131K tokens (reasoning budget up to 262K)
Input modalitiesText, image, video → text out
Price$2.00 / 1M input, $6.00 / 1M output
Cached input$0.25 implicit read, $0.17 explicit read, $2.50 explicit write

On the benchmarks Alibaba published at launch, Qwen3.8-Max scored 86.6 on Terminal-Bench 2.1, 92.6 on GPQA Diamond, 93.0 on PaperBench, 86.1 on OSWorld-Verified, and 92.1 on OmniDocBench 1.5 — numbers Alibaba positions against frontier Western models. Treat vendor-published scores as a starting point and check independent evaluations before committing a production workload.

Where You Can Get Qwen3.8-Max Today

  • Alibaba Cloud Model Studio (DashScope) — the official API, and the one that matters here because it speaks the OpenAI protocol.
  • chat.qwen.ai — Alibaba's own chat surface, for trying the model before wiring it into anything.
  • QwenWork — Alibaba's workplace agent platform, which entered public beta the same day (more on that below).

Note the one that is not on the list yet: OpenRouter had no qwen3.8-max entry at launch, unlike Qwen 3.7 Max, which routes through it normally. Until it lands there, go direct to DashScope. Check the model list for what OpenClaw Launch offers as a one-click pick today.

How to Use Qwen3.8-Max with OpenClaw Launch

Qwen3.8-Max is new enough that you run it as a bring-your-own-key custom model rather than a curated one-click option. It still deploys in about 30 seconds:

  1. Create a DashScope API key at dashscope.aliyun.com (Alibaba Cloud Model Studio).
  2. Go to openclawlaunch.com and open the configurator.
  3. Add your DashScope key under BYOK, and set the endpoint to Alibaba's OpenAI-compatible base URL for your region — https://dashscope-intl.aliyuncs.com/compatible-mode/v1 for Singapore, https://dashscope.aliyuncs.com/compatible-mode/v1 for Beijing.
  4. Enter qwen3.8-max as the model.
  5. Pick your chat platform (Telegram, Discord, WhatsApp, WeChat, or the browser gateway) and click Deploy.
Tip: A 1M-token context window is billed like any other context. If you are pasting large documents into every turn, the cached-input price is what to watch, not the headline $2 — and you can switch models any time from the dashboard or with the /model chat command, no redeploy.

Self-Hosted Configuration

If you run OpenClaw on your own server, add DashScope as a custom OpenAI-compatible provider in openclaw.json and point the default agent at it:

{
  "models": {
    "providers": {
      "dashscope": {
        "baseUrl": "https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
        "apiKey": "sk-...",
        "api": "openai-completions",
        "models": [
          {
            "id": "qwen3.8-max",
            "name": "Qwen3.8-Max",
            "input": ["text", "image"],
            "contextWindow": 1000000,
            "maxTokens": 131072
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "dashscope/qwen3.8-max"
      }
    }
  }
}

The api: "openai-completions" adapter is the right one for DashScope's compatible-mode endpoint. Use the Beijing base URL instead if your key was issued in that region — keys are not portable across regions.

Qwen3.8-Max vs Qwen 3.7 Max

Qwen 3.7 MaxQwen3.8-Max
Context1M via OpenRouter1M native
InputsTextText, image, video
RoutingOpenRouter or DashScopeDashScope direct (no OpenRouter listing at launch)
Best forProven, easy BYOK routingHardest reasoning, agentic and long-document work

If you already run Qwen 3.7 Max through OpenRouter and it is working, there is no urgency to move. Qwen3.8-Max is the upgrade to reach for when a task is genuinely bottlenecked on reasoning depth, multimodal input, or a context window you are actually filling.

What About QwenWork?

Alongside the model, Alibaba opened public beta on QwenWork, a workplace agent platform delivered through web and desktop apps and wired into DingTalk for enterprise documents, approvals, and knowledge bases. It turns a request into a deliverable — a document, a slide deck, a small deployed app.

It is a genuinely capable product, and it is also a closed loop: your agent lives inside Alibaba's suite, on Alibaba's model, reachable on Alibaba's surfaces. The tradeoff with an OpenClaw Launch agent is the opposite one — you pick the model (Qwen3.8-Max today, something else next month), you bring your own key and billing, and the agent meets your users on Telegram, Discord, WhatsApp, WeChat, or the web. Both are valid; they just answer different questions about who owns the agent.

What's Next?

Deploy with Qwen3.8-Max

Bring your DashScope key and get an always-on agent running in 30 seconds.

Deploy Now