[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Qwen3.6 Flash](https://spiral.ai/integrations/grok/qwen3-6-flash)

# How to Use Qwen3.6 Flash in Grok

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 Grok

- Use Qwen3.6 Flash to explain the code pasted above. Describe its inputs, outputs, and three boundary conditions in plain English.
- Use Qwen3.6 Flash with thinking enabled to solve this problem: a tank fills at 12 liters per minute and drains at 5 liters per minute. Starting with 30 liters, when will it reach 240 liters? Check the calculation.
- Use Qwen3.6 Flash to compare the two policy passages above. Return a table of changed obligations and quote the supporting sentence for each change.
- Use Qwen3.6 Flash with thinking turned off to extract organizations, dates, and promised actions from the text above. Return only JSON and use null for missing dates.
- Use Qwen3.6 Flash to turn the requirements above into acceptance tests. Include normal cases, invalid inputs, and expected results.

## How to set up Qwen3.6 Flash in Grok

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok 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: Grok finds Qwen3.6 Flash on Spiral, shows the price and runs it.

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

## 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 Grok?

Work through code questions, calculations, and long passages in conversation with Qwen3.6 Flash. Specify the question and desired answer format to keep the response useful.

### 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 Grok guides](https://spiral.ai/integrations/grok)

## 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)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/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 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 Grok guides

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

## Questions about Qwen3.6 Flash in Grok

**Can Grok use Qwen3.6 Flash?**

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

**How much does Qwen3.6 Flash cost in Grok?**

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 Grok plan is separate.

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

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 Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while Qwen3.6 Flash runs?**

Qwen3.6 Flash runs in the background. Grok 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.

