• Qwen
  • Text
  • 1M context
  • Reasoning

Qwen3.7 Max API: pricing, capabilities and setup

Qwen3.7 Max API through llmbox: the top text model of the Qwen3.7 generation for agents, code and long autonomous tasks, with a 1M-token context window.

pay as you go · no subscription · key right after sign-up

Model ID
Input
$0.19 / 1M $2.50
Output
$0.57 / 1M $7.50
Get a key No subscription · pay as you go

How much Qwen3.7 Max costs

  • Input
    $0.19
    per 1M tokens
    $2.50 −92%
  • Output
    $0.57
    per 1M tokens
    $7.50 −92%
  • Cache read
    $0.038
    per 1M tokens
  • Cache write
    $0.19
    per 1M tokens · same as input

Cost calculator

50 M tokens

75%

The rest is output

Direct from the provider
$188
With llmbox
$14
Savings
$174

What a typical task costs

TaskTokens (input / output)With llmboxDirect
Short chat2 000 / 500$0.00067$0.00875
Code review20 000 / 2 000$0.00494$0.065
Document summary40 000 / 2 000$0.00874$0.115
Agent session600 000 / 30 000$0.1311$1.725

Specs

  • Context
    1M
    tokens
  • Max output
    131K
    tokens
  • Input
    text

Capabilities

  • Tool calling
  • JSON schema output
  • Reasoning
  • Streaming

Endpoints

  • /v1/chat/completions
  • /v1/responses
  • /v1/messages

Setup in three steps

  1. 01
    Get a key

    Sign up and create an API key in the dashboard.

    Get a key →
  2. 02
    Set the base URL

    In any OpenAI-compatible client, point the API address to:

  3. 03
    Pass the model id

    Put this identifier in the model field:

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://llmbox.cc/v1",
    api_key=os.environ["LLMBOX_API_KEY"],
)
resp = client.chat.completions.create(
    model="qwen/qwen3.7-max",
    messages=[{"role": "user", "content": "Hi! Tell me about yourself in two sentences."}],
)
print(resp.choices[0].message.content)

What Qwen3.7 Max is good for

Qwen3.7 Max is the top model of Alibaba's Qwen3.7 generation. According to the Alibaba Cloud Model Studio documentation, it's a flagship for agent scenarios: programming, office tasks and long autonomous work. The model accepts and returns text only; the context window is 1,000,000 tokens and a single response can run up to 131,072 tokens.

What it's good for

The strength of Qwen3.7 Max is agents that carry out a long chain of steps without human input: they read code, plan changes, call your functions and check the result. The 1M-token window fits the long history of such a session together with large chunks of code and documents. The second area Alibaba names for the model is office work: reports, emails and summaries of long documents.

The model makes sense if your prompts are already tuned on the Qwen3.7 generation and you don't want the agent's behavior to change when you move to a new version. The same key works with Qwen3.8 Max, so it's easy to run both models on one task set and compare them on quality and cost in your request log.

When to pick another model

  • You need the current Qwen flagship with context caching — take Qwen3.8 Max.
  • Screenshots, photos or scans as input — Qwen3.7 Max works with text only; Qwen3.7 Plus accepts images.
  • Lots of simple requests where the per-token rate matters — Qwen3.8 Flash is a good fit.

How to connect

Qwen3.7 Max works in Codex CLI through the Responses API, and in Cursor and OpenCode through Chat Completions. You don't need an Alibaba Cloud account: your llmbox key and the base URL come from the Quickstart, and tool settings are in Integrations. Pass the model ID qwen/qwen3.7-max. The other Qwen models are on the Qwen API page.

Pricing and billing

Rates per 1M input and output tokens are listed on this page. Reasoning tokens count as output and are billed at the output rate. You pay from a prepaid balance as you go, with no subscription. Every request with its status, tokens and cost appears in the request log in your dashboard.

Typical tasks

  • Agents that work on a task for a long time without human input
  • Programming and edits in large codebases
  • Office work — reports, emails, summaries of long documents
  • Comparison with Qwen3.8 Max on your own workloads

Qwen3.7 Max or Qwen3.8 Max?

ModelInput · 1MOutput · 1M
Qwen3.7 Max$0.19$0.57
Qwen3.8 Max$0.225$0.7875

Qwen3.7 Max vs neighbours

ModelInput · 1MOutput · 1M
Qwen3.7 Max$0.19$0.57
Qwen3.8 Flash $0.072$0.2115
Qwen3.7 Plus $0.11$0.44
Qwen3.8 Omni Flash $0.216$0.666
Qwen3.8 Max $0.225$0.7875
DeepSeek V4 Pro DeepSeek$0.19$0.555
All Qwen models

Qwen3.7 Max is also compared with

Other Qwen models

FAQ

How is Qwen3.7 Max different from Qwen3.8 Max?

Qwen3.7 Max is the previous generation's flagship, and Qwen3.8 Max is Alibaba's current flagship. They have the same context window and response cap; on llmbox, Qwen3.8 Max also has context caching. Compare both models on your own requests — the rates are listed on the model pages.

Does Qwen3.7 Max understand images?

No. Per Alibaba's documentation, the model has text-only input and output. For screenshots and photos, the line has Qwen3.7 Plus.

Does the model work with Codex CLI, Cursor and OpenCode?

Yes. The model is available in the Responses API for Codex CLI and in Chat Completions for Cursor and OpenCode. Setup steps are in the Integrations section of the docs.

Should I move from Qwen3.7 Max to Qwen3.8 Max?

If your prompts and agents are tuned on Qwen3.7 Max, run the same task set on Qwen3.8 Max: switching only means changing the model ID from qwen/qwen3.7-max to qwen/qwen3.8-max, and the key stays the same. The result and cost of every call for both models are visible in your request log.

Do I need an Alibaba Cloud account or a Qwen API key?

No. Create an llmbox key in the API keys section of your dashboard and use it instead of a Qwen key. The same key works for every model in the catalog.

How is Qwen3.7 Max billed?

Per input and output token, from a prepaid balance as you go, with no subscription; the rates are listed on this page.