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

Claude · LLMReleased 2026-11-12

How to Use Gemini 4 Hydrogen Vertex AI in Claude

Gemini 4 Hydrogen handles everyday coding, debugging, and agent tasks that need quick iteration. Use it for focused repository edits, codebase questions, and writing with specific tone and format requirements.

Prompts to try with Gemini 4 Hydrogen Vertex AI in Claude

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

Use Gemini 4 Hydrogen to rewrite the announcement above as a 150-word customer email. Keep every date and commitment, use a calm tone, and state the main change first.

Gemini 4 Hydrogen Vertex AIClaude
Try asking
  • Use Gemini 4 Hydrogen to turn the notes above into a study guide. Include five key ideas, one example per idea, and five questions with answers.

  • Use Gemini 4 Hydrogen with low reasoning to label each message above as bug report, feature request, or question. Include the phrase that supports each label.

  • Use Gemini 4 Hydrogen to explain the code pasted above to a beginner. Walk through one example input and identify where an error could occur.

  • Use Gemini 4 Hydrogen to rewrite the explanation above for a nontechnical manager. Keep it under 200 words and preserve the stated limitations.

How to set up Gemini 4 Hydrogen Vertex AI in Claude

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

Use the Claude connector

  1. Add Spiral to Claude

    Click Add Spiral in Claude above. Claude opens Add custom connector with Spiral and its URL filled in; check them and click Continue. Without the link: in Claude open Customize › Connectors › Add › Add custom connector and paste this URL:

    https://api.spiral.ai/mcp
  2. Keep the detected sign-in and click Add

    Claude finds Spiral's sign-in by itself: leave Sign in now and Use Claude's published identity selected.

  3. Click Connect

    The connector page opens. Connect takes you to Spiral in your browser.

Use the Spiral skill

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

    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 Vertex AI

    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": "vertex",
        "model": "google/gemini-4-hydrogen",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

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

Gemini 4 Hydrogen Vertex AI providers and prices

Spiral runs Gemini 4 Hydrogen Vertex AI through Vertex AI. Open a card for today's price, with every fee included.

Vertex AILLM
Gemini 4 Hydrogen
google/gemini-4-hydrogen

Settings you can ask for

Ask Claude for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Max tokens1 to 65536

The most output tokens to generate.

Reasoning effortlow, medium, or highhigh

How much the model reasons.

Every API field of Gemini 4 Hydrogen is on its tool page: open its card above.

What can you do with Gemini 4 Hydrogen Vertex AI in Claude?

Turn rough notes into clear writing, explanations, and labeled feedback. Give Gemini 4 Hydrogen the source text, intended audience, and exact shape of the answer.

Repair a reproducible bug

Give Gemini 4 Hydrogen the failure, relevant code, and expected behavior. Ask for a focused patch and a check that reproduces the original problem.

Understand an unfamiliar codebase

Trace a request through the relevant functions and identify where validation, state changes, and error handling happen.

Make a scoped code change

Describe one behavior to change, supply the affected code, and request an implementation that follows the existing conventions.

Rewrite customer communications

Turn a rough announcement into a concise email with a specified tone, length, and set of facts to preserve.

Create study material

Turn supplied notes into a study guide with definitions, examples, and questions tied to the source material.

Label incoming feedback

Classify messages using a fixed label set and include a short supporting excerpt for each decision.

Questions about Gemini 4 Hydrogen Vertex AI in Claude

Can Claude use Gemini 4 Hydrogen Vertex AI?

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

How much does Gemini 4 Hydrogen Vertex AI cost in Claude?

Up to $0.040005 per run at the default inputs. $1.95 per 1M input tokens, $0.0975 per 1M cached input tokens, $2.4375 per 1M cache write tokens, $9.75 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude plan is separate.

Do I need a Vertex AI account to use Gemini 4 Hydrogen Vertex AI in Claude?

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

How long does it take to set up Gemini 4 Hydrogen Vertex AI in Claude?

About two minutes: add Spiral to Claude, then keep the detected sign-in and click Add, then click Connect.

Does Claude wait while Gemini 4 Hydrogen Vertex AI runs?

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

What is Gemini 4 Hydrogen useful for?

Use it for iterative coding, debugging, codebase questions, and writing with detailed instructions. Tasks with a clear target and a result you can check make practical starting points.

How much context and output can Gemini 4 Hydrogen handle?

Input and output share a 1,048,576-token context limit. A single foreground segment allows up to 65,536 output tokens, including reasoning and function calls, so leave room beyond the text you want returned.

When should I use more reasoning?

Use low reasoning for straightforward work such as labeling short messages. Use high reasoning for debugging or problems with several dependent steps.

How should I prompt Gemini 4 Hydrogen?

State the task, provide the relevant context, and define the desired format and tone. For example, request a short comparison table with explicit criteria instead of asking for a general overview.

Can Gemini 4 Hydrogen classify text using my labels?

Yes. Supply the allowed labels and explain how to distinguish them; structured output can constrain responses to those labels.

Get started

Start using Gemini 4 Hydrogen Vertex AI in Claude

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

Paste this into Claude:

Set up Claude

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