[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [Qwen3.6 Flash](https://spiral.ai/integrations/factory-droid/qwen3-6-flash)

# How to Use Qwen3.6 Flash in Factory Droid

Qwen3.6 Flash fits coding tasks, math reasoning, and analysis of long text. Compared with Qwen3.5 Flash, Alibaba reports improved agentic coding and mathematical reasoning.

|  |  |
| --- | --- |
| Model | Qwen3.6 Flash |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.006 per run at the default inputs. $0.24375 per 1M input tokens, $1.4625 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Qwen3.6 Flash in Factory Droid

- Use Qwen3.6 Flash to investigate the failing tests in this project. Trace the first failure to its cause, make the smallest justified fix, and run the relevant tests.
- Use Qwen3.6 Flash to review the current diff for boundary-condition bugs. Report each finding with a file reference, a triggering input, and the expected behavior.
- Use Qwen3.6 Flash to add tests for the project's date parser. Cover leap days, invalid dates, and time-zone boundaries using the existing test framework.
- Use Qwen3.6 Flash with reasoning enabled to compare two ways to simplify the largest function in this project. Preserve public behavior and implement the approach with fewer moving parts.
- Use Qwen3.6 Flash to check the project's percentage calculations. Identify rounding assumptions, construct counterexamples, and add a regression test for any confirmed error.

## How to set up Qwen3.6 Flash in Factory Droid

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

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid 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.6 Flash**: 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.6-flash",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds Qwen3.6 Flash on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## Qwen3.6 Flash tools and prices

- [Qwen: Qwen3.6 Flash](https://spiral.ai/tools/openrouter/qwen/qwen3.6-flash) (OpenRouter): Up to $0.006 per run at the default inputs. $0.24375 per 1M input tokens, $1.4625 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.6 Flash in Factory Droid?

Turn project code into targeted fixes, tests, and refactoring plans with Qwen3.6 Flash. Give the agent a concrete failure and acceptance criteria so the work ends in a reviewable change.

### Bug investigation

Ask Qwen3.6 Flash to trace a failing behavior through relevant code and propose a minimal fix with a regression check.

### Test design

Have Qwen3.6 Flash turn a function's requirements into tests for boundary conditions, invalid inputs, and expected results.

### Refactoring plans

Ask Qwen3.6 Flash to compare refactoring approaches against explicit constraints and identify behavior that needs protection.

### Math explanations

Give Qwen3.6 Flash a quantitative problem and request assumptions, calculations, and a check of the final result.

### Document comparison

Ask Qwen3.6 Flash to compare labeled text passages and list changed requirements with supporting quotations.

### Structured text extraction

Use Qwen3.6 Flash to extract dates, organizations, and actions from text into JSON, then validate the returned structure.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## Qwen3.6 Flash in other agents

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

## More Factory Droid guides

- [Qwen3.6 35B A3B](https://spiral.ai/integrations/factory-droid/qwen3-6-35b-a3b)
- [Qwen3.6 Plus](https://spiral.ai/integrations/factory-droid/qwen3-6-plus)
- [Qwen3.6 27B](https://spiral.ai/integrations/factory-droid/qwen3-6-27b)
- [Qwen3.7 Flash](https://spiral.ai/integrations/factory-droid/qwen3-7-flash)
- [Qwen3.5-Flash](https://spiral.ai/integrations/factory-droid/qwen3-5-flash)
- [Qwen3.7 Max](https://spiral.ai/integrations/factory-droid/qwen3-7-max)

## Questions about Qwen3.6 Flash in Factory Droid

**Can Factory Droid use Qwen3.6 Flash?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Qwen3.6 Flash like any built-in tool.

**How much does Qwen3.6 Flash cost in Factory Droid?**

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

**Do I need an OpenRouter account to use Qwen3.6 Flash in Factory Droid?**

No. Spiral runs Qwen3.6 Flash 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.6 Flash in Factory Droid?**

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

**Does Factory Droid wait while Qwen3.6 Flash runs?**

Qwen3.6 Flash runs in the background. Factory Droid starts the run, checks on it and gives you the text, json when it's ready.

**What is Qwen3.6 Flash good at?**

Coding assistance and mathematical reasoning are documented strengths. Alibaba reports improvements over Qwen3.5 Flash on code-agent benchmarks and mathematical and code reasoning.

**How much text can Qwen3.6 Flash handle?**

Alibaba lists a 1,000,000-token context window and up to 65,536 output tokens. For document analysis, a practical starting point is to supply the relevant sections and request a focused answer.

**Should I use thinking for every task?**

Qwen3.6 Flash supports thinking and direct responses. Try thinking for problems with several dependent steps, then compare results against direct responses on your actual tasks.

**Can I rely on Qwen3.6 Flash to return a fixed JSON structure?**

Alibaba documents JSON Object output in non-thinking mode, but that mode does not guarantee stable key names or value types. Specify the expected structure and validate the result before processing it.

**What can make long-document results worse?**

Alibaba warns that feeding large amounts of raw data can degrade performance. As a practical approach, select relevant passages, label their sources, and ask one defined question.

