Qwen 3.7 Max API

Qwen3.7-Max is Alibaba’s flagship reasoning and agentic LLM optimized for coding, productivity, long-context understanding and autonomous workflows. Text input and text output only. Supports function calling, explicit context cache and advanced reasoning capabilities.

Modalities
TextText
In / Out price
$2/$6per 1M
Context window
1M tokens
Released
May 21, 2026

Qwen 3.7 Max overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by Qwen 3.7 Max through AI/ML API

Qwen 3.7 Max by Alibaba Cloud

Positioned at the very top of Alibaba's Qwen model family, Qwen3.7-Max isn't a general-purpose assistant with reasoning bolted on, reasoning is its foundation.

Qwen 3.7 Max specs

Model ID
alibaba/qwen3.7-max
Developer
Alibaba Cloud
Context window
1,000,000 tokens
Max output
65,536 tokens
Input
Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

What is Qwen3.7 Max API?

Building production AI systems is hard. Most models handle isolated tasks well enough, but fall apart the moment you need them to chain together complex steps, work with external tools, or maintain coherent context across long documents. Qwen3.7 Max was built specifically to close that gap.

The model handles deep reasoning chains, synthesizes information from long-context inputs, calls external functions with precision, and participates in fully autonomous agentic pipelines, all with competitive API pricing that doesn't punish high-volume usage.

Whether you're building a code-generation pipeline, an enterprise document Q&A system, or a multi-step research agent, Qwen3.7-Max gives you the raw reasoning power and API flexibility to make it work.

Eight Things Qwen3.7-Max Does Well

These aren't marketing checkboxes. Each capability reflects how the model was trained and what it was optimized to handle in production.

What Teams Are Building with Qwen3.7 Max

The model's strengths map cleanly onto a set of high-value production use cases where reasoning depth and tool integration actually matter.

Developer Tooling & Code Generation

From autocompletion to full feature implementation, Qwen3.7-Max understands project-level context and produces clean, well-structured code across languages.

Enterprise Document Intelligence

Process contracts, reports, financial filings, and internal knowledge bases at scale. The long-context window keeps the model grounded in what's actually in the document.

Autonomous AI Agents

Build agents that can plan, call tools, browse the web, and iterate on their own. Qwen 3.7 Max's agentic and function-calling capabilities make it a strong backbone for agent frameworks.

Use cases

Qwen3.7 Max is documented as suited to coding agents, including frontend prototyping and complex multi-file software engineering. It is also suited to office and productivity work, especially office workflow automation and multi-agent orchestration for productivity tasks.

It is documented for long-horizon autonomous execution, handling complex multi-step tasks that can run for hundreds or thousands of actions. It is also presented as useful for general-purpose conversational use cases such as knowledge-based question answering, instruction following, and creative writing.

Capabilities

  • Function calling
  • Streaming
  • Reasoning
  • Web search

Qwen 3.7 Max benchmarks by Artificial Analysis

See how Qwen 3.7 Max compares in generation speed and latency. Data retrieved Nov 3, 2026.

Speed

Output tokens / second

Benchmark results

Compare 9 models available on AI/ML API across 5 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

Qwen 3.7 Max API pricing

Qwen 3.7 Max pricing in US dollars
UsagePriceUnit
Input$21M tokens
Output$61M tokens
Cached input$21M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Qwen 3.7 Max vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Qwen 3.7 Max$2$6
Qwen3.8 Omni Flash$0.15$0.47
Qwen3.8-Flash$0.16$0.47
Qwen 3.8 27B$0.4761$3.39
Qwen3.8 Max Prime$4.23$12.7

How to use the Qwen 3.7 Max API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "alibaba/qwen3.7-max",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Qwen 3.7 Max FAQ

What is the context window of Qwen 3.7 Max?

Qwen 3.7 Max has a 1,000,000 tokens context window and can return up to 65,536 tokens.

What inputs and outputs does Qwen 3.7 Max support?

Qwen 3.7 Max takes text as input and returns text.

What is the model ID for Qwen 3.7 Max?

Use alibaba/qwen3.7-max as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

When was Qwen 3.7 Max released?

Qwen 3.7 Max became available on May 21, 2026.

How much does Qwen 3.7 Max cost?

Qwen 3.7 Max costs $2 input and $6 output per 1M tokens on AI/ML API, billed as you go with no subscription.

Does Qwen 3.7 Max support streaming?

Yes, Qwen 3.7 Max can stream responses as they are generated.

Who created Qwen 3.7 Max?

Qwen 3.7 Max was built by Alibaba Cloud.

Does Qwen 3.7 Max support tool calling for function execution?

Yes, it supports function calling and tool use, including parallel tool calls.

Start building with Qwen 3.7 Max

Qwen 3.7 Max API

alibaba/qwen3.7-max

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "alibaba/qwen3.7-max",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'