[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Qwen3.7 Max](https://spiral.ai/integrations/claude-code/qwen3-7-max)

# 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.

|  |  |
| --- | --- |
| Model | Qwen3.7 Max |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.023631 per run at the default inputs. $1.9175 per 1M input tokens, $5.7525 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Qwen3.7 Max in Claude Code

- 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.
- 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.

```bash
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.

```bash
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.

```bash
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.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Qwen3.7 Max tools and prices

- [Qwen: Qwen3.7 Max](https://spiral.ai/tools/openrouter/qwen/qwen3.7-max) (OpenRouter): Up to $0.023631 per run at the default inputs. $1.9175 per 1M input tokens, $5.7525 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| logprobs |  | — |  |

## 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.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Qwen3.7 Max in other agents

- [Amp](https://spiral.ai/integrations/amp/qwen3-7-max)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/qwen3-7-max)
- [Claude](https://spiral.ai/integrations/claude-desktop/qwen3-7-max)
- [Cline](https://spiral.ai/integrations/cline/qwen3-7-max)
- [Codex](https://spiral.ai/integrations/codex/qwen3-7-max)
- [Cursor](https://spiral.ai/integrations/cursor/qwen3-7-max)
- [Devin](https://spiral.ai/integrations/devin/qwen3-7-max)
- [dots](https://spiral.ai/integrations/dots/qwen3-7-max)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/qwen3-7-max)
- [Gemini](https://spiral.ai/integrations/gemini/qwen3-7-max)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/qwen3-7-max)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/qwen3-7-max)
- [goose](https://spiral.ai/integrations/goose/qwen3-7-max)
- [Grok](https://spiral.ai/integrations/grok/qwen3-7-max)
- [Grok Build](https://spiral.ai/integrations/grok-build/qwen3-7-max)
- [Hermes](https://spiral.ai/integrations/hermes/qwen3-7-max)
- [Instinct](https://spiral.ai/integrations/instinct/qwen3-7-max)
- [Manus](https://spiral.ai/integrations/manus/qwen3-7-max)
- [Muse](https://spiral.ai/integrations/muse/qwen3-7-max)
- [Muse Code](https://spiral.ai/integrations/muse-code/qwen3-7-max)
- [n8n](https://spiral.ai/integrations/n8n/qwen3-7-max)
- [Notion](https://spiral.ai/integrations/notion/qwen3-7-max)
- [OpenClaw](https://spiral.ai/integrations/openclaw/qwen3-7-max)
- [opencode](https://spiral.ai/integrations/opencode/qwen3-7-max)
- [Perplexity](https://spiral.ai/integrations/perplexity/qwen3-7-max)
- [Raycast](https://spiral.ai/integrations/raycast/qwen3-7-max)
- [VS Code](https://spiral.ai/integrations/vscode/qwen3-7-max)
- [Windsurf](https://spiral.ai/integrations/windsurf/qwen3-7-max)
- [Zapier](https://spiral.ai/integrations/zapier/qwen3-7-max)

## More Claude Code guides

- [Qwen3.7 Flash](https://spiral.ai/integrations/claude-code/qwen3-7-flash)
- [Qwen3.7 Plus](https://spiral.ai/integrations/claude-code/qwen3-7-plus)
- [Qwen3.6 Plus](https://spiral.ai/integrations/claude-code/qwen3-6-plus)
- [Qwen3.8 2.4T A95B](https://spiral.ai/integrations/claude-code/qwen3-8-2-4t-a95b)
- [Qwen3.6 Flash](https://spiral.ai/integrations/claude-code/qwen3-6-flash)
- [Qwen3.8 27B](https://spiral.ai/integrations/claude-code/qwen3-8-27b)

## 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.

