[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Qwen3.8 Max (0902)](https://spiral.ai/integrations/muse-code/qwen3-8-max-0902)

# How to Use Qwen3.8 Max (0902) in Muse Code

Qwen3.8 Max (0902) is built for software projects, document analysis, and tasks that require several tools. Compared with Qwen3.8 Max, it adds post-training focused on coding, tool orchestration, and visual understanding.

|  |  |
| --- | --- |
| Model | Qwen3.8 Max (0902) |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.03204 per run at the default inputs. $2.60 per 1M input tokens, $7.80 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Qwen3.8 Max (0902) in Muse Code

- Use Qwen3.8 Max (0902) to trace this project's failing tests, fix the underlying bug, and report the verification results.
- Use Qwen3.8 Max (0902) to inspect authentication across the project and propose a migration plan with testable checkpoints.
- Use Qwen3.8 Max (0902) to compare the implementation with the project specification and list discrepancies with file references.
- Use Qwen3.8 Max (0902) to review this project's document extraction code and add validation for missing keys and incorrect types.
- Use Qwen3.8 Max (0902) to implement the requested feature, run relevant checks, and identify any acceptance criteria still unmet.

## How to set up Qwen3.8 Max (0902) in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse 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.8 Max (0902)**: 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-max-0902",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Qwen3.8 Max (0902) on Spiral, shows the price and runs it.

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

## Qwen3.8 Max (0902) tools and prices

- [Qwen: Qwen3.8 Max (0902)](https://spiral.ai/tools/openrouter/qwen/qwen3.8-max-0902) (OpenRouter): Up to $0.03204 per run at the default inputs. $2.60 per 1M input tokens, $7.80 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 Max (0902) in Muse Code?

Qwen3.8 Max can help carry a software task from investigation through implementation and verification. Give the agent project context, acceptance criteria, and a focused test target.

### Debug a feature across several files

Trace a reported failure through the relevant code, propose a fix, and check it against focused tests.

### Plan a software migration

Map dependencies, divide the work into testable changes, and identify assumptions that need verification before implementation.

### Compare lengthy documents

Build a table of agreements, contradictions, and missing information, with a source passage for each finding.

### Explain charts

Read chart images, identify units and trends, and separate visible values from estimates.

### Extract document records

Turn document content into JSON records for review. Validate keys and types, particularly when the source includes images.

### Draft a research brief

Organize retrieved evidence into findings, competing explanations, and unanswered questions with source references.

### Review a recorded demonstration

Analyze video for the steps shown, points of confusion, and evidence supporting a written walkthrough.

## Overview

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

## Qwen3.8 Max (0902) in other agents

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

## More Muse Code guides

- [Qwen3.8 Flash](https://spiral.ai/integrations/muse-code/qwen3-8-flash)
- [Qwen3.8 Max (0902) (batch)](https://spiral.ai/integrations/muse-code/qwen3-8-max-0902-batch)
- [Qwen3.8 27B (batch)](https://spiral.ai/integrations/muse-code/qwen3-8-27b-batch)
- [Qwen3.8 Max Prime](https://spiral.ai/integrations/muse-code/qwen3-8-max-prime)
- [Qwen3.8 27B](https://spiral.ai/integrations/muse-code/qwen3-8-27b)
- [Qwen3.8 Omni Flash](https://spiral.ai/integrations/muse-code/qwen3-8-omni-flash)

## Questions about Qwen3.8 Max (0902) in Muse Code

**Can Muse Code use Qwen3.8 Max (0902)?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Qwen3.8 Max (0902) like any built-in tool.

**How much does Qwen3.8 Max (0902) cost in Muse Code?**

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

**Do I need an OpenRouter account to use Qwen3.8 Max (0902) in Muse Code?**

No. Spiral runs Qwen3.8 Max (0902) 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 Max (0902) in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Qwen3.8 Max (0902) runs?**

Qwen3.8 Max (0902) runs in the background. Muse Code starts the run, checks on it and gives you the text, json when it's ready.

**What is Qwen3.8 Max best suited for?**

Its documented focus includes software projects, research, and tasks that require several tools. Useful starting points include debugging a feature, comparing documents, and turning source material into a structured report.

**How much context and output does Qwen3.8 Max support?**

The maker lists a 1M-token context window and up to 131K output tokens. Treat these as ceilings, and request a specific deliverable length rather than the longest possible answer.

**Does Qwen3.8 Max generate images or videos?**

Its output is text, although it can analyze images and video. Ask for chart explanations, document extraction, or descriptions of visual evidence.

**Can I rely on Qwen3.8 Max to return a fixed JSON structure?**

The maker warns that JSON Object mode does not guarantee stable keys or types and recommends JSON Schema mode for a fixed structure. Its documentation also says multimodal inputs fall back to JSON Object mode, so validate extracted records before using them.

**Why can reasoning leave less room for the final answer?**

The maker's Responses API counts reasoning and answer tokens together toward the output limit. Reserve enough room for both when requesting a long report or code changes.

