[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Gemma 3 27B IT](https://spiral.ai/integrations/vscode/gemma-3-27b-it)

# How to Use Gemma 3 27B IT in VS Code

Gemma 3 27B IT handles document questions, summaries, multilingual writing, and code assistance. Unlike pretrained Gemma 3 27B, it is tuned to follow instructions in conversation.

|  |  |
| --- | --- |
| Model | Gemma 3 27B IT |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.001869 per run at the default inputs. $0.104 per 1M input tokens, $0.455 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Gemma 3 27B IT in VS Code

- Use Gemma 3 27B IT to explain the authentication flow from this project's source files. Cite file paths and function names, and separate observed behavior from assumptions.
- Use Gemma 3 27B IT to draft tests for the project's date parser. Read its implementation and existing tests, cover invalid dates and leap years, and explain the expected result of each proposed test.
- Use Gemma 3 27B IT to summarize the current diff into release notes under 250 words. Include only changes supported by the diff and identify changes that affect users.
- Use Gemma 3 27B IT to turn the project's English onboarding guide into Spanish. Preserve commands, code identifiers, and product names, and flag ambiguous source sentences.
- Use Gemma 3 27B IT to extract the requirements from this project's specification into JSON. Give each requirement an ID, source section, expected behavior, and unresolved questions; use null for missing information.

## How to set up Gemma 3 27B IT in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS Code 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 3 27B IT**: 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-3-27b-it",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: VS Code finds Gemma 3 27B IT on Spiral, shows the price and runs it.

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

## Gemma 3 27B IT tools and prices

- [Google: Gemma 3 27B](https://spiral.ai/tools/openrouter/google/gemma-3-27b-it) (OpenRouter): Up to $0.069014 per run at the default inputs. $0.104 per 1M input tokens, $0.585 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 Gemma 3 27B IT in VS Code?

Turn project code and documentation into explanations, focused test drafts, and summaries with Gemma 3 27B IT. Give it the relevant files and a specific deliverable, then check proposed changes against the project.

### Report summaries with evidence

Turn a supplied report into a short brief covering findings, supporting passages, and unanswered questions.

### Questions across long documents

Ask specific questions about supplied manuals or research text. Require a section reference for each answer and flag missing evidence.

### Multilingual support drafts

Draft replies in the customer's language from supplied support guidance. Include a glossary for product terms.

### Structured text extraction

Extract dates, organizations, and action items from supplied text into JSON, using null when information is absent.

### Code explanations and test drafts

Explain a function, suggest a focused change, or draft tests from supplied code and requirements.

### Recurring research briefs

Summarize newly supplied research excerpts into a recurring brief with source references and open questions.

### Technical explanations for different audiences

Rewrite a supplied technical explanation for customers, new developers, or a Spanish-speaking support team while preserving its stated facts.

## Overview

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

## Gemma 3 27B IT in other agents

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

## More VS Code guides

- [Gemma 3 12B](https://spiral.ai/integrations/vscode/gemma-3-12b)
- [Gemma 3 4B](https://spiral.ai/integrations/vscode/gemma-3-4b)
- [Gemma 2 27B Instruct](https://spiral.ai/integrations/vscode/gemma-2-27b-instruct)
- [Gemma 4 26B A4B](https://spiral.ai/integrations/vscode/gemma-4-26b-a4b)
- [Gemini Pro Latest](https://spiral.ai/integrations/vscode/gemini-pro-latest)
- [Gemma 4 31B](https://spiral.ai/integrations/vscode/gemma-4-31b)

## Questions about Gemma 3 27B IT in VS Code

**Can VS Code use Gemma 3 27B IT?**

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Gemma 3 27B IT like any built-in tool.

**How much does Gemma 3 27B IT cost in VS Code?**

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

**Do I need an OpenRouter account to use Gemma 3 27B IT in VS Code?**

No. Spiral runs Gemma 3 27B IT 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 3 27B IT in VS Code?**

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

**Does VS Code wait while Gemma 3 27B IT runs?**

Gemma 3 27B IT runs in the background. VS Code starts the run, checks on it and gives you the text, json when it's ready.

**What is Gemma 3 27B IT useful for?**

Use it to summarize documents, answer questions about supplied material, draft multilingual text, or help explain code. IT means it is tuned to follow instructions in conversation.

**How much text can Gemma 3 27B IT handle?**

Google documents a 128K-token input context. Its current documentation describes the output allowance as up to 128K tokens minus the input tokens, so leave room for the answer when preparing long requests.

**Which languages does Gemma 3 support?**

Google distinguishes out-of-the-box support for over 35 languages from pretrained support for over 140. Test your target language with representative examples before relying on the results.

**Can Gemma 3 produce JSON?**

Gemma 3 supports structured outputs. Give it the required keys, value types, and a rule for missing information, then validate the result before using it.

**Where does Gemma 3 need extra checking?**

It can produce incorrect or outdated facts, and open-ended tasks can be difficult. Supply the relevant evidence and check claims against that evidence.

