Spiral gives your agent every tool with one account. Browse the tools →

OpenClaw · LLMReleased 2025-03-13

How to Use Gemma 3 12B in OpenClaw

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.

Prompts to try with Gemma 3 12B in OpenClaw

Copy an example into OpenClaw, or ask in your own words.

Every weekday, use Gemma 3 12B to summarize the support messages collected during the previous day. Report recurring questions, quote representative messages, and flag issues the supplied policy does not address.

Gemma 3 12BOpenClaw
Try asking
  • Each morning, use Gemma 3 12B to compare newly collected product announcements with the previous report. Summarize confirmed changes in 300 words and retain the source links supplied with each announcement.

  • Every Friday, use Gemma 3 12B to summarize the week's meeting transcripts. List decisions, explicitly assigned actions, stated deadlines, and unresolved questions without inventing owners.

  • Each evening, use Gemma 3 12B to draft replies to the collected Spanish customer messages using the supplied policy. Keep each reply under 120 words and set aside questions the policy cannot answer.

  • Every Monday, use Gemma 3 12B to compare the collected policy text with last week's text. Report changed obligations and exceptions, quote both versions, and mark uncertain interpretations for review.

How to set up Gemma 3 12B in OpenClaw

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

Use the Spiral skill

  1. Send OpenClaw 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 Spiral's MCP server

  1. Add the server

    On the machine that runs OpenClaw's Gateway:

    openclaw mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --transport streamable-http \
      --auth oauth
  2. Sign in

    In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

    openclaw mcp login spiral
  3. Reload and check

    A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

    openclaw mcp reload
    openclaw mcp doctor spiral --probe

Use the Spiral CLI

  1. 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

  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.

    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: OpenClaw finds Gemma 3 12B on Spiral, shows the price and runs it.

Gemma 3 12B providers and prices

Spiral runs Gemma 3 12B through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Google: Gemma 3 12B
google/gemma-3-12b-it

Settings you can ask for

Ask OpenClaw for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Max tokens1 to 16384

The most output tokens to generate.

Temperature0 to 2
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of Google: Gemma 3 12B is on its tool page: open its card above.

What can you do with Gemma 3 12B in OpenClaw?

Produce recurring summaries and multilingual reply drafts from text your agent collects with Gemma 3 12B. Reuse explicit reporting rules and require evidence for findings that need follow-up.

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.

Questions about Gemma 3 12B in OpenClaw

Can OpenClaw use Gemma 3 12B?

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

How much does Gemma 3 12B cost in OpenClaw?

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

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

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 OpenClaw?

About two minutes: add the server, then sign in, then reload and check.

Does OpenClaw wait while Gemma 3 12B runs?

Gemma 3 12B runs in the background. OpenClaw 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.

Get started

Start using Gemma 3 12B in OpenClaw

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into OpenClaw:

Set up OpenClaw

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options