How to Use Gemma 2 27B Instruct in goose
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.
Prompts to try with Gemma 2 27B Instruct in goose
Copy an example into goose, or ask in your own words.
Use Gemma 2 27B Instruct to summarize the current diff and relevant README passages. Select excerpts that fit an 8,192-token context with room for the answer. Return a review brief under 300 words covering changed behavior, documented expectations, and unanswered questions.
Use Gemma 2 27B Instruct to answer this question from the project's authentication documentation: when does a session expire? Send only relevant excerpts, cite their paths, and flag any missing information. Keep the answer under 200 words.
Use Gemma 2 27B Instruct to compare the selected handler with its documented behavior. Provide compact code and documentation excerpts. Return a table of documented requirements, matching evidence, and questions for a reviewer; do not claim the code was tested.
Use Gemma 2 27B Instruct to draft release notes from the current diff. Include only changes supported by the supplied excerpts, keep the draft under 250 words, and list uncertain user-facing effects separately.
Use Gemma 2 27B Instruct to summarize the failing test output and the relevant test excerpt. Describe the observed failure, expected behavior, and information still needed in no more than 200 words.
How to set up Gemma 2 27B Instruct in goose
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the extension
In goose Desktop, open the sidebar, click Extensions, then Add custom extension. Enter:
- Sign in
When goose first connects to Spiral, your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key. If the browser does not open, goose prints the link to open yourself.
Use the Spiral skill
- Send goose this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Gemma 2 27B Instruct
One request; the result comes back by polling or a webhook.
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: goose finds Gemma 2 27B Instruct on Spiral, shows the price and runs it.
Gemma 2 27B Instruct providers and prices
Spiral runs Gemma 2 27B Instruct through OpenRouter. Open a card for today's price, with every fee included.
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
Ask goose for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Top p | 0 to 1 | ||
| Max tokens | 1 to 2048 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 | ||
| Repetition penalty | 0 to 2 |
Every API field of Google: Gemma 2 27B is on its tool page: open its card above.
What can you do with Gemma 2 27B Instruct in goose?
Turn selected project text into review briefs, documentation summaries, and answers grounded in the code excerpts you provide. Give Gemma 2 a focused set of files or diffs that fits its context, and ask it to separate evidence from assumptions.
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.
More on Gemma 2 27B Instruct and goose
Overview
Gemma 2 27B Instruct in other agents
Questions about Gemma 2 27B Instruct in goose
Can goose use Gemma 2 27B Instruct?
Yes. Add Spiral to goose as an MCP server, and goose can find and run Gemma 2 27B Instruct like any built-in tool.
How much does Gemma 2 27B Instruct cost in goose?
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 goose plan is separate.
Do I need an OpenRouter account to use Gemma 2 27B Instruct in goose?
No. Spiral runs Gemma 2 27B Instruct on its own OpenRouter account. You sign in to Spiral once and never paste a key.
How long does it take to set up Gemma 2 27B Instruct in goose?
About two minutes: add the extension, then sign in.
Does goose wait while Gemma 2 27B Instruct runs?
Gemma 2 27B Instruct runs in the background. goose 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.
Start using Gemma 2 27B Instruct in goose
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into goose:
set up https://spiral.ai/SKILL.md


