[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Qwen3 VL 30B A3B Instruct](https://spiral.ai/integrations/opencode/qwen3-vl-30b-a3b-instruct)

# How to Use Qwen3 VL 30B A3B Instruct in opencode

Use Qwen3 VL 30B A3B Instruct to read document images, answer visual questions, and turn screenshots into code. It provides direct responses, while Qwen3 VL 30B A3B Thinking is designed for extended reasoning.

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

## Prompts to try with Qwen3 VL 30B A3B Instruct in opencode

- Use Qwen3 VL 30B A3B Instruct to turn the design screenshot in this project into HTML. Preserve its labels and layout, and save the draft for review.
- Use Qwen3 VL 30B A3B Instruct to recreate the chart image in this repository with Python plotting code. Preserve axis titles and units; label estimated values.
- Use Qwen3 VL 30B A3B Instruct to transcribe the scanned form in this project's fixtures. Save the text in reading order and mark unreadable characters.
- Use Qwen3 VL 30B A3B Instruct to read the diagram in the project docs and explain the objects' relative positions. Cite visible labels for each relationship.
- Use Qwen3 VL 30B A3B Instruct to answer which pages in this project's report images describe retention requirements. Return page references and supporting passages.

## How to set up Qwen3 VL 30B A3B Instruct in opencode

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

### Use Spiral's MCP server

1. **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.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 VL 30B A3B Instruct**: 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-vl-30b-a3b-instruct",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## Qwen3 VL 30B A3B Instruct tools and prices

- [Qwen: Qwen3 VL 30B A3B Instruct](https://spiral.ai/tools/openrouter/qwen/qwen3-vl-30b-a3b-instruct) (OpenRouter): Up to $0.003202 per run at the default inputs. $0.195 per 1M input tokens, $0.78 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 VL 30B A3B Instruct in opencode?

Turn screenshots and chart images into code you can edit in your project. Specify the target files and ask for a review of the generated result.

### Turn a design screenshot into HTML

Generate an editable HTML draft from a screenshot or sketch. Specify which spacing, labels, and layout details to preserve.

### Rebuild a chart in code

Produce plotting code from a chart image. Ask for axis labels and units, and distinguish printed values from visual estimates.

### Transcribe photographed documents

Read invoice, receipt, or form images into reviewable text. Preserve line order and mark unreadable characters.

### Read multilingual signs and labels

Transcribe visible wording from signs or packaging. Keep the original script and separate uncertain readings.

### Find answers across document pages

Ask focused questions about a long report supplied as page images. Request page references beside each supporting passage.

### Describe a scene's layout

Explain where objects sit relative to one another in a photograph. Request observable relationships and separate them from assumptions.

### Index events in a demonstration

Turn timestamped video frames into a sequence of visible actions. Request start and end times with a short description of each event.

## Overview

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

## Qwen3 VL 30B A3B Instruct in other agents

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

## More opencode guides

- [Qwen3 VL 235B A22B Instruct](https://spiral.ai/integrations/opencode/qwen3-vl-235b-a22b-instruct)
- [Qwen3-VL 8B Instruct](https://spiral.ai/integrations/opencode/qwen3-vl-8b-instruct)
- [Qwen3 Next 80B A3B Instruct](https://spiral.ai/integrations/opencode/qwen3-next-80b-a3b-instruct)
- [Qwen3.5 397B A17B](https://spiral.ai/integrations/opencode/qwen3-5-397b-a17b)
- [Qwen3 Coder Next](https://spiral.ai/integrations/opencode/qwen3-coder-next)
- [Qwen3.5 Plus](https://spiral.ai/integrations/opencode/qwen3-5-plus)

## Questions about Qwen3 VL 30B A3B Instruct in opencode

**Can opencode use Qwen3 VL 30B A3B Instruct?**

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

**How much does Qwen3 VL 30B A3B Instruct cost in opencode?**

Up to $0.003202 per run at the default inputs. $0.195 per 1M input tokens, $0.78 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 VL 30B A3B Instruct in opencode?**

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

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

**Does opencode wait while Qwen3 VL 30B A3B Instruct runs?**

Qwen3 VL 30B A3B Instruct runs in the background. opencode starts the run, checks on it and gives you the text, json when it's ready.

**Can Qwen3 VL turn a screenshot into code?**

Yes. Qwen demonstrates screenshot-to-HTML generation and chart-to-plotting-code tasks. Specify the target language and which visual details the result should preserve.

**How many languages can Qwen3 VL read in images?**

The model card lists OCR support for 32 languages. For transcription, request the original text and mark uncertain characters separately.

**How much context does Qwen3 VL support?**

Qwen documents a native 256K-token context window. For long-document questions, request page references and supporting passages so you can check the answer.

**How does Qwen3 VL Instruct differ from Thinking?**

Instruct provides direct responses. Thinking is designed for extended reasoning; these are separately trained models.

**Where should I check Qwen3 VL's visual answers carefully?**

Check answers that depend on tiny labels or subtle visual distinctions. Qwen reports substantial benefits from external tools on fine-detail tasks; supply a close-up and ask for visible evidence.

