Spiral gives your agent every tool with one account. Browse the tools →

opencode · LLMReleased 2025-09-23

How to Use Qwen3 VL 235B A22B Instruct in opencode

Qwen3 VL 235B A22B Instruct reads documents, screenshots, and video for extraction and visual coding. Unlike Qwen3 VL 235B A22B Thinking, it uses the non-thinking format; Thinking is stronger on complex visual reasoning.

Prompts to try with Qwen3 VL 235B A22B Instruct in opencode

Copy an example into opencode, or ask in your own words.

Use Qwen3 VL 235B A22B Instruct to interpret the reference screenshot in this project. Implement the layout using our existing components, preserve the visible copy, and run the relevant checks.

Qwen3 VL 235B A22B Instructopencode
Try asking
  • Use Qwen3 VL 235B A22B Instruct to extract headings and reading order from the scanned sample pages in this repository. Save an ordered outline with page references and flag uncertain text.

  • Use Qwen3 VL 235B A22B Instruct to read the receipt images in our test fixtures. Compare the extracted merchant, date, and total with our expected records and report discrepancies.

  • Use Qwen3 VL 235B A22B Instruct to inspect the app screenshot in this project. Locate the search control, describe nearby labels, and propose a browser test using the actual DOM.

  • Use Qwen3 VL 235B A22B Instruct to draft a frontend from the supplied design image. Follow this project's framework and styles, then list visual details that still need manual comparison.

How to set up Qwen3 VL 235B A22B 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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 235B A22B Instruct

    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-vl-235b-a22b-instruct",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

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

Qwen3 VL 235B A22B Instruct providers and prices

Spiral runs Qwen3 VL 235B A22B Instruct through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Qwen: Qwen3 VL 235B A22B Instruct
qwen/qwen3-vl-235b-a22b-instruct

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 32768

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of Qwen: Qwen3 VL 235B A22B Instruct is on its tool page: open its card above.

What can you do with Qwen3 VL 235B A22B Instruct in opencode?

Turn visual references into code drafts and document images into extraction tasks. A coding agent can use Qwen3 VL 235B A22B Instruct alongside project files to implement the result and check it.

Extract invoice details

Turn invoice images into records containing the vendor, invoice number, date, and total. Request a supporting text excerpt for each value and leave missing values empty.

Transcribe multilingual signs

Read photographed signs or labels in their original writing. Keep line breaks and mark uncertain characters for review.

Draft a page from a screenshot

Use a screenshot as the reference for a frontend implementation. Specify the framework and request the visible text, layout, and controls in the code draft.

Locate visual elements

Find a named object or interface element in an image and describe its location. Request nearby visual landmarks so a reviewer can check the identification.

Summarize a demonstration

Turn the visible steps in a demonstration video into a written procedure. Ask for observed actions and a separate list of steps that need clarification.

Parse document layouts

Convert scanned document pages into an ordered outline with headings, paragraphs, and extracted text. Preserve the page references for checking against the originals.

Questions about Qwen3 VL 235B A22B Instruct in opencode

Can opencode use Qwen3 VL 235B A22B Instruct?

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

How much does Qwen3 VL 235B A22B Instruct cost in opencode?

Up to $0.010127 per run at the default inputs. $0.273 per 1M input tokens, $2.47 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 235B A22B Instruct in opencode?

No. Spiral runs Qwen3 VL 235B A22B 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 235B A22B Instruct in opencode?

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

Does opencode wait while Qwen3 VL 235B A22B Instruct runs?

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

What is Qwen3 VL 235B A22B Instruct useful for?

Use it to extract information from document images, read photographed text, interpret visual content, and draft code from screenshots. Ask for a concrete deliverable, such as an extraction table or an implementation draft.

How does Instruct compare with Thinking?

Instruct uses the non-thinking format. Qwen reports stronger complex visual reasoning from Thinking, so Instruct is a better starting point for direct extraction tasks than for difficult visual proofs.

Can it read text in multiple languages?

Qwen documents OCR support for 32 languages. For transcription, request the original writing and mark unreadable spans explicitly.

How much context and output does Qwen document?

Qwen documents a native 256K-token context window. Its Instruct evaluations use a maximum output length of 32,768 tokens; treat that number as the published evaluation setting.

Can it turn a screenshot into code?

Yes. Qwen documents code generation from images and videos; specify the target language, visible content to preserve, and how you will check the result.

Get started

Start using Qwen3 VL 235B A22B Instruct in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options