[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Step 5 Preview](https://spiral.ai/integrations/antigravity/step-5-preview)

# How to Use Step 5 Preview in Google Antigravity

Step 5 Preview suits codebase changes, research reports, and financial analysis that require several rounds of checking. Its 1M-token context helps it compare large amounts of source material before producing an answer.

|  |  |
| --- | --- |
| Model | Step 5 Preview |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.014424 per run at the default inputs. $1.30 per 1M input tokens, $3.51 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Step 5 Preview in Google Antigravity

- Use Step 5 Preview with high reasoning effort to trace the failing test through this repository. Fix the underlying cause, run the relevant tests, and report the evidence that the fix works.
- Use Step 5 Preview to compare this repository's implementation with its migration guide. List affected files, make the changes in reviewable steps, and check each step with the relevant tests.
- Use Step 5 Preview to implement the frontend described in this project's requirements. Follow the existing components and styles, check the required interactions, and report any requirement you could not verify.
- Use Step 5 Preview with high reasoning effort to review this branch for behavior changes across files. Report concrete bugs with file references, a reproduction path, and a suggested regression test.
- Use Step 5 Preview to compare this project's documentation with its public interfaces. Correct statements that conflict with the code and include runnable examples where the repository supports them.

## How to set up Step 5 Preview 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`:

```json
{
  "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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Step 5 Preview**: 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": "stepfun/step-5-preview",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## Step 5 Preview tools and prices

- [StepFun: Step 5 Preview](https://spiral.ai/tools/openrouter/stepfun/step-5-preview) (OpenRouter): Up to $0.014424 per run at the default inputs. $1.30 per 1M input tokens, $3.51 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| min_p | 0 to 1 | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |

## What can you do with Step 5 Preview in Google Antigravity?

Turn a change request into coordinated edits across a codebase with Step 5 Preview. Give it the relevant files, failure evidence, and acceptance criteria so it can implement and verify the change.

### Fix bugs across a codebase

Trace a failure through related modules, coordinate the necessary changes, and verify the fix with focused tests.

### Plan a code migration

Compare existing code with migration requirements, identify affected files, and break the work into changes with clear checks.

### Build a frontend from a written brief

Turn detailed requirements into interface code, then check the implementation against the requested behavior.

### Compare long documents

Find agreements, contradictions, and missing evidence across supplied reports, with references back to each source.

### Prepare financial analysis

Compare reported figures and supporting commentary, state assumptions, and use calculation tools to verify derived numbers.

### Write research briefs

Organize retrieved evidence into findings, competing explanations, and unanswered questions before drafting a report.

### Extract information into JSON

Convert supplied text into consistent records, retaining supporting passages and marking missing values for review.

### Review changes in recurring reports

Compare each new report with the previous version and produce an evidence-backed list of changed claims and figures.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## Step 5 Preview in other agents

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

## More Google Antigravity guides

- [Step 3.7 Flash](https://spiral.ai/integrations/antigravity/step-3-7-flash)
- [Ternary Bonsai 2 27B](https://spiral.ai/integrations/antigravity/ternary-bonsai-2-27b)
- [Sonar Reasoning Pro](https://spiral.ai/integrations/antigravity/sonar-reasoning-pro)
- [Ternary Bonsai 2 9B](https://spiral.ai/integrations/antigravity/ternary-bonsai-2-9b)
- [Sonar Pro Search](https://spiral.ai/integrations/antigravity/sonar-pro-search)
- [UI-TARS 1.5 7B](https://spiral.ai/integrations/antigravity/ui-tars-1-5-7b)

## Questions about Step 5 Preview in Google Antigravity

**Can Google Antigravity use Step 5 Preview?**

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

**How much does Step 5 Preview cost in Google Antigravity?**

Up to $0.014424 per run at the default inputs. $1.30 per 1M input tokens, $3.51 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 Step 5 Preview in Google Antigravity?**

No. Spiral runs Step 5 Preview on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Step 5 Preview in Google Antigravity?**

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

**Does Google Antigravity wait while Step 5 Preview runs?**

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

**What is Step 5 Preview good at?**

StepFun emphasizes software engineering, professional knowledge work, and financial analysis. Useful tasks include coordinated code changes, comparisons across long documents, and reports grounded in supplied evidence.

**How much context can Step 5 Preview handle?**

StepFun documents a 1M-token context window. Use it to compare multiple sources or a long conversation, and ask for source references when details matter.

**How long can a Step 5 Preview answer be?**

StepFun's API documentation lists a maximum output of 64K tokens. For a large report, request an outline and draft one section at a time so each section is easier to check.

**Which reasoning effort should I choose?**

Use low for straightforward summaries and extraction, medium for general work with several steps, and high for difficult code analysis, math, or planning. Match the effort to the task's difficulty.

**Can Step 5 Preview produce structured JSON?**

Yes, StepFun documents JSON Mode and JSON Schema output. A valid structure does not prove that its values are correct, so check extracted information against the source.

