[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [Gemma 3 12B](https://spiral.ai/integrations/gemini/gemma-3-12b)

# How to Use Gemma 3 12B in Gemini

Gemma 3 12B is an instruction-tuned model for document summaries, multilingual drafts, and code explanations. Its 128K-token context supports questions across long source texts.

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

## Prompts to try with Gemma 3 12B in Gemini

- Use Gemma 3 12B to summarize the research text in this conversation in 250 words. Include three findings, a supporting passage for each, and two questions the text leaves unanswered.
- Use Gemma 3 12B to compare the two policy passages in this conversation. Make a table of changed requirements, unchanged requirements, and unclear wording, quoting the relevant passages.
- Use Gemma 3 12B to draft a Spanish reply to the customer message in this conversation using only the supplied return policy. Keep it under 150 words and identify any question the policy does not answer.
- Use Gemma 3 12B to correct the French paragraph in this conversation. Show the corrected paragraph, explain the three most useful corrections in English, and give me one practice question.
- Use Gemma 3 12B to turn the meeting transcript in this conversation into decisions and action items. Include owners and deadlines only when explicitly stated, and finish with unresolved questions.

## How to set up Gemma 3 12B in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

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

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

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

Then paste one of the prompts above: Gemini finds Gemma 3 12B on Spiral, shows the price and runs it.

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

## Gemma 3 12B tools and prices

- [Google: Gemma 3 12B](https://spiral.ai/tools/openrouter/google/gemma-3-12b-it) (OpenRouter): Up to $0.000803 per run at the default inputs. $0.065 per 1M input tokens, $0.195 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 12B in Gemini?

Turn supplied text into summaries, multilingual drafts, and answers grounded in reference material with Gemma 3 12B. Specify the audience and desired length, and request supporting passages for factual answers.

### Research brief summaries

Turn supplied research text into a short brief with findings, supporting passages, and unanswered questions.

### Policy comparison

Compare two policy texts and list changed requirements, exceptions, and passages that need clarification.

### Multilingual support drafts

Draft replies in the customer's language using a supplied policy and terminology guide.

### Code explanations

Explain supplied functions, trace their inputs and outputs, and identify assumptions worth testing.

### Structured request extraction

Convert written requests into structured records, using explicit rules for missing information.

### Meeting recaps

Summarize meeting transcripts into decisions, action items, owners, and unresolved questions.

### Writing practice

Review a learner's paragraph, explain corrections, and suggest a short follow-up exercise.

### Release note drafts

Turn supplied change descriptions into reader-facing release notes, keeping confirmed changes separate from open questions.

## Overview

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

## Gemma 3 12B in other agents

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

## More Gemini guides

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

## Questions about Gemma 3 12B in Gemini

**Can Gemini use Gemma 3 12B?**

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Gemma 3 12B like any built-in tool.

**How much does Gemma 3 12B cost in Gemini?**

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

**Do I need an OpenRouter account to use Gemma 3 12B in Gemini?**

No. Spiral runs Gemma 3 12B 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 12B in Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while Gemma 3 12B runs?**

Gemma 3 12B runs in the background. Gemini starts the run, checks on it and gives you the text, json when it's ready.

**What is Gemma 3 12B useful for?**

Use it to summarize long text, answer questions about supplied material, explain code, and draft multilingual content. Give each request a clear deliverable, such as a comparison table or a short explanation.

**How much text can Gemma 3 12B work with?**

It supports a 128K-token context. Google's current documentation says input tokens reduce the space available for output, so leave room for the response and request long drafts section by section.

**Does Gemma 3 12B support languages besides English?**

Google reports support for more than 140 languages. Specify the target language, audience, and terms that should stay untranslated.

**Can Gemma 3 12B produce structured text?**

Yes, Google lists structured outputs among its capabilities. Describe the exact structure, include a completed example, and check the result before using it in another process.

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

It can state incorrect or outdated information, and highly complex or open-ended tasks can be challenging. Supply reference material, ask it to flag missing evidence, and verify factual claims against the source.

