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

OpenClaw · LLMReleased 2025-03-12

How to Use Gemma 3 27B IT in OpenClaw

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.

Prompts to try with Gemma 3 27B IT in OpenClaw

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

At each scheduled run, use Gemma 3 27B IT to summarize the newly supplied research excerpts. Return a 300-word brief with source references, key findings, and unanswered questions.

Gemma 3 27B ITOpenClaw
Try asking
  • Each morning, use Gemma 3 27B IT to draft replies to the supplied Spanish-language support messages using the supplied support guidance. Preserve product terms and flag questions the guidance cannot answer.

  • Each week, use Gemma 3 27B IT to summarize the supplied meeting transcripts. List decisions, owners, deadlines, and unresolved questions, using 'unstated' wherever details are missing.

  • At each run, use Gemma 3 27B IT to extract event details from the newly supplied announcements. Return only JSON with the event name, date, location, and source reference; use null for absent details.

  • Each Friday, use Gemma 3 27B IT to turn the supplied technical updates into a customer brief under 250 words. Explain changes in plain English and retain all stated limitations.

How to set up Gemma 3 27B IT 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 27B IT

    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-27b-it",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

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

Gemma 3 27B IT providers and prices

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

OpenRouterLLM
Google: Gemma 3 27B
google/gemma-3-27b-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
Logprobson or off
Max tokens1 to 117964

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

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

What can you do with Gemma 3 27B IT in OpenClaw?

Turn newly supplied text into recurring briefs and structured records with Gemma 3 27B IT. Keep each run tied to its supplied evidence and use a consistent output format for comparison.

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.

Questions about Gemma 3 27B IT in OpenClaw

Can OpenClaw use Gemma 3 27B IT?

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

How much does Gemma 3 27B IT cost in OpenClaw?

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

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

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

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

Does OpenClaw wait while Gemma 3 27B IT runs?

Gemma 3 27B IT 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 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.

Get started

Start using Gemma 3 27B IT 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