[Integrations](https://spiral.ai/integrations) › [Muse](https://spiral.ai/integrations/muse) › [Gemma 2 27B Instruct](https://spiral.ai/integrations/muse/gemma-2-27b-instruct)

# How to Use Gemma 2 27B Instruct in Muse

Gemma 2 27B Instruct is for English summaries, questions about supplied text, and response drafts. It uses 27 billion parameters, compared with Gemma 2 9B Instruct's 9 billion, while retaining an 8,192-token context.

|  |  |
| --- | --- |
| Model | Gemma 2 27B Instruct |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.001761 per run at the default inputs. $0.845 per 1M input tokens, $0.845 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Gemma 2 27B Instruct in Muse

- Use Gemma 2 27B Instruct to summarize the report excerpt above in 200 words. Include three findings, a short supporting passage for each, and any questions the excerpt leaves unanswered.
- Use Gemma 2 27B Instruct to answer the question above using only the policy text in this conversation. Quote the relevant passage and say when the policy does not provide an answer. Keep it under 150 words.
- Use Gemma 2 27B Instruct to draft a reply to the customer conversation above using only the approved guidance provided here. Acknowledge the complaint, explain the supported next step, and stay under 120 words.
- Use Gemma 2 27B Instruct to assess the sentiment of the conversation above. Choose positive, neutral, negative, or mixed, quote the wording behind your choice, and explain any ambiguity in under 100 words.
- Use Gemma 2 27B Instruct to turn the meeting transcript above into decisions, assigned actions, and open questions. Keep it under 300 words and leave owners or deadlines unspecified when the transcript does.

## How to set up Gemma 2 27B Instruct in Muse

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

### Use the Muse connector

1. **Create an API key**: Create one under API keys in the Spiral console.

2. **Send Muse this message**: Muse reads Spiral's skill and asks for an API key.

```text
set up https://spiral.ai/SKILL.md
```

3. **Give Muse the key**: Paste the key when Muse asks for it, never in the chat itself.

### Use the Spiral skill

1. **Send Muse 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 Gemma 2 27B Instruct**: 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": "google/gemma-2-27b-it",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Muse finds Gemma 2 27B Instruct on Spiral, shows the price and runs it.

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

## Gemma 2 27B Instruct tools and prices

- [Google: Gemma 2 27B](https://spiral.ai/tools/openrouter/google/gemma-2-27b-it) (OpenRouter): Up to $0.001761 per run at the default inputs. $0.845 per 1M input tokens, $0.845 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| top_p | 0 to 1 | — |  |
| max_tokens | 1 to 2048 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |
| response_format |  | — |  |

## What can you do with Gemma 2 27B Instruct in Muse?

Get concise summaries, evidence-based answers, and customer reply drafts from text shared in the conversation. Ask Gemma 2 for a specific length and supporting passages so you can check the result.

### Report summaries

Ask Gemma 2 to condense a report excerpt into findings, supporting evidence, and open questions. Request a short passage supporting each finding.

### Questions about policies

Give Gemma 2 the relevant policy passages and ask it to answer a specific employee or customer question. Require it to identify anything the passages leave unresolved.

### Customer reply drafts

Provide Gemma 2 with a customer conversation and approved guidance. Ask for a concise reply that addresses the complaint without inventing promises.

### Conversation sentiment review

Ask Gemma 2 to label the sentiment of each short conversation and quote the wording behind its assessment. Keep ambiguous cases visible for review.

### Project change summaries

Have Gemma 2 summarize selected diffs and related documentation into a review brief. Ask it to distinguish changes shown in the text from questions that need testing.

### Meeting recaps

Give Gemma 2 a short meeting transcript and request decisions, assigned actions, and unresolved questions. Tell it to leave owners and deadlines unspecified when the transcript does.

## Overview

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

## Gemma 2 27B Instruct in other agents

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

## More Muse guides

- [Gemini Pro Latest](https://spiral.ai/integrations/muse/gemini-pro-latest)
- [Gemma 3 12B](https://spiral.ai/integrations/muse/gemma-3-12b)
- [Gemini Flash Latest](https://spiral.ai/integrations/muse/gemini-flash-latest)
- [Gemma 3 27B IT](https://spiral.ai/integrations/muse/gemma-3-27b-it)
- [Gemini 4 Neon](https://spiral.ai/integrations/muse/gemini-4-neon)
- [Gemma 3 4B](https://spiral.ai/integrations/muse/gemma-3-4b)

## Questions about Gemma 2 27B Instruct in Muse

**Can Muse use Gemma 2 27B Instruct?**

Yes. Add Spiral to Muse as an MCP server, and Muse can find and run Gemma 2 27B Instruct like any built-in tool.

**How much does Gemma 2 27B Instruct cost in Muse?**

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

**Do I need an OpenRouter account to use Gemma 2 27B Instruct in Muse?**

You need no OpenRouter account. Muse uses one Spiral API key for every tool, and Spiral runs Gemma 2 27B Instruct on its own OpenRouter account.

**How long does it take to set up Gemma 2 27B Instruct in Muse?**

About two minutes: create an API key, then send Muse this message, then give Muse the key.

**Does Muse wait while Gemma 2 27B Instruct runs?**

Gemma 2 27B Instruct runs in the background. Muse starts the run, checks on it and gives you the text, json when it's ready.

**What is Gemma 2 useful for?**

Use Gemma 2 for English summaries, questions about supplied text, and reasoning over short excerpts. Google also demonstrates conversation sentiment analysis and reply drafting.

**How much text can Gemma 2 work with?**

Gemma 2 has an 8,192-token context. Keep instructions and source excerpts compact, leave room for the response, and split longer material into separate tasks.

**Can Gemma 2 understand images or audio?**

Gemma 2 is text-to-text. For questions about a recording or screenshot, supply a transcript or text description.

**Which languages should I use with Gemma 2?**

Start with English. Google says Gemma 2 was not trained specifically for leading multilingual performance, so test other languages on examples from your actual task.

**Can I trust Gemma 2's factual answers?**

Gemma 2 can generate incorrect or outdated statements. For factual work, provide the relevant source text, request supporting passages, and check the answer against them.

