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

Google Antigravity · LLMReleased 2026-07-08

How to Use Grok Latest in Google Antigravity

Grok Latest suits coding, document analysis, and tasks that need several reasoning steps. Unlike Grok 4.7, it follows the newest Grok model, so behavior and limits can change as the alias updates.

Prompts to try with Grok Latest in Google Antigravity

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

Use Grok Latest to investigate the failing tests in this repository. Trace the failure to its cause, make the smallest justified fix, and run the relevant tests. Report the cause, changed files, and verification results.

Grok LatestGoogle Antigravity
Try asking
  • Use Grok Latest to compare the current authentication code with the requirements in this project's documentation. List confirmed mismatches with file references, then propose fixes without changing public interfaces.

  • Use Grok Latest to plan a refactor of duplicated validation logic in this repository. Compare two approaches, identify affected callers, and recommend one with acceptance criteria before editing.

  • Use Grok Latest to review this branch for logic errors. Focus on boundary conditions and state transitions, cite the relevant code, and give a concrete failing example for each finding.

  • Use Grok Latest to draft a migration guide from this project's old interface to its current interface. Read the implementation and examples, include before-and-after code, and flag any behavior you cannot verify.

How to set up Grok Latest in Google Antigravity

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

Use Spiral's MCP server

  1. Open the MCP config

    * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.

  2. Add the server

    Add Spiral under mcpServers:

    {
      "mcpServers": {
        "spiral": {
          "serverUrl": "https://api.spiral.ai/mcp"
        }
      }
    }
  3. Sign in

    In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

Use the Spiral skill

  1. Send Google Antigravity 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 Latest

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

Then paste one of the prompts above: Google Antigravity finds Grok Latest on Spiral, shows the price and runs it.

Grok Latest providers and prices

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

OpenRouterLLM
xAI: Grok Latest
~x-ai/grok-latest

Settings you can ask for

Ask Google Antigravity for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 450000

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Reasoning effortlow, medium, high, or xhighhigh

How much the model reasons.

Every API field of xAI: Grok Latest is on its tool page: open its card above.

What can you do with Grok Latest in Google Antigravity?

Grok Latest can help turn a repository issue into a proposed fix and verification plan. Give it the relevant files, reproduction steps, and acceptance criteria so its analysis has a concrete target.

Fix bugs across a codebase

Have Grok Latest trace a reported failure through related functions, propose a focused patch, and verify it against the reproduction steps.

Plan a refactor

Ask Grok Latest to compare implementation approaches, identify dependencies, and produce a migration plan with explicit acceptance criteria.

Compare long technical proposals

Give Grok Latest the proposal text and decision criteria. Request a comparison that ties each recommendation to supporting passages.

Draft a decision memo

Turn supplied research and meeting notes into a memo with a recommendation, supporting evidence, unresolved questions, and next actions.

Outline a presentation

Ask Grok Latest to turn a technical brief into a slide-by-slide narrative with speaker notes and evidence for each central claim.

Review quantitative reasoning

Provide a calculation, its assumptions, and the relevant data. Have Grok Latest check units, test boundary cases, and explain discrepancies.

Synthesize recurring research updates

Compare newly supplied source excerpts with a previous summary. Ask Grok Latest to identify changed conclusions and explain which evidence caused each change.

Questions about Grok Latest in Google Antigravity

Can Google Antigravity use Grok Latest?

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

How much does Grok Latest cost in Google Antigravity?

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

Do I need an OpenRouter account to use Grok Latest in Google Antigravity?

No. Spiral runs Grok Latest 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 Latest in Google Antigravity?

About two minutes: open the MCP config, then add the server, then sign in.

Does Google Antigravity wait while Grok Latest runs?

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

Is Grok Latest a fixed model?

Grok Latest follows the newest Grok model and currently points to Grok 4.7. Treat behavior and limits as subject to change when the alias updates.

What is Grok Latest good at?

Its current target, Grok 4.7, is designed for coding, agent tasks, and knowledge work. Practical uses include debugging, comparing technical approaches, and drafting documents from supplied evidence.

How much context can Grok Latest handle?

The alias currently offers context windows up to 500,000 tokens. The available context belongs to the model serving the request, so that number is not a permanent limit for the alias.

How should I prompt Grok Latest?

State the task, constraints, and output format directly. For example, ask for a recommendation supported by supplied evidence, specify what must stay unchanged, and set a word limit.

Can I turn off reasoning?

The current target, Grok 4.7, always uses reasoning and defaults to high effort. Choose the effort deliberately for the task rather than assuming the default will suit every request.

Get started

Start using Grok Latest in Google Antigravity

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

Paste this into Google Antigravity:

Set up Google Antigravity

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