Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Qwen

Qwen: Qwen3.7 Max Preview

qwen/qwen3.7-max-preview

Access Qwen3.7 Max Preview from Qwen using Puter.js AI API.

Get Started
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "qwen/qwen3.7-max-preview"
}).then(response => {
    document.body.innerHTML = response.message.content;
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "qwen/qwen3.7-max-preview"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>
# pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.puter.com/puterai/openai/v1/",
    api_key="YOUR_PUTER_AUTH_TOKEN",
)

response = client.chat.completions.create(
    model="qwen/qwen3.7-max-preview",
    messages=[
        {"role": "user", "content": "Explain quantum computing in simple terms"}
    ],
)

print(response.choices[0].message.content)
curl https://api.puter.com/puterai/openai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_PUTER_AUTH_TOKEN" \
  -d '{
    "model": "qwen/qwen3.7-max-preview",
    "messages": [
      {"role": "user", "content": "Explain quantum computing in simple terms"}
    ]
  }'

Model Card

Qwen3.7 Max Preview is the earliest publicly reachable build of Alibaba's flagship Qwen3.7 Max reasoning model, offered during its preview access window ahead of the dated 2026-05-20 and 2026-06-08 snapshots.

Qwen3.7 Max is built for long-horizon agentic workloads, pairing a 1 million-token context window with a chain-of-thought reasoning architecture. Alibaba demonstrated it running for 35 hours without degradation across more than 1,000 tool calls in a single session, later ranking 13th globally on LM Arena's text leaderboard and scoring 56.6 on the Artificial Analysis Intelligence Index, the highest of any Chinese model on that index.

Because it carries no release date, this preview build predates the pinned snapshots and is best used for early evaluation and prototyping. For production API calls that need reproducible behavior over time, pin one of the dated snapshots instead.

Context Window 1M

tokens

Max Output 66K

tokens

Input Cost $2.5

per million tokens

Output Cost $7.5

per million tokens

Input text

modalities

Tool Use Yes

 

Release Date N/A

 

Model Playground

Try Qwen3.7 Max Preview instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.

Chat qwen/qwen3.7-max-preview
Qwen
Chat with Qwen3.7 Max Preview
Powered by Puter.js

More AI Models From Qwen

Find other Qwen models

Chat

Qwen3.8 Flash

Qwen3.8 Flash is a multimodal model from Alibaba's Qwen team, released August 26, 2026, as the fast, lower-cost tier of the Qwen3.8 family alongside Qwen3.8 Max and Qwen3.8 27B. It uses a mixture-of-experts architecture with 125B total parameters and 6B active per token, an early preview of the architecture planned for Qwen4. It accepts text, image, and video input and returns text, with a 1,000,000 token context window and output capped at 128,000 tokens. The API supports tool calling, structured outputs via JSON schema, and prompt caching, with cached input billed at $0.016 per million tokens. Pricing is $0.14 per million input tokens and $0.42 per million output tokens, about one-twelfth the cost of Qwen3.8 Max. Alibaba says it was trained at roughly one-ninth the cost of Qwen3.7-Plus and reports higher scores on benchmarks including SWE-bench Pro and CoWorkBench, an agentic office-task benchmark.

Chat

Qwen3.8 27B

Qwen3.8 27B is a dense, open-weight multimodal model from Alibaba's Qwen team, released August 14, 2026 as a smaller member of the Qwen3.8 family alongside the flagship Qwen3.8 Max. It combines Gated DeltaNet linear attention with standard gated attention across 64 layers, giving a 27 billion parameter dense model a native 262K token context window, extendable to 1M tokens. It accepts text, image, and video input, including hour-scale video and STEM diagrams. Alibaba reports 61.7 on SWE-bench Pro and 73.0 on Terminal Bench 2.1, both improvements over the earlier Qwen3.6 27B, and 89.2 on GPQA Diamond. Released under Apache 2.0, it gives developers an open-weight alternative to Qwen3.8 Max for coding and agentic tasks, at a fraction of the parameter count.

Chat

Qwen3.8 2.4T A95B

Qwen3.8 2.4T A95B is Alibaba's open-weight release of its Qwen3.8 Max flagship, a sparse mixture-of-experts model with 2.4 trillion total parameters and 95 billion active per token, routed across 512 experts. It uses a hybrid attention design (Gated DeltaNet and Gated Attention layers) across 92 layers, with a native 262K context window and thinking mode enabled for every response. Alibaba reports 93.0 on PaperBench (ahead of GPT-5.6 Sol's 90.5), 92.6 on GPQA Diamond, 86.6 on Terminal-Bench 2.1, and 67.7 on SWE-bench Pro, positioning it for coding, research, and long-horizon agentic work. It gives developers access to Qwen-Max-class capability under open weights, useful for teams that want frontier-level coding and agentic performance without a closed API.

Frequently Asked Questions

How do I use Qwen3.7 Max Preview?

You can access Qwen3.7 Max Preview by Qwen through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.

Is Qwen3.7 Max Preview free?

Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add Qwen3.7 Max Preview to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.

What is the pricing for Qwen3.7 Max Preview?
Qwen3.7 Max Preview costs $2.5 per 1M input tokens and $7.5 per 1M output tokens.
Price per 1M tokens
Input$2.5
Output$7.5
What is the context window of Qwen3.7 Max Preview?

Qwen3.7 Max Preview supports a context window of 1M tokens. For reference, that is roughly equivalent to 2,000 pages of text.

What is the max output length of Qwen3.7 Max Preview?

Qwen3.7 Max Preview can generate up to 66K tokens in a single response.

What types of input can Qwen3.7 Max Preview process?

Qwen3.7 Max Preview accepts the following input types: text. It produces: text.

Does Qwen3.7 Max Preview support tool use (function calling)?

Yes, Qwen3.7 Max Preview supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Qwen3.7 Max Preview API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Get started with Puter.js

Add Qwen3.7 Max Preview to your app without worrying about API keys or setup.

Read the Docs View Tutorials