How to Use Qwen3 30B A3B Instruct 2507 in opencode
Qwen3 30B A3B Instruct 2507 suits document analysis, writing, coding, and tool-driven tasks with a native 262,144-token context. Unlike Qwen3 30B A3B Thinking 2507, it produces answers without a separate thinking mode.
Prompts to try with Qwen3 30B A3B Instruct 2507 in opencode
Copy an example into opencode, or ask in your own words.
Use Qwen3 30B A3B Instruct 2507 to review the current diff and relevant callers. Identify concrete failure cases, cite file locations, and suggest the smallest check for each.
Use Qwen3 30B A3B Instruct 2507 to compare the README with the command-line parser. List documented flags that differ from the code, then propose corrected wording.
Use Qwen3 30B A3B Instruct 2507 to trace the failing test through the implementation. Propose a minimal fix, run the relevant test, and report what the result establishes.
Use Qwen3 30B A3B Instruct 2507 to translate the English help strings into Spanish. Follow the existing glossary and preserve interpolation tokens and command names.
Use Qwen3 30B A3B Instruct 2507 to explain the request-validation path using the relevant source files. Return a concise sequence of functions, validation rules, and error responses.
How to set up Qwen3 30B A3B Instruct 2507 in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Qwen3 30B A3B Instruct 2507
One request; the result comes back by polling or a webhook.
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-instruct-2507", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: opencode finds Qwen3 30B A3B Instruct 2507 on Spiral, shows the price and runs it.
Qwen3 30B A3B Instruct 2507 providers and prices
Spiral runs Qwen3 30B A3B Instruct 2507 through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.001603 per run at the default inputs. $0.13 per 1M input tokens, $0.39 per 1M output tokens.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Logprobs | on or off | ||
| Max tokens | 1 to 235929 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Top logprobs | 0 to 20 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 | ||
| Repetition penalty | 0 to 2 |
Every API field of Qwen: Qwen3 30B A3B Instruct 2507 is on its tool page: open its card above.
What can you do with Qwen3 30B A3B Instruct 2507 in opencode?
Turn project code and documentation into focused reviews, patches, and explanations with Qwen3 30B A3B Instruct 2507. Give it relevant files, an explicit acceptance criterion, and a way to check the result.
Compare long documents
Ask Qwen3 30B A3B Instruct 2507 to compare supplied policy documents, identify conflicting requirements, and quote the passages behind each finding.
Review code changes
Use Qwen3 30B A3B Instruct 2507 to examine a patch alongside relevant code, explain possible failures, and suggest focused checks.
Draft support replies
Give Qwen3 30B A3B Instruct 2507 a customer message and approved policy text. Request a reply that cites the policy and identifies missing information.
Localize help content
Ask Qwen3 30B A3B Instruct 2507 to translate help articles using a supplied glossary while preserving product names and instructions.
Extract records from text
Have Qwen3 30B A3B Instruct 2507 turn supplied messages into structured records with explicit rules for missing values and supporting excerpts.
Produce recurring research briefs
Use Qwen3 30B A3B Instruct 2507 to summarize newly retrieved source text, separate reported changes from commentary, and retain source links.
Revise drafts against a brief
Ask Qwen3 30B A3B Instruct 2507 to rewrite a draft for a specific audience, length, and tone while preserving supplied facts.
Explain verified calculations
Give Qwen3 30B A3B Instruct 2507 calculator or code results and ask for an explanation of the assumptions, units, and conclusions.
More on Qwen3 30B A3B Instruct 2507 and opencode
Overview
Qwen3 30B A3B Instruct 2507 in other agents
Questions about Qwen3 30B A3B Instruct 2507 in opencode
Can opencode use Qwen3 30B A3B Instruct 2507?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Qwen3 30B A3B Instruct 2507 like any built-in tool.
How much does Qwen3 30B A3B Instruct 2507 cost in opencode?
Up to $0.001603 per run at the default inputs. $0.13 per 1M input tokens, $0.39 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an OpenRouter account to use Qwen3 30B A3B Instruct 2507 in opencode?
No. Spiral runs Qwen3 30B A3B Instruct 2507 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 Instruct 2507 in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Qwen3 30B A3B Instruct 2507 runs?
Qwen3 30B A3B Instruct 2507 runs in the background. opencode starts the run, checks on it and gives you the text, json when it's ready.
What is Qwen3 30B A3B Instruct 2507 useful for?
Use it to analyze supplied text, draft and revise writing, work through coding tasks, and interpret tool results. Qwen reports improvements in instruction following, text comprehension, coding, and tool use.
Does Qwen3 30B A3B Instruct 2507 have a thinking mode?
It supports only non-thinking mode and does not produce separate thinking blocks. You can still request an explanation, but that does not enable the dedicated mode used by Qwen3 30B A3B Thinking 2507.
How much text can Qwen3 30B A3B Instruct 2507 handle?
Its native context length is 262,144 tokens. Qwen recommends a 16,384-token output budget for most queries; that is guidance for generation length, not a stated hard output maximum.
Which languages does Qwen3 30B A3B Instruct 2507 support?
Qwen lists support for 119 languages and dialects across Qwen3, including English, Spanish, Chinese, Arabic, Japanese, and Korean. Specify the target language and provide a glossary when particular terms must stay consistent.
Which sampling settings should I start with?
Qwen's Instruct 2507 examples use temperature 0.7, top-p 0.8, and top-k 20. Use those as a starting point and compare results on representative tasks before changing them.
Start using Qwen3 30B A3B Instruct 2507 in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


