[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Qwen3 30B A3B](https://spiral.ai/integrations/grok/qwen3-30b-a3b)

# How to Use Qwen3 30B A3B in Grok

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 Grok

- Use Qwen3 30B A3B in thinking mode to solve this problem: a rectangle has perimeter 50 centimeters and area 150 square centimeters. Give its dimensions and check both conditions.
- Use Qwen3 30B A3B to translate this into polite Spanish: Your replacement has shipped. Please keep the damaged item until our support team contacts you.
- Use Qwen3 30B A3B in direct-answer mode to rewrite this sentence in plain English: We are undertaking an evaluation of the feasibility of extending the deadline.
- Use Qwen3 30B A3B to role-play a skeptical customer considering a subscription. Ask one question at a time and give feedback after five exchanges.
- Use Qwen3 30B A3B to write a 200-word mystery set in a laundromat. Include three clues and resolve the mystery in the final paragraph.

## How to set up Qwen3 30B A3B 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 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: Grok finds Qwen3 30B A3B on Spiral, shows the price and runs it.

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

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

Work through math, translate messages, and revise drafts with Qwen3 30B A3B. Choose thinking mode for difficult questions and direct answers for routine conversation.

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

## 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 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)
- [Muse Code](https://spiral.ai/integrations/muse-code/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 Grok guides

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

## Questions about Qwen3 30B A3B in Grok

**Can Grok use Qwen3 30B A3B?**

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

**How much does Qwen3 30B A3B cost in Grok?**

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

**Do I need an OpenRouter account to use Qwen3 30B A3B in Grok?**

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 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 30B A3B runs?**

Qwen3 30B A3B runs in the background. Grok 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.

