[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Solar Mini 4](https://spiral.ai/integrations/antigravity/solar-mini-4)

# How to Use Solar Mini 4 in Google Antigravity

Solar Mini 4 fits repeated text extraction, support classification, and policy checks. Its 512K context window and Korean, English, and Japanese support make it useful for working across long documents and multilingual requests.

|  |  |
| --- | --- |
| Model | Solar Mini 4 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.001068 per run at the default inputs. $0.065 per 1M input tokens, $0.26 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Solar Mini 4 in Google Antigravity

- Use Solar Mini 4 to compare the API specification with the README in this project. List conflicting requirements with file paths and exact supporting passages.
- Use Solar Mini 4 to classify the issue descriptions in this project's fixtures as bug, feature request, documentation, or unclear. Return JSON with the issue ID, category, and supporting sentence.
- Use Solar Mini 4 to extract renewal dates and notice periods from the contract text fixtures. Follow the project's JSON Schema and use null when a value is absent.
- Use Solar Mini 4 to compare the Korean, English, and Japanese help text in this repository. List differences in stated behavior and preserve every product name.
- Use Solar Mini 4 to check the sample approval requests against the policy in this project. Return each request ID, applicable rule, missing information, and proposed next step.

## How to set up Solar Mini 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 Solar Mini 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": "openrouter",
    "model": "upstage/solar-mini4",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## Solar Mini 4 tools and prices

- [Upstage: Solar Mini 4](https://spiral.ai/tools/openrouter/upstage/solar-mini4) (OpenRouter): Up to $0.001068 per run at the default inputs. $0.065 per 1M input tokens, $0.26 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| tools |  | — |  |
| top_p | 0 to 1 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 131072 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |
| tool_choice |  | — |  |

## What can you do with Solar Mini 4 in Google Antigravity?

Turn project documentation and text records into structured checks with Solar Mini 4. Use it to compare specifications, classify issues, and extract records for your application.

### Support request triage

Classify incoming requests into your support categories and include the sentence that supports each label.

### Contract term extraction

Turn contract text into a table of effective dates, renewal terms, and notice periods, with missing details marked explicitly.

### Internal policy checks

Compare a request with a supplied policy and identify the applicable rule, missing information, and proposed next step.

### Structured intake records

Convert free-text submissions into records with fixed keys and types for downstream processing.

### Document comparison

Compare two long texts and list changed obligations with a supporting passage from each version.

### Multilingual support summaries

Summarize Korean, English, and Japanese customer requests in one chosen language while preserving names and reference numbers.

### Extraction quality checks

Compare an extracted record with its source text and flag unsupported values or missing required details.

### Approval queue review

Apply written approval rules to pending requests and prepare a table showing status, supporting evidence, and unresolved questions.

## Overview

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

## Solar Mini 4 in other agents

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

## More Google Antigravity guides

- [Skyfall 36B V2](https://spiral.ai/integrations/antigravity/skyfall-36b-v2)
- [Solar Pro 4](https://spiral.ai/integrations/antigravity/solar-pro-4)
- [Seed 2.1 Turbo](https://spiral.ai/integrations/antigravity/seed-2-1-turbo)
- [Sonar](https://spiral.ai/integrations/antigravity/sonar)
- [Seed 2.0 Mini](https://spiral.ai/integrations/antigravity/seed-2-0-mini)
- [Sonar Pro](https://spiral.ai/integrations/antigravity/sonar-pro)

## Questions about Solar Mini 4 in Google Antigravity

**Can Google Antigravity use Solar Mini 4?**

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

**How much does Solar Mini 4 cost in Google Antigravity?**

Up to $0.001068 per run at the default inputs. $0.065 per 1M input tokens, $0.26 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 Solar Mini 4 in Google Antigravity?**

No. Spiral runs Solar Mini 4 on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Solar Mini 4 in Google Antigravity?**

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

**Does Google Antigravity wait while Solar Mini 4 runs?**

Solar Mini 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 Solar Mini 4 good at?**

Start with repeated text tasks: extracting contract terms, classifying customer requests, and checking requests against written policies. Give it the source text and a precise description of the result you need.

**How much text can Solar Mini 4 handle?**

Solar Mini 4 supports a 512K context window and up to 128K output tokens. Reserve space for the answer when preparing long inputs, since input and output share the context window.

**Which languages does Solar Mini 4 support?**

Upstage documents Korean, English, and Japanese input and output, emphasizing Korean fluency. Specify the response language when the source contains more than one language.

**Should I increase reasoning effort for every task?**

Start low and increase it when a task needs several dependent steps. Higher effort does not guarantee better answers, and reasoning consumes part of the output budget.

**Can Solar Mini 4 return a fixed JSON structure?**

Use schema-constrained output when your application needs specific keys and types. JSON mode alone guarantees valid JSON, so validate the structure before using it.

