Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · LLMReleased 2026-05-21

How to Use Qwen3.7 Max in Claude Code

Qwen3.7 Max suits code debugging, office workflows, and tasks that require repeated tool use. Its text-only interface combines a one-million-token context window with optional thinking for complex work.

Prompts to try with Qwen3.7 Max in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use Qwen3.7 Max to inspect the failing test and relevant project files, reproduce the error, and make the smallest fix. Report the verification result.

Qwen3.7 MaxClaude Code
Try asking
  • Use Qwen3.7 Max with thinking to plan this project's dependency migration. Identify affected files, compatibility risks, and acceptance checks before editing.

  • Use Qwen3.7 Max to compare the API implementation with the written specification. List mismatches with file references and propose patches.

  • Use Qwen3.7 Max to implement the feature described in the project issue. Follow existing conventions and verify each acceptance criterion.

  • Use Qwen3.7 Max to review this patch for behavior changes. Return JSON containing findings, file paths, evidence, and suggested checks.

How to set up Qwen3.7 Max in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Qwen3.7 Max

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "openrouter",
        "model": "qwen/qwen3.7-max",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Claude Code finds Qwen3.7 Max on Spiral, shows the price and runs it.

Qwen3.7 Max providers and prices

Spiral runs Qwen3.7 Max through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Qwen: Qwen3.7 Max
qwen/qwen3.7-max

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 131072

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Frequency penalty-2 to 2

Every API field of Qwen: Qwen3.7 Max is on its tool page: open its card above.

What can you do with Qwen3.7 Max in Claude Code?

Turn project code and failure reports into patches with Qwen3.7 Max. Give it acceptance criteria so each change has a concrete check.

Debug a failing application

Give Qwen3.7 Max the error, relevant code, and expected behavior. Ask for a diagnosis, patch, and verification steps.

Plan a code migration

Ask Qwen3.7 Max to map dependencies and divide a migration into changes with clear acceptance checks.

Compare lengthy specifications

Supply specification text and ask Qwen3.7 Max for conflicting requirements with supporting passages.

Extract action items

Turn meeting text into JSON containing owners, deadlines, and evidence. Define how missing information should appear.

Prepare recurring operations briefs

Have Qwen3.7 Max compare current status text with the previous report and summarize changes and unresolved questions.

Check document formatting

Give Qwen3.7 Max written formatting rules and document text. Request a correction plan or apply changes through document tools.

Work through technical calculations

Use thinking to examine a mathematical problem, identify assumptions, and produce an answer with verification checks.

Questions about Qwen3.7 Max in Claude Code

Can Claude Code use Qwen3.7 Max?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Qwen3.7 Max like any built-in tool.

How much does Qwen3.7 Max cost in Claude Code?

Up to $0.023631 per run at the default inputs. $1.9175 per 1M input tokens, $5.7525 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need an OpenRouter account to use Qwen3.7 Max in Claude Code?

No. Spiral runs Qwen3.7 Max on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Qwen3.7 Max in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while Qwen3.7 Max runs?

Qwen3.7 Max runs in the background. Claude Code starts the run, checks on it and gives you the text, json when it's ready.

What is Qwen3.7 Max good at?

Coding, office automation, and tasks that involve repeated tool use. Use it for work such as debugging a project or turning business instructions into a sequence of actions.

How much text can Qwen3.7 Max handle?

Alibaba documents a one-million-token context window and up to 131,072 output tokens. The context limit and output limit describe different capacities.

Can Qwen3.7 Max analyze screenshots or videos?

Its interface is text-only. Supply extracted text or a written description when the original material is visual.

When should I use thinking?

Use thinking for difficult code generation, logical reasoning, and math. Qwen3.7 Max also supports responding without thinking.

Can I rely on its JSON structure?

Valid JSON alone does not guarantee the keys and types your application expects. Specify the structure and validate the result before processing it.

Get started

Start using Qwen3.7 Max in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options