[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [Qwen3.8 Flash](https://spiral.ai/integrations/openclaw/qwen3-8-flash)

# How to Use Qwen3.8 Flash in OpenClaw

Qwen3.8 Flash suits code repair, long-document analysis, and text extraction into JSON. It pairs a million-token context window with optional thinking for tasks that need more reasoning.

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

## Prompts to try with Qwen3.8 Flash in OpenClaw

- Each morning, use Qwen3.8 Flash to compare the supplied operational updates with the previous report. Draft a digest of new issues, resolved issues, and unchanged blockers, with a supporting excerpt for each change.
- Every Friday, use Qwen3.8 Flash to summarize the supplied conversation transcripts. List decisions, explicitly assigned actions, and unresolved questions; keep the report under 500 words.
- On each run, use Qwen3.8 Flash to extract the supplied support messages into JSON records with issue, product, requested_action, and evidence. Use null for missing values and flag records that fail validation.
- Each week, use Qwen3.8 Flash with thinking enabled to compare the supplied policy text with its previous version. Draft a table of changed obligations and quote the passages that establish each change.
- Each evening, use Qwen3.8 Flash to review the supplied incident updates. Separate confirmed causes, proposed explanations, and unanswered questions, and include evidence for every confirmed cause.

## How to set up Qwen3.8 Flash in OpenClaw

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

### Use the Spiral skill

1. **Send OpenClaw 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 Spiral's MCP server

1. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### 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.8 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.8-flash",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## Qwen3.8 Flash tools and prices

- [Qwen: Qwen3.8 Flash](https://spiral.ai/tools/openrouter/qwen/qwen3.8-flash) (OpenRouter): Up to $0.002511 per run at the default inputs. $0.195 per 1M input tokens, $0.611 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.8 Flash in OpenClaw?

Qwen3.8 Flash can turn recurring text updates into change reports and structured records. Give each run the current material, the previous result, and clear rules for what deserves attention.

### Repair a bug across several modules

Use Qwen3.8 Flash to trace a failure through related code, propose a focused patch, and identify a regression test.

### Explain an unfamiliar codebase

Ask Qwen3.8 Flash to map entry points, dependencies, and the path a request takes through the supplied code.

### Compare lengthy policy texts

Have Qwen3.8 Flash compare two policy versions and produce a table of changed obligations with supporting passages.

### Extract records from support messages

Ask Qwen3.8 Flash to turn message text into JSON records containing the issue, product, requested action, and supporting excerpt.

### Find decisions in long conversations

Use Qwen3.8 Flash to extract decisions, unresolved questions, and explicitly assigned owners from conversation transcripts.

### Prepare an implementation plan

Give Qwen3.8 Flash requirements and relevant code, then request a plan covering dependencies, edge cases, and acceptance checks.

### Answer questions from reference material

Provide Qwen3.8 Flash with reference text and ask for answers tied to section labels and short supporting quotations.

### Review recurring operational updates

Have Qwen3.8 Flash compare supplied updates with the previous report and draft a concise list of changes and unresolved issues.

## Overview

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

## Qwen3.8 Flash in other agents

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

## More OpenClaw guides

- [Qwen3.8 27B (batch)](https://spiral.ai/integrations/openclaw/qwen3-8-27b-batch)
- [Qwen3.8 Max (0902)](https://spiral.ai/integrations/openclaw/qwen3-8-max-0902)
- [Qwen3.8 27B](https://spiral.ai/integrations/openclaw/qwen3-8-27b)
- [Qwen3.8 Max (0902) (batch)](https://spiral.ai/integrations/openclaw/qwen3-8-max-0902-batch)
- [Qwen3.8 2.4T A95B](https://spiral.ai/integrations/openclaw/qwen3-8-2-4t-a95b)
- [Qwen3.8 Max Prime](https://spiral.ai/integrations/openclaw/qwen3-8-max-prime)

## Questions about Qwen3.8 Flash in OpenClaw

**Can OpenClaw use Qwen3.8 Flash?**

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

**How much does Qwen3.8 Flash cost in OpenClaw?**

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

**Do I need an OpenRouter account to use Qwen3.8 Flash in OpenClaw?**

No. Spiral runs Qwen3.8 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.8 Flash in OpenClaw?**

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

**Does OpenClaw wait while Qwen3.8 Flash runs?**

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

**What is Qwen3.8 Flash useful for?**

Use it for code repair, questions across long reference texts, and extracting information into JSON. Give each task a concrete result, such as a patch, an evidence table, or a set of records.

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

Alibaba lists a million-token context window and a maximum output of 128k tokens. These are token limits, so avoid treating them as fixed word or page counts.

**When should I use thinking?**

Use thinking for debugging, mathematical problems, and decisions that require several stages of analysis. Direct answers suit straightforward questions and routine text processing.

**What can go wrong with JSON extraction?**

JSON Object mode can return valid JSON with unexpected keys or value types. Specify the expected structure, show a completed example, and validate each record before using it.

**How should I prompt Qwen3.8 Flash?**

State the task, provide the relevant context, and define the output format and length. For extraction, include an example record and explain how missing information should be represented.

