All models
Qwen

Qwen3.7 MAX API: pricing, base URL and quick setup

Use Qwen3.7 MAX on A2Agent with model ID qwen3.7-max. The catalog lists a 1M context window. Check token rates below and verify the features your app needs.

Specifications and pricing

Model IDqwen3.7-max
PlatformQwen
Context window1M
Tagged forchat, reasoning
Discount-20%
Input / 1M tokens$1.70$1.36
Output / 1M tokens$5.10$4.08

USD per 1M tokens. Final billing depends on your API key group and metered usage.

What Qwen3.7 MAX costs on A2Agent

The official price is $1.70 input and $5.10 output per 1M tokens. On A2Agent it is $1.36 and $4.08. A month of 10M input and 2M output tokens costs $27.20 at the official price and $21.76 on A2Agent.

Good to know

  • The reference rates in the table are the Alibaba Cloud Beijing rates converted to USD. Alibaba lists higher international rates, $2.5 input and $7.5 output per 1M tokens as of 2026-11-06.
  • The plain qwen3.7-max name takes text input only. A dated 2026-06-08 snapshot adds vision.

Where Qwen3.7 MAX fits

  • Coding agents from prototype to multi-file work

    Alibaba says Qwen3.7-Max excels as a coding agent, from frontend prototyping to complex multi-file engineering, and runs in Claude Code, Qwen Code and similar frameworks.

    Basis: Qwen3.7 announcement and Alibaba Cloud readme; Terminal Bench 2.0 and SWE-Pro results below.

  • Tool-heavy agent workflows

    Alibaba describes it as its most versatile model for agent-driven workflows. The catalog tags it for reasoning, and Alibaba lists both thinking and non-thinking modes.

    Basis: Alibaba Cloud model page; catalog reasoning tag.

  • Very long inputs with a large output budget

    Alibaba lists a 1,000,000 token window, 991,808 tokens of maximum input, 131,072 of maximum output and up to 262,144 tokens of chain of thought.

    Basis: Alibaba Cloud model page.

  • Not for image or video input

    The plain alias is text only, and the catalog does not tag this model for vision. Qwen3.7 Plus is tagged for vision.

    Basis: Alibaba Cloud model page; catalog tags.

Vendor-reported benchmarks

These figures come from the vendor, not from A2Agent tests. Harnesses, reasoning effort and sampling differ between vendors, so do not rank models by them. Checked 2026-11-06.

BenchmarkScoreVendor test conditions
Terminal Bench 2.069.7Harbor/Terminus-2 harness, 5h timeout, temperature 1.0, top_p 0.95, top_k 20, 80K max tokens, 256K context, average of 5 runs.
SWE-Pro60.6Alibaba internal scaffold with bash and file-edit tools, temperature 1.0, top_p 0.95, 200K context. Run count not stated.
SkillsBench59.2OpenCode on 78 tasks, excluding 9 that depend on external APIs, average of 5 runs.
GPQA Diamond92.4Reasoning effort xhigh. Sampling settings and tool use not stated.

How Qwen3.7 MAX compares

Qwen ships two reasoning-tagged models here, 3.7 MAX and 3.8 MAX, and both run the 1M window shared across the family. Qwen3.7 MAX lists at $1.70 per million input tokens and $5.10 output. Qwen3.8 MAX lists at $2.00 and $6.00, about eighteen percent more on each side. Nothing else in the catalog separates them, so the choice is the newer release against the cheaper one. Everything else in the Qwen line is tagged for vision rather than reasoning: the Plus tier at $0.50 to $1.20 on input, the Flash tier at $0.15 to $0.20. If the task is long-chain reasoning rather than reading, the MAX pair is where to look, and 3.7 MAX is the cheaper way in.

These comparisons use catalog context limits, tags and reference rates, not independent quality benchmarks. Rates can change. Check current pricing above and test your workload; a higher price or a larger context window does not establish better results.

ModelContextInput / output per 1MWhat differs
Qwen3.7 Plus1M—Alibaba positions Plus as the cost-effective tier with a stronger vision-language upgrade. On the Beijing list Plus is 2 CNY input and 8 CNY output per 1M tokens up to 256K input, against 12 and 36 for Max.
Qwen3.8 MAX1M—Alibaba describes Qwen3.8-Max as a 2.4-trillion-parameter flagship. Its Beijing rate matches Qwen3.7-Max; its international rate is lower, $2 input and $6 output per 1M tokens.
GLM-5.31M—GLM-5.3 is text only with a 128K maximum output and reasoning that cannot be switched off. Qwen3.7-Max has thinking and non-thinking modes and a 131,072 maximum output.

Quick setup

curl https://a2agent.me/v1/chat/completions \
  -H "content-type: application/json" \
  -H "authorization: Bearer sk-your-a2agent-key" \
  -d '{
    "model": "qwen3.7-max",
    "messages": [{"role": "user", "content": "Reply with OK"}]
  }'

Using it from a coding client

In Claude Code or Codex CLI, check the token count before sending a large codebase. Track output usage as well: the listed output rate is $5.10 per million tokens.

Questions

What is the context window?

1M tokens.

How does it compare with Qwen3.8 MAX?

Same window, same reasoning tag. Qwen3.7 MAX is about fifteen percent cheaper on both sides, $1.70 and $5.10 against $2.00 and $6.00.

Why not use a Flash release instead?

The Flash models are tagged for chat and vision, not reasoning, and they cost a tenth as much. Use them for reading and triage, and escalate to MAX when a task stalls.

Which protocol should I call it with?

The one your client speaks: the Claude Code guide uses Anthropic Messages, the Codex CLI guide OpenAI Responses. Call GET /v1/models with your key to confirm it can reach this model.

Billed per token. Top up from $5, no top-up fee.