inference-providers

Qwen3.7 Max

by alibaba · family qwen3

Facts

Release date2026-05-20
Retired date
Knowledge cutoff
Context (max)1,000,000
Max output16,384
Modalitiestext → text
Aliasesqwen3.7-max
Open weightsno
DescriptionQwen's most capable proprietary model at the 3.7 generation (snapshot 2026-05-20); 1M context, 131K output, text input, thinking mode supported. CNY 12/36 per Mtok (Beijing); the 2026-06-08 snapshot adds vision.

Unknown values are shown as —.

Offerings

ProviderWire IDVariantEndpointProtocolStatusPrice (USD / Mtok)Reasoning
NEAR AI Cloudqwen/qwen3.7-maxchatopenai-chatga2.80 / 7.50adaptive · default on · returns reasoning_content
OpenCode Goqwen3.7-maxgo-chat-completionsopenai-chatgaadaptive · default on · returns reasoning_content

Reasoning controls

NEAR AI Cloud· qwen/qwen3.7-max· chat adaptive

adaptive · default on · returns reasoning_content

OpenCode Go· qwen3.7-max· go-chat-completions adaptive

adaptive · default on · returns reasoning_content

Example requests

NEAR AI Cloud · openai-chat · qwen/qwen3.7-max

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

resp = requests.post(
    "https://cloud-api.near.ai/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "qwen/qwen3.7-max",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ]
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://cloud-api.near.ai/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "qwen/qwen3.7-max",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ]
  }),
})
console.log(await resp.json())

OpenCode Go · openai-chat · qwen3.7-max

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

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