[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Nex-N2.5 Mini](https://spiral.ai/integrations/antigravity/nex-n2-5-mini)

# How to Use Nex-N2.5 Mini in Google Antigravity

Nex-N2.5 Mini suits coding, browser tasks, and work that needs repeated checks. It trails Nex-N2.5 Pro on Nex AGI's SWE-Bench Pro evaluation, making bounded fixes with explicit tests a sensible starting point.

|  |  |
| --- | --- |
| Model | Nex-N2.5 Mini |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.000535 per run at the default inputs. $0.0325 per 1M input tokens, $0.13 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Nex-N2.5 Mini in Google Antigravity

- Use Nex-N2.5 Mini to reproduce the failing test in this project, find its cause, make the smallest reasonable fix, and rerun it. Report the changed files and actual test result.
- Use Nex-N2.5 Mini to inspect this project's search page and fix the filter-reset bug. Verify that resetting filters restores the full result list and preserves keyboard access.
- Use Nex-N2.5 Mini with reasoning_effort high to investigate this intermittent parser failure. Build a minimal reproduction, test the suspected cause, and add a regression check before changing the parser.
- Use Nex-N2.5 Mini to add empty-state handling to this project's results component. Follow existing styles and verify populated, empty, and error states in the browser.
- Use Nex-N2.5 Mini to diagnose the project's failing build command. Test a focused correction, rerun the build, and distinguish resolved errors from remaining failures.

## How to set up Nex-N2.5 Mini 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 Nex-N2.5 Mini**: 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": "nex-agi/nex-n2.5-mini",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds Nex-N2.5 Mini on Spiral, shows the price and runs it.

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

## Nex-N2.5 Mini tools and prices

- [Nex AGI: Nex-N2.5-Mini](https://spiral.ai/tools/openrouter/nex-agi/nex-n2.5-mini) (OpenRouter): Up to $0.000535 per run at the default inputs. $0.0325 per 1M input tokens, $0.13 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| logprobs |  | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 235929 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |

## What can you do with Nex-N2.5 Mini in Google Antigravity?

Turn a reproducible problem into a patch with evidence that it works. Give Nex-N2.5 Mini relevant project files, a narrow scope, and a specific test or browser check.

### Fix a reproducible bug

Give Nex-N2.5 Mini the failing behavior and expected result. Ask for a focused patch, a regression check, and the observed outcome.

### Check a browser workflow

Have Nex-N2.5 Mini work through a defined path, such as searching a catalog and applying filters. Request expected versus observed behavior for each step.

### Implement a bounded feature

Describe one feature with clear acceptance criteria. Ask Nex-N2.5 Mini to implement it and demonstrate the result through tests or browser checks.

### Investigate a technical question

Ask Nex-N2.5 Mini to research a specific question, compare primary sources, and produce a short answer with links and unresolved points.

### Reproduce a calculation

Provide an equation, assumptions, and expected units. Ask Nex-N2.5 Mini to write and run a calculation, check edge cases, and explain discrepancies.

### Investigate a failed command

Use Nex-N2.5 Mini to trace a repeatable command failure, test a proposed correction, and report the command's actual result.

### Monitor a public website

Give Nex-N2.5 Mini a fixed checklist for public pages. Request a dated report of broken navigation, changed content, and issues it could reproduce.

## Overview

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

## Nex-N2.5 Mini in other agents

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

## More Google Antigravity guides

- [Nemotron 3.5 Super VL](https://spiral.ai/integrations/antigravity/nemotron-3-5-super-vl)
- [Nex-N2.5-Pro](https://spiral.ai/integrations/antigravity/nex-n2-5-pro)
- [Nemotron 3.5 Lightning](https://spiral.ai/integrations/antigravity/nemotron-3-5-lightning)
- [Nex-N2.6](https://spiral.ai/integrations/antigravity/nex-n2-6)
- [Nemotron 3.5 Content Safety](https://spiral.ai/integrations/antigravity/nemotron-3-5-content-safety)
- [Palmyra X5](https://spiral.ai/integrations/antigravity/palmyra-x5)

## Questions about Nex-N2.5 Mini in Google Antigravity

**Can Google Antigravity use Nex-N2.5 Mini?**

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

**How much does Nex-N2.5 Mini cost in Google Antigravity?**

Up to $0.000535 per run at the default inputs. $0.0325 per 1M input tokens, $0.13 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 Nex-N2.5 Mini in Google Antigravity?**

No. Spiral runs Nex-N2.5 Mini on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Nex-N2.5 Mini in Google Antigravity?**

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

**Does Google Antigravity wait while Nex-N2.5 Mini runs?**

Nex-N2.5 Mini runs in the background. Google Antigravity starts the run, checks on it and gives you the text, json when it's ready.

**What is Nex-N2.5 Mini good at?**

Its intended uses include coding, browser tasks, software testing, and research that requires checking results. Give it an observable finish line, such as a passing test or a finding backed by a source.

**How does Nex-N2.5 Mini compare with Nex-N2.5 Pro?**

Nex AGI positions Mini for fast instruction following and tool execution. Its published SWE-Bench Pro score is 43.8 versus Pro's 61.2, so start Mini with narrowly scoped changes and concrete acceptance tests.

**How much context can Nex-N2.5 Mini handle?**

The context window is 262,144 tokens. Keep the task, relevant evidence, and acceptance criteria together instead of filling the request with unrelated material.

**When should I use adaptive or high thinking?**

Adaptive thinking lets Nex-N2.5 decide whether and how much to think; high thinking always enables it. Try adaptive thinking for routine work and high thinking for a difficult diagnosis, then judge the result against your tests.

**Which sampling settings should I start with?**

Nex AGI's recommended starting values are temperature 0.7, top-p 0.95, and top-k 40. Use those as a baseline before changing one setting at a time.

