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

Gemini · LLMReleased 2026-07-08

How to Use Grok 4.5 in Gemini

Grok 4.5 suits repository debugging, technical analysis, and tasks that require several tool calls. Its scope extends beyond coding to data science and business writing.

Prompts to try with Grok 4.5 in Gemini

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

Use Grok 4.5 with high reasoning effort to compare the two engineering proposals above. Evaluate the stated constraints, identify assumptions, and recommend the next experiment.

Grok 4.5Gemini
Try asking
  • Use Grok 4.5 to explain the Rust ownership error pasted above. Show a corrected example and explain why it preserves the intended behavior.

  • Use Grok 4.5 with medium reasoning effort to analyze the figures above. Reconcile the totals and separate supported findings from possible explanations.

  • Use Grok 4.5 to turn the approved findings above into a five-slide executive briefing. Include one main point per slide and concise speaker notes.

  • Use Grok 4.5 to extract organizations, dates, and commitments from the text above. Return a table with supporting excerpts and mark missing details as unknown.

How to set up Grok 4.5 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:

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Grok 4.5

    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": "x-ai/grok-4.5",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Gemini finds Grok 4.5 on Spiral, shows the price and runs it.

Grok 4.5 providers and prices

Spiral runs Grok 4.5 through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
SpaceXAI: Grok 4.5
x-ai/grok-4.5

Settings you can ask for

Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top pa number up to 1
Max tokens1 to 450000

The most output tokens to generate.

Temperature0 to 2
Reasoning effortlow, medium, or highhigh

How much the model reasons.

Every API field of SpaceXAI: Grok 4.5 is on its tool page: open its card above.

What can you do with Grok 4.5 in Gemini?

Work through technical decisions and analytical questions with Grok 4.5. Give it the evidence in the conversation and request a clear recommendation, calculation, or business draft.

Fix repository bugs

Ask Grok 4.5 to trace a failing behavior through the code, propose a patch, and verify it against a regression test.

Debug Rust and C/C++

Give Grok 4.5 a compiler error and the relevant code. Request a correction that preserves the intended ownership rules or memory behavior.

Build an application prototype

Turn a defined workflow into a working application with explicit acceptance criteria. Have Grok 4.5 check the main user path before reporting completion.

Investigate data anomalies

Have Grok 4.5 compare reported figures, identify inconsistencies, and propose calculations that distinguish competing explanations.

Extract document records

Turn supplied text into structured records with Grok 4.5. Specify required values, evidence excerpts, and how to mark missing information.

Draft business presentations

Give Grok 4.5 the approved findings and ask for slide titles, supporting evidence, and speaker notes for a defined audience.

Compare technical proposals

Ask Grok 4.5 to compare approaches against explicit engineering constraints, expose assumptions, and identify the tests needed to make a decision.

Produce recurring analytical reports

Have Grok 4.5 turn each run's supplied observations into a consistent report of changes, evidence, unresolved questions, and next actions.

Questions about Grok 4.5 in Gemini

Can Gemini use Grok 4.5?

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

How much does Grok 4.5 cost in Gemini?

Up to $0.03204 per run at the default inputs. $2.60 per 1M input tokens, $7.80 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 Grok 4.5 in Gemini?

No. Spiral runs Grok 4.5 on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Grok 4.5 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 Grok 4.5 runs?

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

What is Grok 4.5 best suited for?

Use it for software engineering and analytical work that requires several steps, including debugging, data analysis, and comparing technical approaches. Give it a concrete deliverable and a way to check the result.

How much context can Grok 4.5 handle?

The maker lists a 500,000-token context window. For a large task, identify the relevant sections and the exact question you want answered.

How should I choose the reasoning effort?

Start with low for straightforward work, medium for analysis, and high for difficult debugging or mathematical problems. Grok 4.5 defaults to high and always uses reasoning.

Can Grok 4.5 produce structured records?

Yes. Document extraction and report generation are useful applications: define the record you need and tell it how to represent missing information.

How do I prompt Grok 4.5 effectively?

State the task, constraints, and desired output directly. For example, ask for a patch that preserves a public interface, includes a regression test, and explains the cause in three sentences.

Get started

Start using Grok 4.5 in Gemini

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

Paste this into Gemini:

Set up Gemini

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