[Integrations](https://spiral.ai/integrations) › [Amp](https://spiral.ai/integrations/amp) › [Qwen Plus](https://spiral.ai/integrations/amp/qwen-plus)

# How to Use Qwen Plus in Amp

Qwen Plus handles multilingual writing, code generation, and document analysis. It accepts text and returns text, with a current context window of 1 million tokens and up to 32,768 output tokens.

|  |  |
| --- | --- |
| Model | Qwen Plus |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.004166 per run at the default inputs. $0.338 per 1M input tokens, $1.014 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Qwen Plus in Amp

- Use Qwen Plus to inspect this project's request validation code and its tests. Identify inconsistencies between documented requirements and implementation, cite file locations, and propose the smallest patch with tests for the affected behavior.
- Use Qwen Plus to explain the failing test output alongside the relevant function. Give a likely cause, a proposed fix, and three edge cases that would distinguish the fix from a workaround.
- Use Qwen Plus to translate the project's English README into Chinese. Preserve commands, code blocks, links, and identifiers, and flag technical terms that need a glossary decision.
- Use Qwen Plus to review the project's parser and propose tests for empty input, malformed records, and duplicate keys. Use low randomness and explain the expected result of each test.
- Use Qwen Plus to compare this project's API documentation with its route handlers. Return a JSON array of discrepancies with route, documented behavior, actual behavior, and supporting file references.

## How to set up Qwen Plus in Amp

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

### Use Spiral's MCP server

1. **Add the server**: No header and no client ID or secret: Amp registers itself with Spiral.

```bash
amp mcp add spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `amp`. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
amp mcp doctor
```

### Use the Spiral skill

1. **Send Amp 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 Qwen Plus**: 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/qwen-plus",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Amp finds Qwen Plus on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/amp

## Qwen Plus tools and prices

- [Qwen: Qwen-Plus](https://spiral.ai/tools/openrouter/qwen/qwen-plus) (OpenRouter): Up to $0.004166 per run at the default inputs. $0.338 per 1M input tokens, $1.014 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 Qwen Plus in Amp?

Turn project code and documentation into proposed fixes, tests, and explanations with Qwen Plus. Give it the relevant files, expected behavior, and an explicit output format to keep each task focused.

### Summarize long reports

Use Qwen Plus to turn report text into a brief covering decisions, supporting evidence, and unresolved questions. Request section references beside each finding.

### Draft Chinese and English replies

Give Qwen Plus a customer message and the relevant policy text. Request a reply in the customer's language, with missing policy details flagged for review.

### Review code and explain fixes

Ask Qwen Plus to inspect a function, explain a reported failure, and propose a patch with edge cases to test.

### Extract structured records

Turn conversation text into JSON containing customer concerns, requested actions, and supporting quotations. Supply a completed example and define how to represent missing information.

### Translate product copy

Use Qwen Plus to translate product descriptions between Chinese and English. Provide a glossary and require product names, measurements, and factual claims to stay consistent.

### Write product descriptions

Give Qwen Plus verified product specifications, an audience, and a word limit. Request several drafts that explain practical uses without adding unsupported features.

### Compare proposals against requirements

Ask Qwen Plus to compare proposal text against a numbered requirements list. Request a table of matches, gaps, and evidence rather than an unsupported overall score.

### Prepare recurring conversation summaries

Use Qwen Plus to summarize incoming conversation text into recurring concerns, explicit commitments, and open questions. Preserve the original wording for evidence.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Amp guides](https://spiral.ai/integrations/amp)

## Qwen Plus in other agents

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

## More Amp guides

- [Pixtral Large 2502](https://spiral.ai/integrations/amp/pixtral-large-2502)
- [Qwen2.5 72B Instruct](https://spiral.ai/integrations/amp/qwen2-5-72b-instruct)
- [Phi-4](https://spiral.ai/integrations/amp/phi-4)
- [Qwen2.5 Coder 32B Instruct](https://spiral.ai/integrations/amp/qwen2-5-coder-32b-instruct)
- [Perceptron Mk1.5](https://spiral.ai/integrations/amp/perceptron-mk1-5)
- [Qwen2.5-VL 72B Instruct](https://spiral.ai/integrations/amp/qwen2-5-vl-72b-instruct)

## Questions about Qwen Plus in Amp

**Can Amp use Qwen Plus?**

Yes. Add Spiral to Amp as an MCP server, and Amp can find and run Qwen Plus like any built-in tool.

**How much does Qwen Plus cost in Amp?**

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

**Do I need an OpenRouter account to use Qwen Plus in Amp?**

No. Spiral runs Qwen Plus on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Qwen Plus in Amp?**

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

**Does Amp wait while Qwen Plus runs?**

Qwen Plus runs in the background. Amp starts the run, checks on it and gives you the text, json when it's ready.

**What is Qwen Plus useful for?**

Use Qwen Plus for multilingual writing, code generation, summaries, and extracting structured answers from text. Give it the source material and specify the result you need, such as a short brief or a JSON record.

**How much text can Qwen Plus handle?**

The current listing specifies a 1,000,000-token context window and up to 32,768 output tokens. The context window and the maximum answer length are separate limits.

**Can Qwen Plus analyze images or recordings?**

Qwen Plus accepts text and returns text. For these tasks, supply a transcript or a written description.

**Does Qwen Plus work in Chinese and English?**

Yes. Alibaba documents Chinese, English, and other language support, including Chinese and English code generation.

**How should I prompt Qwen Plus for reliable extraction?**

Specify what to extract, show the required format, and include a completed example. Ask it to support each answer with evidence copied from the supplied text, following Alibaba's extraction guidance.

