Qwen 3.7 Max API

Alibaba's agent-focused flagship from the Qwen3.7 generation

qwen/qwen3.7-max
QwenConversation

About this model

Qwen3.7-Max is the flagship of Alibaba’s Qwen3.7 generation, unveiled in May 2026. Alibaba presents the generation as built for agent work, and Qwen3.7-Max has a 1-million-token context window and is proprietary.

It is the previous flagship relative to Qwen3.8 Max, which Alibaba released in August 2026. Choose Qwen3.7-Max if you want to stay on the earlier generation for consistent behavior; choose Qwen3.8 Max for the newer one.

In this catalog it is text-only with a context window of up to 1,000,000 tokens.

Use cases

  • Long multi-step agent tasks
  • Large-context document work
  • Coding assistance

Input and output

Input
Text
Output
Text

Developer

Developer
Qwen
Type
Conversation
Context
1,000,000 tokens

Qwen 3.7 Max request example

Use https://gatelum.com/v1 as the base URL and pass qwen/qwen3.7-max in the model field. You create the key in your account after signing up.

curl --silent --show-error --fail-with-body \
  --header 'Authorization: Bearer glt_YOUR_KEY' \
  'https://gatelum.com/v1/chat/completions' \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "qwen/qwen3.7-max",
  "messages": [
    {
      "role": "user",
      "content": "Hi! Tell me about yourself in two sentences."
    }
  ]
}
JSON
Claude Code and Anthropic-protocol clients

For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.

macOS / Linux
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=qwen/qwen3.7-max
claude

Where to use Qwen 3.7 Max

Guides with step-by-step instructions for the tools that support this model: