[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Qwen3.5 Plus 2026-04-20](https://spiral.ai/integrations/opencode/qwen3-5-plus-2026-04-20)

# How to Use Qwen3.5 Plus 2026-04-20 in opencode

Qwen3.5 Plus 2026-04-20 suits coding agents that work through complex tasks. Alibaba reports improved agentic coding compared with Qwen3.5 Plus 2026-02-15.

|  |  |
| --- | --- |
| Model | Qwen3.5 Plus 2026-04-20 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.0096 per run at the default inputs. $0.39 per 1M input tokens, $2.34 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Qwen3.5 Plus 2026-04-20 in opencode

- Use Qwen3.5 Plus 2026-04-20 with thinking enabled to investigate the failing tests in this project. Trace the failure through the relevant functions, propose the smallest fix, and add a regression test.
- Use Qwen3.5 Plus 2026-04-20 to review the current diff against this project's requirements. Report each mismatch with its file path, affected behavior, and suggested correction.
- Use Qwen3.5 Plus 2026-04-20 with thinking enabled to plan a refactor of this project's authentication module. Map dependencies, list behavior to preserve, and propose changes that can be reviewed separately.
- Use Qwen3.5 Plus 2026-04-20 to compare the API specification in this repository with its implementation. List missing cases and propose a test for each discrepancy.
- Use Qwen3.5 Plus 2026-04-20 without thinking to extract routes from this project's source into JSON. For each route, include its method, path, handler, and source file; validate the resulting keys and types.

## How to set up Qwen3.5 Plus 2026-04-20 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.5 Plus 2026-04-20**: 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.5-plus-20260420",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: opencode finds Qwen3.5 Plus 2026-04-20 on Spiral, shows the price and runs it.

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

## Qwen3.5 Plus 2026-04-20 tools and prices

- [Qwen: Qwen3.5 Plus 2026-04-20](https://spiral.ai/tools/openrouter/qwen/qwen3.5-plus-20260420) (OpenRouter): Up to $0.0096 per run at the default inputs. $0.39 per 1M input tokens, $2.34 per 1M output tokens.

## Settings you can ask for

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

## What can you do with Qwen3.5 Plus 2026-04-20 in opencode?

Qwen3.5 Plus can help turn a codebase and a bug report into a focused repair or refactor plan. Give it the relevant files, expected behavior, and a concrete check for success.

### Trace a bug across a codebase

Use Qwen3.5 Plus 2026-04-20 to follow a failing request through related functions and propose a focused patch with a regression check.

### Plan a refactor

Ask Qwen3.5 Plus 2026-04-20 to map dependencies, identify behavior that must stay intact, and divide a refactor into reviewable changes.

### Compare long specifications

Give Qwen3.5 Plus 2026-04-20 two specifications and request a table of changed requirements, conflicts, and unanswered questions with section references.

### Extract records from text

Ask Qwen3.5 Plus 2026-04-20 to turn support requests or business notes into JSON. Define missing-value rules and validate the returned keys and types.

### Explain a chart

Give Qwen3.5 Plus 2026-04-20 a chart and ask for its visible trends, labeled values, and questions the chart cannot answer.

### Summarize a video visually

Ask Qwen3.5 Plus 2026-04-20 to describe the visible sequence in a demonstration video and turn it into written instructions.

### Prepare multilingual summaries

Use Qwen3.5 Plus 2026-04-20 to summarize supplied material in a target language while preserving product names and an approved glossary.

### Review a decision against requirements

Give Qwen3.5 Plus 2026-04-20 the requirements, proposed decision, and supporting evidence. Request a requirement-by-requirement assessment with unresolved assumptions.

## Overview

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

## Qwen3.5 Plus 2026-04-20 in other agents

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

## More opencode guides

- [Qwen3.5 Plus](https://spiral.ai/integrations/opencode/qwen3-5-plus)
- [Qwen3.5-122B-A10B](https://spiral.ai/integrations/opencode/qwen3-5-122b-a10b)
- [Qwen3.5 397B A17B](https://spiral.ai/integrations/opencode/qwen3-5-397b-a17b)
- [Qwen3.5-27B](https://spiral.ai/integrations/opencode/qwen3-5-27b)
- [Qwen3-VL 8B Instruct](https://spiral.ai/integrations/opencode/qwen3-vl-8b-instruct)
- [Qwen3.5-35B-A3B](https://spiral.ai/integrations/opencode/qwen3-5-35b-a3b)

## Questions about Qwen3.5 Plus 2026-04-20 in opencode

**Can opencode use Qwen3.5 Plus 2026-04-20?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Qwen3.5 Plus 2026-04-20 like any built-in tool.

**How much does Qwen3.5 Plus 2026-04-20 cost in opencode?**

Up to $0.0096 per run at the default inputs. $0.39 per 1M input tokens, $2.34 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.5 Plus 2026-04-20 in opencode?**

No. Spiral runs Qwen3.5 Plus 2026-04-20 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.5 Plus 2026-04-20 in opencode?**

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

**Does opencode wait while Qwen3.5 Plus 2026-04-20 runs?**

Qwen3.5 Plus 2026-04-20 runs in the background. opencode starts the run, checks on it and gives you the text, json when it's ready.

**What is Qwen3.5 Plus 2026-04-20 best suited for?**

Coding agents are a documented focus: Alibaba reports improved agentic coding compared with Qwen3.5 Plus 2026-02-15. Use it for tasks such as tracing a bug across functions, planning a refactor, or reviewing an implementation against requirements.

**How much can Qwen3.5 Plus read and write?**

It has a one-million-token context window. Alibaba lists a maximum input length of 991,808 tokens and a maximum output length of 65,536 tokens for the April 20 snapshot; the context size is not the amount it can write in one response.

**Can Qwen3.5 Plus create images or videos?**

It produces text. It can interpret images and video, so ask for descriptions, comparisons, extracted information, or written analysis.

**When should I use thinking mode?**

Use thinking mode for problems with several stages of analysis, such as debugging or checking competing explanations. For structured extraction, Alibaba documents Qwen3.5 Plus JSON output in non-thinking mode.

**Does valid JSON guarantee the structure I requested?**

No. JSON Object mode does not guarantee stable key names or field types, so specify the expected structure and validate the result before another program uses it.

