[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [GPT-5.4](https://spiral.ai/integrations/antigravity/gpt-5-4)

# How to Use GPT-5.4 in Google Antigravity

GPT-5.4 handles coding, research synthesis, and work involving spreadsheets and documents. Choose it for general work; GPT-5.4 Pro spends more compute reasoning through difficult problems.

|  |  |
| --- | --- |
| Model | GPT-5.4 |
| Available through | OpenAI |
| Category | LLM |
| Price | Up to $0.079987 per run at the default inputs. $3.25 per 1M input tokens, $0.325 per 1M cached input tokens, $19.50 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GPT-5.4 in Google Antigravity

- Use GPT-5.4 to investigate the failing tests in this project. Reproduce one failure, trace its cause, implement a focused fix, and run the relevant checks. Summarize the cause and result in under 250 words.
- Use GPT-5.4 to trace the checkout flow through this repository. Identify where input validation happens and where errors reach the user. Return an ordered walkthrough and three concrete failure cases to test.
- Use GPT-5.4 to review the current diff against the project's requirements. Report behavior changes and likely regressions with file references. Finish with a short list of unresolved questions.
- Ask GPT-5.4 through Spiral to review the diff on this branch and list the three riskiest changes. Save the result in ./assets.
- Get a second opinion from GPT-5.4 on this function, then tell me what the call cost.

## How to set up GPT-5.4 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 GPT-5.4**: 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": "openai",
    "model": "openai/gpt-5.4",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## GPT-5.4 tools and prices

- [GPT-5.4](https://spiral.ai/tools/openai/openai/gpt-5.4) (OpenAI): Up to $0.079987 per run at the default inputs. $3.25 per 1M input tokens, $0.325 per 1M cached input tokens, $19.50 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| tools |  | — |  |
| top_p | … to 1 | — | Taken only at reasoning effort "none", this model's default. |
| logprobs |  | — | Taken only at reasoning effort "none", this model's default. |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 16 to 128000 | — | The most output tokens to generate. |

## What can you do with GPT-5.4 in Google Antigravity?

Turn project code and technical requirements into fixes, reviews, and implementation plans with GPT-5.4. Give the agent a concrete completion check and ask it to explain the evidence behind its changes.

### Find the cause of a bug

Trace a failure through code and logs, propose a focused fix, and define a check that reproduces the original problem.

### Review a migration plan

Compare the proposed changes with existing behavior. List dependencies, compatibility risks, and checks needed before rollout.

### Compare competing proposals

Turn supplied proposals into a decision table using explicit criteria. Separate documented commitments from assumptions and unanswered questions.

### Prepare a research brief

Combine supplied sources into a concise explanation with supporting passages, conflicting claims, and gaps that need further research.

### Check spreadsheet logic

Review supplied formulas and assumptions for inconsistent units, missing dependencies, and totals that need reconciliation.

### Draft a presentation

Turn a business brief into a slide outline with a clear recommendation, supporting evidence, and speaker notes.

### Explain a difficult technical decision

Compare engineering approaches against stated constraints. Describe tradeoffs, identify missing measurements, and recommend the next experiment.

### Produce a recurring operations brief

Summarize supplied updates into changes, blockers, and next actions. Keep each conclusion tied to the evidence available for that run.

## Overview

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

## GPT-5.4 in other agents

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

## More Google Antigravity guides

- [GPT-5.3-Codex](https://spiral.ai/integrations/antigravity/gpt-5-3-codex)
- [GPT-5.4 Nano](https://spiral.ai/integrations/antigravity/gpt-5-4-nano)
- [GPT-5.2 Pro](https://spiral.ai/integrations/antigravity/gpt-5-2-pro)
- [GPT-5.4 Pro](https://spiral.ai/integrations/antigravity/gpt-5-4-pro)
- [GPT-5.2](https://spiral.ai/integrations/antigravity/gpt-5-2)
- [GPT-5.4 mini](https://spiral.ai/integrations/antigravity/gpt-5-4-mini)

## Questions about GPT-5.4 in Google Antigravity

**Can Google Antigravity use GPT-5.4?**

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

**How much does GPT-5.4 cost in Google Antigravity?**

Up to $0.079987 per run at the default inputs. $3.25 per 1M input tokens, $0.325 per 1M cached input tokens, $19.50 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 OpenAI account to use GPT-5.4 in Google Antigravity?**

No. Spiral runs GPT-5.4 on its own OpenAI account. You sign in to Spiral once and never paste a key.

**How long does it take to set up GPT-5.4 in Google Antigravity?**

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

**Does Google Antigravity wait while GPT-5.4 runs?**

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

**What is GPT-5.4 good at?**

GPT-5.4 combines coding and reasoning with document, spreadsheet, and presentation work. Useful tasks include investigating bugs, comparing evidence, and turning business requirements into a draft deliverable.

**How much can GPT-5.4 read and write?**

GPT-5.4 and GPT-5.4 Pro each have a 1,050,000-token context window and a 128,000-token maximum output. Internal reasoning also uses the output budget, so that ceiling does not mean 128,000 tokens of visible text.

**Does GPT-5.4 know recent events?**

GPT-5.4 and GPT-5.4 Pro have an August 31, 2025 knowledge cutoff. Supply current source material when asking about later events or changes.

**What does reasoning effort change?**

It controls how much internal reasoning the model does before answering. Compare results on your actual task, and leave enough output space for both reasoning and the final answer.

**How should I prompt GPT-5.4?**

State the deliverable, the required sections, and a length limit. For example, ask for a recommendation, its supporting evidence, and unresolved questions in under 500 words.

