[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Qwen3.5-27B](https://spiral.ai/integrations/opencode/qwen3-5-27b)

# How to Use Qwen3.5-27B in opencode

Qwen3.5-27B suits coding, multilingual writing, and long-document analysis. It uses a dense 27B design, with overall capabilities Alibaba describes as comparable to Qwen3.5-122B-A10B.

|  |  |
| --- | --- |
| Model | Qwen3.5-27B |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.013857 per run at the default inputs. $0.338 per 1M input tokens, $3.38 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Qwen3.5-27B in opencode

- Use Qwen3.5-27B with thinking enabled and temperature 0.6 to investigate the failing tests in this project. Find the root cause, make the smallest justified patch, and run the relevant tests.
- Use Qwen3.5-27B to review the current diff. Report only actionable bugs, cite file locations, and describe an input that would trigger each failure.
- Use Qwen3.5-27B to trace authentication through this project's files. Explain token validation, expiration handling, and error paths, with references to the code.
- Use Qwen3.5-27B to compare the implementation with the requirements in this repository. Return a table of satisfied requirements, gaps, and evidence.
- Use Qwen3.5-27B to review the Spanish translations in this project. Preserve interpolation tokens and product names, flag terminology inconsistencies, and propose edits for Mexican Spanish.

## How to set up Qwen3.5-27B 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-27B**: 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-27b",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: opencode finds Qwen3.5-27B on Spiral, shows the price and runs it.

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

## Qwen3.5-27B tools and prices

- [Qwen: Qwen3.5-27B](https://spiral.ai/tools/openrouter/qwen/qwen3.5-27b) (OpenRouter): Up to $0.132916 per run at the default inputs. $0.2535 per 1M input tokens, $2.028 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.5-27B in opencode?

Turn project context into code fixes, reviews, and technical explanations with Qwen3.5-27B. Give the agent relevant files, expected behavior, and a specific way to check the result.

### Fix a reproducible bug

Give Qwen3.5-27B the failing behavior, relevant code, and expected result. Request a small patch and a regression check.

### Review a code change

Ask Qwen3.5-27B to inspect a diff for concrete failures, explain each finding, and suggest a test that would expose it.

### Compare technical proposals

Have Qwen3.5-27B compare supplied specifications against the same requirements, citing passages for each conclusion.

### Localize customer responses

Use Qwen3.5-27B to rewrite approved support language for a named locale while preserving product names and policy details.

### Extract structured records

Ask Qwen3.5-27B to turn supplied text into JSON with defined keys, explicit missing values, and supporting excerpts.

### Check a mathematical solution

Give Qwen3.5-27B a problem and proposed solution. Request the first incorrect step, a correction, and a clearly marked final answer.

### Summarize recurring updates

Have Qwen3.5-27B compare supplied updates with the previous summary and report changed commitments, unresolved questions, and supporting evidence.

## Overview

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

## Qwen3.5-27B in other agents

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

## More opencode guides

- [Qwen3.5-122B-A10B](https://spiral.ai/integrations/opencode/qwen3-5-122b-a10b)
- [Qwen3.5-35B-A3B](https://spiral.ai/integrations/opencode/qwen3-5-35b-a3b)
- [Qwen3.5 Plus 2026-04-20](https://spiral.ai/integrations/opencode/qwen3-5-plus-2026-04-20)
- [Qwen3.5-9B](https://spiral.ai/integrations/opencode/qwen3-5-9b)
- [Qwen3.5 Plus](https://spiral.ai/integrations/opencode/qwen3-5-plus)
- [Qwen3.5-Flash](https://spiral.ai/integrations/opencode/qwen3-5-flash)

## Questions about Qwen3.5-27B in opencode

**Can opencode use Qwen3.5-27B?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Qwen3.5-27B like any built-in tool.

**How much does Qwen3.5-27B cost in opencode?**

Up to $0.013857 per run at the default inputs. $0.338 per 1M input tokens, $3.38 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-27B in opencode?**

No. Spiral runs Qwen3.5-27B 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-27B in opencode?**

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

**Does opencode wait while Qwen3.5-27B runs?**

Qwen3.5-27B 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-27B useful for?**

Consider it for code changes, multilingual writing, and analysis across long documents. Give it a concrete deliverable, such as a patch, translated response, or comparison table.

**How does Qwen3.5-27B compare with Qwen3.5-122B-A10B?**

Qwen3.5-27B uses a dense 27B design. Alibaba describes its overall capabilities as comparable to Qwen3.5-122B-A10B; that does not establish equal results on every task.

**How much context does Qwen3.5-27B support?**

Its native context window is 262,144 tokens. For document comparisons, identify each source and ask it to cite the relevant sections.

**Can Qwen3.5-27B work in multiple languages?**

Qwen reports support for 201 languages and dialects. Specify the target language, regional wording, and terms that must stay unchanged.

**Which settings should I try for coding?**

Qwen recommends thinking enabled with temperature 0.6, top-p 0.95, and top-k 20 for precise coding tasks.

