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

# How to Use Qwen3.8 27B in Perplexity

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 Perplexity

- Use Qwen3.8 27B to compare the research excerpts below. Make a table of claims, supporting evidence, and disagreements, citing the excerpt labels.
- Use Qwen3.8 27B to explain the code pasted below to a junior developer. Include one worked example and identify two inputs that deserve tests.
- Use Qwen3.8 27B to analyze the proposal below with deeper reasoning. Recommend an approach, explain the tradeoffs, and list the missing facts that could change the recommendation.
- Use Qwen3.8 27B to turn the meeting transcript below into decisions, owners, and deadlines. Keep the answer direct and mark anything the transcript leaves unspecified.
- Use Qwen3.8 27B to diagnose the error from the code and logs pasted below. Rank three possible causes and give a check that would confirm or reject each one.

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

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

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity 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: Perplexity finds Qwen3.8 27B on Spiral, shows the price and runs it.

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

## 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 Perplexity?

Turn supplied technical material and research excerpts into explanations and decision briefs with Qwen3.8 27B. State the audience and desired format, then ask it to distinguish evidence from assumptions.

### 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 Perplexity guides](https://spiral.ai/integrations/perplexity)

## 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)
- [Devin](https://spiral.ai/integrations/devin/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)
- [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 Perplexity guides

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

## Questions about Qwen3.8 27B in Perplexity

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

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

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

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 Perplexity plan is separate.

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

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 Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

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

Qwen3.8 27B runs in the background. Perplexity 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.

