Alibaba · Checked October 13, 2026

How do I run Qwen 3.8 Max or Qwen 3.8 27B in OpenCode, Claude Code or Codex?

Standard Compute serves Qwen 3.8 Max as qwen/qwen3.8-max-0902 and Qwen 3.8 27B as qwen/qwen3.8-27b on every monthly plan from $19, a fixed compute budget that answers HTTP 402 at 100%. Both work in OpenCode, Claude Code and Codex with one key, with no Alibaba Cloud account, phone verification or separate billing setup.

ModelAlibaba's Qwen 3.8 generation. Max is the flagship with a thinking mode; 27B is a dense vision-language model that also reads video.
Model IDsqwen/qwen3.8-max-090227B: qwen/qwen3.8-27b
Base URLhttps://api.stdcmpt.com/v1Claude Code uses https://api.stdcmpt.com
Context1M tokensA request here takes up to about 850K input and 50K output tokens
InputMax: text and images. 27B: text, images and video
ReasoningMax: minimal to xhigh. 27B: no setting yet

Copy a working config

The configs pin Max. Swap in qwen/qwen3.8-27b for the smaller model, or select both on the Models page and keep the model on standardcompute.

~/.config/opencode/opencode.json/v1/chat/completions
{
  "$schema": "https://opencode.ai/config.json",
  "model": "standardcompute/qwen/qwen3.8-max-0902",
  "provider": {
    "standardcompute": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Standard Compute",
      "options": {
        "baseURL": "https://api.stdcmpt.com/v1",
        "apiKey": "{env:STANDARDCOMPUTE_API_KEY}"
      },
      "models": {
        "qwen/qwen3.8-max-0902": { "name": "Qwen 3.8 Max" },
        "standardcompute": { "name": "Smart routing" }
      }
    }
  }
}

Replace YOUR_API_KEY with a key from the dashboard. This config reads your key from STANDARDCOMPUTE_API_KEY; export it with a key from the dashboard. Full setup: OpenCode, Claude Code, Codex CLI.

What it costs

Per 1M tokensQwen 3.8 MaxQwen 3.8 27B
Input$2.00$0.50
Output$6.00$3.00

Alibaba Cloud Model Studio, Singapore (international) region. Max also lists implicit cache reads at $0.25. Source: Alibaba Cloud Model Studio: Qwen 3.8 Max, checked October 13, 2026.

27B costs a quarter of Max per input token but half of Max per output token, so it is most efficient where an agent reads a lot and writes little. Selected together, routing gives routine steps to 27B and hard ones to Max.

What works differently here

  • Use the dated Max ID, qwen/qwen3.8-max-0902. The undated qwen/qwen3.8-max is a temporary alias that will be removed.
  • 27B has no reasoning setting yet because we have not finished measuring how it responds to one; Max honors effort levels from minimal to xhigh.
  • Alibaba sells its own Model Studio token plans. If Qwen is the only model you use, compare those first; a Standard Compute plan fits when Qwen shares the month with other vendors.

Other ways to run Qwen 3.8 (Max and 27B)

Alibaba Model StudioPay per tokenFirst-party; rates vary by region.
OpenRouterPay per tokenBoth models with provider fallback and one account for other vendors.
Standard ComputeMonthly planMax, 27B and Qwen 3.8 Flash next to other vendors on one key.

FAQ

Is Qwen 3.8 Flash available too?

Yes, as qwen/qwen3.8-flash. It is the lowest-priced Qwen 3.8 model in the catalog; GET https://api.stdcmpt.com/v1/models lists every ID.

Which Qwen 3.8 model should a coding agent use?

Max for steps where quality matters, 27B for routine reading and tool calls. If you do not want to manage the split, select both and leave the model on standardcompute.

Can Qwen 3.8 27B read video?

Yes. On Standard Compute, 27B accepts text, images and video. Max accepts text and images.

Sources: Alibaba Cloud Model Studio: Qwen 3.8 Max; Alibaba Cloud Model Studio: Qwen 3.8 27B

Create your key

Sign in, create a key in the dashboard and paste it into the config above.

Get your API key