[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Qwen3 30B A3B](https://spiral.ai/integrations/muse-code/qwen3-30b-a3b)

# How to Use Qwen3 30B A3B in Muse Code

Qwen3 30B A3B handles coding, math, translation, and tasks that use external tools. It combines thinking and direct-answer modes in one model, with 30.5 billion total parameters and 3.3 billion activated.

|  |  |
| --- | --- |
| Model | Qwen3 30B A3B |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.002669 per run at the default inputs. $0.156 per 1M input tokens, $0.65 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Qwen3 30B A3B in Muse Code

- Use Qwen3 30B A3B in thinking mode to inspect the failing test and relevant source files. Propose the smallest fix and a regression test.
- Use Qwen3 30B A3B to review the changed functions for empty inputs, off-by-one errors, and incorrect assumptions. Report each issue with a concrete example.
- Use Qwen3 30B A3B in direct-answer mode to rewrite the README introduction for a first-time user. Preserve every command and technical claim.
- Use Qwen3 30B A3B to translate the English interface strings into Spanish. Preserve interpolation tokens and return the same key structure.
- Use Qwen3 30B A3B in thinking mode to implement the validation rules in the project specification. Include tests for each boundary condition.

## How to set up Qwen3 30B A3B 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 30B A3B**: 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-30b-a3b",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Qwen3 30B A3B on Spiral, shows the price and runs it.

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

## Qwen3 30B A3B tools and prices

- [Qwen: Qwen3 30B A3B](https://spiral.ai/tools/openrouter/qwen/qwen3-30b-a3b) (OpenRouter): Up to $0.002669 per run at the default inputs. $0.156 per 1M input tokens, $0.65 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| min_p | 0 to 1 | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |

## What can you do with Qwen3 30B A3B in Muse Code?

Turn code and requirements into proposed fixes, utility functions, and tests with Qwen3 30B A3B. Use thinking mode for debugging and logic, and direct answers for straightforward edits.

### Debug a failing function

Give Qwen3 30B A3B the code, error, and expected behavior. Ask for a proposed fix and a test that checks the failure.

### Check a math solution

Ask Qwen3 30B A3B to solve a problem in thinking mode, then compare the result with your attempted solution.

### Translate customer messages

Ask Qwen3 30B A3B to translate a message while preserving names, product terms, and the requested level of formality.

### Draft support replies

Supply the customer’s question and approved policy text. Ask Qwen3 30B A3B for a concise reply that identifies any missing information.

### Revise a rough draft

Give Qwen3 30B A3B a draft, audience, and length target. Ask for clearer wording while preserving the original claims.

### Practice a difficult conversation

Have Qwen3 30B A3B play a customer, interviewer, or colleague. Continue across several turns, then request feedback on your responses.

### Write small utility functions

Ask Qwen3 30B A3B to turn a precise specification into code, including examples for empty inputs and boundary conditions.

### Answer questions using tools

Have Qwen3 30B A3B use available lookup or calculation tools, then write an answer grounded in their returned results.

## Overview

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

## Qwen3 30B A3B in other agents

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

## More Muse Code guides

- [Qwen3 235B A22B Thinking 2507](https://spiral.ai/integrations/muse-code/qwen3-235b-a22b-thinking-2507)
- [Qwen3 30B A3B Instruct 2507](https://spiral.ai/integrations/muse-code/qwen3-30b-a3b-instruct-2507)
- [Qwen3 235B A22B Instruct 2507](https://spiral.ai/integrations/muse-code/qwen3-235b-a22b-instruct-2507)
- [Qwen3 32B](https://spiral.ai/integrations/muse-code/qwen3-32b)
- [Qwen3 14B](https://spiral.ai/integrations/muse-code/qwen3-14b)
- [Qwen3 Coder 30B A3B Instruct](https://spiral.ai/integrations/muse-code/qwen3-coder-30b-a3b-instruct)

## Questions about Qwen3 30B A3B in Muse Code

**Can Muse Code use Qwen3 30B A3B?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Qwen3 30B A3B like any built-in tool.

**How much does Qwen3 30B A3B cost in Muse Code?**

Up to $0.002669 per run at the default inputs. $0.156 per 1M input tokens, $0.65 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 30B A3B in Muse Code?**

No. Spiral runs Qwen3 30B A3B 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 30B A3B 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 30B A3B runs?**

Qwen3 30B A3B 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 30B A3B good at?**

Use it for coding, math, translation, writing, and tasks that involve external tools. Thinking mode suits difficult reasoning; direct-answer mode suits simpler requests.

**What does A3B mean?**

It refers to the activated parameter count. Qwen3 30B A3B has 30.5 billion parameters in total, with 3.3 billion activated.

**How much text can Qwen3 30B A3B handle?**

The maker documents a native context of 32,768 tokens and extension to 131,072 tokens with YaRN. The larger figure requires context extension.

**Which languages does Qwen3 30B A3B support?**

Qwen reports support for 119 languages and dialects. Its published list includes English, Spanish, Chinese, Arabic, Japanese, and Korean.

**When should I use thinking mode?**

Choose thinking mode for difficult code, math, or logic problems. Choose direct answers for straightforward dialogue and rewriting.

