[Integrations](https://spiral.ai/integrations) › [Devin](https://spiral.ai/integrations/devin) › [Qwen3.8 27B](https://spiral.ai/integrations/devin/qwen3-8-27b)

# How to Use Qwen3.8 27B in Devin

Qwen3.8 27B suits code changes, research synthesis, and tasks that require several rounds of decisions. Its 27-billion-parameter dense design combines adjustable thinking with a native 262,144-token context.

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

## Prompts to try with Qwen3.8 27B in Devin

- Use Qwen3.8 27B to investigate the failing tests in this repository. Trace the failure through the relevant code, make the smallest justified fix, and run the affected tests.
- Use Qwen3.8 27B to review the current diff for correctness bugs. For each finding, identify the file, triggering input, and resulting failure; omit style preferences.
- Use Qwen3.8 27B to turn the requirements in this project's README into an implementation plan. Identify dependencies and missing acceptance criteria before proposing edits.
- Use Qwen3.8 27B to examine this repository's request validation. Find one concrete case where invalid input reaches business logic, then propose a fix and a regression test.
- Use Qwen3.8 27B to explain the authentication flow in this project. Follow the actual call path and cite the relevant files; mark any behavior you cannot establish from the code.

## How to set up Qwen3.8 27B in Devin

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

### Use Spiral's MCP server

1. **Add a custom MCP**: Open Customize › MCPs. Click + and choose New MCP. Fill in:

2. **Sign in to Spiral and approve**: In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

3. **Check it**: On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

### Use the Spiral skill

1. **Send Devin 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.8 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.8-27b",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## Qwen3.8 27B tools and prices

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

Turn repository context into targeted fixes, reviews, and implementation plans with Qwen3.8 27B. Give the agent a reproducible failure or acceptance criteria so it has a concrete result to check.

### Bug diagnosis

Give Qwen3.8 27B the failing behavior, relevant code, and error messages. Request a likely cause, a minimal correction, and a regression check.

### Code review

Ask Qwen3.8 27B to review a proposed change for concrete failure paths. Require each finding to include the triggering condition and affected code.

### Research comparison

Supply research excerpts and ask Qwen3.8 27B to compare claims, methods, and disagreements, with a source reference for each conclusion.

### Requirements analysis

Have Qwen3.8 27B turn a product brief into acceptance criteria, dependencies, and unresolved questions.

### Document synthesis

Use Qwen3.8 27B to combine supplied reports into a decision brief that separates evidence, assumptions, and missing information.

### Incident review

Give Qwen3.8 27B a text timeline and logs. Request an evidence-based sequence of events and follow-up actions.

### Recurring change reports

Ask Qwen3.8 27B to compare current and previous updates, identify material changes, and list decisions that need attention.

### Technical explanations

Have Qwen3.8 27B explain supplied code or technical notes for a specific audience, using examples drawn from the source material.

## Overview

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

## Qwen3.8 27B in other agents

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

## More Devin guides

- [Qwen3.8 2.4T A95B](https://spiral.ai/integrations/devin/qwen3-8-2-4t-a95b)
- [Qwen3.8 27B (batch)](https://spiral.ai/integrations/devin/qwen3-8-27b-batch)
- [Qwen3.7 Plus](https://spiral.ai/integrations/devin/qwen3-7-plus)
- [Qwen3.8 Flash](https://spiral.ai/integrations/devin/qwen3-8-flash)
- [Qwen3.7 Max](https://spiral.ai/integrations/devin/qwen3-7-max)
- [Qwen3.8 Max (0902)](https://spiral.ai/integrations/devin/qwen3-8-max-0902)

## Questions about Qwen3.8 27B in Devin

**Can Devin use Qwen3.8 27B?**

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

**How much does Qwen3.8 27B cost in Devin?**

Up to $0.009992 per run at the default inputs. $0.195 per 1M input tokens, $2.4375 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.

**Do I need an OpenRouter account to use Qwen3.8 27B in Devin?**

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

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

**Does Devin wait while Qwen3.8 27B runs?**

Qwen3.8 27B runs in the background. Devin starts the run, checks on it and gives you the text, json when it's ready.

**What is Qwen3.8 27B useful for?**

Consider it for code changes, research synthesis, and work that requires several decisions. Qwen highlights improvements in coding, professional work, research, and extended agent tasks.

**How much context does Qwen3.8 27B support?**

Its native context is 262,144 tokens. The documented extension to 1,000,000 tokens requires additional configuration, so treat that as an extended capability rather than the native limit.

**When should I use thinking?**

Use thinking for debugging, comparing evidence, or planning work with dependencies. Try direct answers for straightforward extraction and rewriting; Qwen3.8 27B supports both approaches.

**What sampling settings should I start with?**

The shipped configuration provides a starting point: temperature 1.0, top-p 0.95, and top-k 20. Compare results on representative tasks before changing several settings at once.

**What weakness should I watch for when reducing repetition?**

Aggressive repetition suppression can introduce mixed-language output and reduce quality. If that happens, reduce the repetition penalty before rewriting the whole prompt.

