Models / Qwen / Qwen3.7 Max
Qwen

Qwen3.7 Max

BYOKClosedReleased 21 May 2026

Alibaba's closed, large-context reasoning model with tool calling. Its standout result is software repair on SWE-bench Verified, near the top of the tested models.

Read the full description ↓

Spec sheet

Family
Qwen
Released
21 May 20266 months ago
Weights
Closed
Context window
1M tokens
Largest response
131k tokens
Accepts
text
Supports
tools, reasoning, structured output
Knowledge cutoff
–
Intelligence index
65.9#36
Input price
$1.48 / 1M
Output price
$4.42 / 1M
Blended price (3:1)
$2.21 / 1M
Index points per $
29.8#66
Speed
72 tokens/sec#82
Popularity
#141 of 194by usage
Providers
3

Benchmarks

Score · rank among models tested

The tick on each bar marks the registry median; hover over a bar for the numbers. Sources and how the index is computed: methodology.

Providers and prices

$ per 1M tokens · from genai-prices
ProviderGatewayPydantic AI model stringInputCached inputOutputBlended
NovitaBYOK–$1.25$0.25$3.75$1.88
OpenRouterBYOKopenrouter:qwen/qwen3.7-max $1.48$0.29$4.42$2.21
Together AIBYOKtogether:Qwen/Qwen3.7-Max $2.5$0.5$7.5$3.75

The cheapest provider is highlighted. Blended price assumes three input tokens for each output token.

Example code

# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['OPENROUTER_API_KEY'] = '...'

agent = Agent('openrouter:qwen/qwen3.7-max', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)

Ask Qwen3.7 Max a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

Compare

Qwen3.7 MaxvsGLM 5.3 Flash
Intelligence index
205590$0.1$1$10GLM 5.3 Flash: 66.1 at $0.24 blendedQwen3.7 Max: 65.9 at $2.21 blended
GPQA Diamond
5075100$0.1$1$10GLM 5.3 Flash: 90.2% at $0.24 blendedQwen3.7 Max: 90.9% at $2.21 blended
OTIS Mock AIME
4070100$0.1$1$10GLM 5.3 Flash: 93.9% at $0.24 blendedQwen3.7 Max: 95.6% at $2.21 blended
FrontierMath
1055100$0.1$1$10GLM 5.3 Flash: 55.8% at $0.24 blendedQwen3.7 Max: 64.6% at $2.21 blended
ARC-AGI-2
050100$0.1$1$10GLM 5.3 Flash: 65.8% at $0.24 blended
SimpleQA Verified
1055100$0.1$1$10Qwen3.7 Max: 55.8% at $2.21 blended
SWE-bench Verified
507090$0.1$1$10Qwen3.7 Max: 77.3% at $2.21 blended
SciCode
204570$0.1$1$10GLM 5.3 Flash: 51.6% at $0.24 blendedQwen3.7 Max: 49.5% at $2.21 blended
WebDev Arena
122015251830$0.1$1$10GLM 5.3 Flash: 1607.1 at $0.24 blendedQwen3.7 Max: 1517.1 at $2.21 blended
APEX-Agents
04590$0.1$1$10GLM 5.3 Flash: 52.8% at $0.24 blended
LMArena text
128014101540$0.1$1$10GLM 5.3 Flash: 1471.7 at $0.24 blended
Epoch Capabilities Index
120150180$0.1$1$10GLM 5.3 Flash: 153.8 at $0.24 blendedQwen3.7 Max: 154.6 at $2.21 blended

Score against blended price per 1M tokens (log scale). Qwen3.7 Max   GLM 5.3 Flash   other models

Intelligence indexOur composite of the benchmarks below, 0-100
Qwen3.7 Max65.9
GLM 5.3 Flash66.1
GPQA DiamondGraduate-level science questions, multiple choice
Qwen3.7 Max90.9%
GLM 5.3 Flash90.2%
OTIS Mock AIMECompetition mathematics problems with exact answers
Qwen3.7 Max95.6%
GLM 5.3 Flash93.9%
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
Qwen3.7 Max64.6%
GLM 5.3 Flash55.8%
ARC-AGI-2Abstract visual puzzles that test learning a new rule from a few examples
Qwen3.7 Max–
GLM 5.3 Flash65.8%
SimpleQA VerifiedShort factual questions answered from memory, without search
Qwen3.7 Max55.8%
GLM 5.3 Flash–
SWE-bench VerifiedReal GitHub issues resolved, run by Epoch with one fixed scaffold
Qwen3.7 Max77.3%
GLM 5.3 Flash–
SciCodeScientific programming problems written by researchers
Qwen3.7 Max49.5%
GLM 5.3 Flash51.6%
WebDev ArenaRating from human votes on web apps the models built
Qwen3.7 Max1517.1
GLM 5.3 Flash1607.1
APEX-AgentsLong professional tasks (banking, consulting, law) passed on the first attempt
Qwen3.7 Max–
GLM 5.3 Flash52.8%
LMArena textRating from blind human votes between pairs of chat responses
Qwen3.7 Max–
GLM 5.3 Flash1471.7
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
Qwen3.7 Max154.6
GLM 5.3 Flash153.8
Input pricePer 1M tokens, lower is better
Qwen3.7 Max$1.48
GLM 5.3 Flash$0.15
Output pricePer 1M tokens, lower is better
Qwen3.7 Max$4.42
GLM 5.3 Flash$0.5
EfficiencyIndex points per blended $
Qwen3.7 Max30
GLM 5.3 Flash278
SpeedOutput tokens per second
Qwen3.7 Max72 t/s
GLM 5.3 Flash86.5 t/s
Context windowTokens
Qwen3.7 Max1M
GLM 5.3 Flash1M
Model stringFor Pydantic AI
Qwen3.7 Maxopenrouter:qwen/qwen3.7-max
GLM 5.3 Flashgateway/doubleword:zai-org/GLM-5.3-Flash

About Qwen3.7 Max

Description written by an LLM from the data on this page

Alibaba's closed, large-context reasoning model with tool calling. Its standout result is software repair on SWE-bench Verified, near the top of the tested models.

Qwen3.7 Max is a closed-weight model from Alibaba, released May 2026, and it accepts text input only. It offers a 1M token context window, responses up to 131k tokens, reasoning mode, tool calling and structured output. It is available through Novita, OpenRouter and Together AI.

Its overall intelligence index of 65.9 sits above the registry median of 59.5, and its SWE-bench Verified score of 77.3% ranks sixth of 23 tested. Results elsewhere are mostly close to the median: GPQA Diamond at 90.9%, OTIS Mock AIME at 95.6% and FrontierMath at 64.6% are all within about a point or two of it, while SciCode at 49.5% is slightly below. Its blended price of $2.21 per million tokens is well above the median of $1.01, so cost is the main trade-off.

Strengths

  • SWE-bench Verified 77.3%, 6th of 23 tested
  • Intelligence index 65.9, 37th of 114 and above the median
  • SimpleQA Verified 55.8%, 27th of 76, well above the median
  • 1M token context window with responses up to 131k tokens

Weaknesses

  • Blended price of $2.21 per million tokens, above the registry median
  • SciCode 49.5%, 54th of 96, slightly below the median
  • Accepts text input only

Best for

Coding agents and long-document tasks that need a 1M context window and tool calling.

One key, every model

Pydantic AI Gateway gives you the models marked with a single API key, spending limits and Logfire tracing. Bring your own key for the rest.

Start free  Read the docs