Qwen (Alibaba Cloud)

Qwen official API (Alibaba Cloud Model Studio, international). Bring your own key; nothing is billed by us.

What the harness already knows

Provider idqwen
Base URLhttps://dashscope-intl.aliyuncs.com/compatible-mode/v1
ProtocolOpenAI-compatible chat completions
API keyDASHSCOPE_API_KEY
Model discoveryYes — the model list is asked of the endpoint rather than shipped.

Connecting it

The endpoint above is built in, so there is nothing to configure. Put the key in the environment and the provider appears in the model picker:

export DASHSCOPE_API_KEY="..."

Keys are issued by Qwen (Alibaba Cloud) — where to get one.

Models on Qwen (Alibaba Cloud)

The newest models Qwen (Alibaba Cloud) serves that can call tools, from the models.dev snapshot OHarness ships. The harness also asks the endpoint for its live list, so a model released after this snapshot still appears in the picker.

Model idContext / output$/M in / cached / outReasoning
qwen3.8-flash1M / 131K0.15 / 0.016 / 0.47Yes
qwen3.8-max1M / 131K2 / 0.25 / 6Yes
deepseek-v4-flash-07311M / 384K0.2 / 0.04 / 0.4Yes
kimi-k31.05M / 1.05M3 / 0.3 / 15Yes
glm-5.21M / 131K1.4 / 0.28 / 4.4Yes
qwen3.7-plus1M / 66K0.5 / 0.05 / 3Yes
qwen3.7-max1M / 66K2.5 / 0.5 / 7.5Yes
qwen3.6-flash1M / 66K0.1875 / — / 1.125Yes
qwen3.6-27b262K / 66K0.6 / — / 3.6Yes
qwen3.6-max-preview262K / 66K1.3 / 0.13 / 7.8Yes

List prices in USD per million tokens, read from models.dev on 2026-09-19. Qwen (Alibaba Cloud) changes its prices and models; its own pricing page is the authority. Start a session on the newest:

oharness -m qwen/qwen3.8-flash

Worth knowing

Alibaba Cloud International. Only the international endpoint is listed; a mainland account can point this entry at https://dashscope.aliyuncs.com/compatible-mode/v1 in a user catalog.

Pointing it somewhere else

A regional host, a gateway, or a server of your own. Overrides in ~/.oharness/config.json are field level, so changing the endpoint does not mean restating the rest of the provider — this is the whole block, shown holding the default so the shape is clear:

{
  "providers": {
    "qwen": {
      "baseUrl": "https://dashscope-intl.aliyuncs.com/compatible-mode/v1"
    }
  }
}

What you get either way

The same agent loop, the same tools, the same MCP servers and the same permission rules, whichever provider is underneath — and switching between them mid-session converts nothing, because history is never stored in a vendor’s shape. What an agent harness is covers why that is the hard part, and the providers reference covers the catalogue itself.

All 34 providers · Install OHarness