[Integrations](https://spiral.ai/integrations) › [Hermes](https://spiral.ai/integrations/hermes) › [Gemini 4 Hydrogen](https://spiral.ai/integrations/hermes/gemini-4-hydrogen)

# How to Use Gemini 4 Hydrogen in Hermes

Gemini 4 Hydrogen suits repository fixes, web prototypes, and repeatable document work. Google positions it for everyday execution, while Gemini 4 Carbon and Gemini 4 Argon target deeper, longer reasoning tasks.

|  |  |
| --- | --- |
| Model | Gemini 4 Hydrogen |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.020004 per run at the default inputs. $0.975 per 1M input tokens, $4.875 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Gemini 4 Hydrogen in Hermes

- Each morning, use Gemini 4 Hydrogen to summarize newly received support messages by issue, supporting passage, and unresolved question.
- Each weekday, use Gemini 4 Hydrogen to classify new requests as billing, access, bug, or other. Flag ambiguous requests for review.
- Each Friday, use Gemini 4 Hydrogen to turn this week's meeting text into open actions. Mark missing owners and deadlines.
- Each morning, use Gemini 4 Hydrogen to compare incoming release announcements with yesterday's brief. Include only changes supported by the supplied text.
- Each week, use Gemini 4 Hydrogen with high reasoning to compare new project updates with stated commitments and list unresolved contradictions.

## How to set up Gemini 4 Hydrogen in Hermes

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

### Use the Spiral skill

1. **Send Hermes 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 and sign in**: Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

```bash
hermes mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --auth oauth \
  --connect-timeout 300
```

2. **Check it**: In a chat that was already open, run `/reload-mcp`.

```bash
hermes mcp list
hermes mcp test spiral
```

### 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 Gemini 4 Hydrogen**: 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/gemini-4-hydrogen:batch",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Hermes finds Gemini 4 Hydrogen on Spiral, shows the price and runs it.

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

## Gemini 4 Hydrogen tools and prices

- [Google: Gemini 4 Hydrogen (batch)](https://spiral.ai/tools/openrouter/google/gemini-4-hydrogen%3Abatch) (OpenRouter): Up to $0.020004 per run at the default inputs. $0.975 per 1M input tokens, $4.875 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| tools |  | — |  |
| top_p | 0 to 1 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 943718 | — | The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length). |

## What can you do with Gemini 4 Hydrogen in Hermes?

Gemini 4 Hydrogen can turn recurring streams of text into categorized records and concise review briefs. Define the categories and evidence requirements so each run produces comparable results.

### Fix a reproducible repository bug

Have Gemini 4 Hydrogen trace a failing test, propose a focused patch, and explain the validation results.

### Build an interactive prototype

Ask Gemini 4 Hydrogen to turn a written specification into a small web tool with working controls and defined acceptance criteria.

### Verify an implementation

Give Gemini 4 Hydrogen a specification and implementation to compare, then request missing behaviors and targeted test cases.

### Extract action items

Use Gemini 4 Hydrogen to turn meeting text into tasks, owners, and deadlines, marking details absent from the source.

### Classify support requests

Ask Gemini 4 Hydrogen to assign supplied messages to defined categories and retain a supporting passage for each decision.

### Rewrite operational documents

Have Gemini 4 Hydrogen rewrite procedures for a specified audience while preserving exceptions, required steps, and terminology.

### Compare research notes

Give Gemini 4 Hydrogen source excerpts and request a comparison table that separates agreement, disagreement, and missing evidence.

## Overview

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

## Gemini 4 Hydrogen in other agents

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

## More Hermes guides

- [Gemini 4 Carbon Batch](https://spiral.ai/integrations/hermes/gemini-4-carbon-batch)
- [Gemini 4 Hydrogen Vertex AI](https://spiral.ai/integrations/hermes/gemini-4-hydrogen-vertex-ai)
- [Gemini 4 Carbon](https://spiral.ai/integrations/hermes/gemini-4-carbon)
- [Gemini 4 Neon](https://spiral.ai/integrations/hermes/gemini-4-neon)
- [Gemini 4 Argon](https://spiral.ai/integrations/hermes/gemini-4-argon)
- [Gemini Flash Latest](https://spiral.ai/integrations/hermes/gemini-flash-latest)

## Questions about Gemini 4 Hydrogen in Hermes

**Can Hermes use Gemini 4 Hydrogen?**

Yes. Add Spiral to Hermes as an MCP server, and Hermes can find and run Gemini 4 Hydrogen like any built-in tool.

**How much does Gemini 4 Hydrogen cost in Hermes?**

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

**Do I need an OpenRouter account to use Gemini 4 Hydrogen in Hermes?**

No. Spiral runs Gemini 4 Hydrogen on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Gemini 4 Hydrogen in Hermes?**

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

**Does Hermes wait while Gemini 4 Hydrogen runs?**

Gemini 4 Hydrogen runs in the background. Hermes starts the run, checks on it and gives you the text, json when it's ready.

**What is Gemini 4 Hydrogen good at?**

It suits repository fixes, debugging, interactive web prototypes, and document tasks with explicit formatting requirements. Give it a concrete deliverable and clear acceptance criteria.

**How does Gemini 4 Hydrogen compare with Carbon and Argon?**

Google positions Hydrogen for everyday execution. Carbon and Argon target deeper, longer reasoning, including architectural judgment and difficult bugs.

**How much can Gemini 4 Hydrogen write?**

Google documents a default limit of 65,536 combined reasoning and output tokens per response. Longer generation uses continuation, and input, reasoning, and output must together fit within 1,048,576 tokens.

**When should I use extra-high reasoning?**

Reserve it for difficult coding or multistep problems that high reasoning does not solve. It uses more tokens and can overthink straightforward text or JSON extraction.

**Does lowering temperature make Gemini 4 Hydrogen more consistent?**

Google says Hydrogen ignores in-range custom temperature and sampling values. Specify the required format, constraints, and an example instead.

