[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [GLM-4.5V](https://spiral.ai/integrations/antigravity/glm-4-5v)

# How to Use GLM-4.5V in Google Antigravity

GLM-4.5V helps interpret screenshots, charts, documents, and visual problems. Its thinking mode suits tasks that need reasoning, while non-thinking mode suits straightforward reading and extraction.

|  |  |
| --- | --- |
| Model | GLM-4.5V |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.009613 per run at the default inputs. $0.78 per 1M input tokens, $2.34 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GLM-4.5V in Google Antigravity

- Use GLM-4.5V to inspect the reference screenshot and the project's page component. Draft the HTML and CSS needed to reproduce the visible layout, using the existing styles where possible.
- Use GLM-4.5V to read the chart screenshot in the project's assets. Extract its labels, units, and visible values into a data file, marking estimates and unreadable entries.
- Use GLM-4.5V to interpret the numbered screenshot from our browser test. Given the goal of opening account settings, return the next element label to select and explain the visible evidence.
- Use GLM-4.5V to inspect the scanned table in the test fixtures. Draft expected rows for an extraction test, preserving headers and footnotes and flagging cells that need manual review.
- Use GLM-4.5V with thinking enabled to solve the diagram-based example in our documentation. Check the accompanying explanation and suggest corrections, citing the diagram labels used.

## How to set up GLM-4.5V 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 GLM-4.5V**: 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": "z-ai/glm-4.5v",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## GLM-4.5V tools and prices

- [Z.ai: GLM 4.5V](https://spiral.ai/tools/openrouter/z-ai/glm-4.5v) (OpenRouter): Up to $0.009613 per run at the default inputs. $0.78 per 1M input tokens, $2.34 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |

## What can you do with GLM-4.5V in Google Antigravity?

Turn visual references into code drafts and screen-based task instructions with GLM-4.5V. Use project screenshots and source files to connect what appears on screen with the implementation you need.

### Turn a screenshot into a webpage draft

Ask GLM-4.5V to translate a reference screenshot into HTML and CSS, then review the rendered result against the reference.

### Explain a chart

Extract the labels, units, and visible values, then ask which comparisons the chart supports. Keep estimates separate from printed numbers.

### Extract a document table

Turn a table shown on a document page into rows for review. Ask it to retain headers, units, and footnotes and mark unreadable cells.

### Review a research report

Summarize the report's argument and supporting charts. Request page references for each finding and separate the report's claims from the model's interpretation.

### Explain a visual STEM problem

Ask for an explanation of a math or science problem that depends on a diagram. Have it identify the given values before calculating.

### Summarize video events

Produce an ordered account of visible events in supplied video content. Ask for evidence for each event and flag uncertain transitions.

### Choose the next screen action

Give the task goal and current screenshot, then request the next interaction. Numbered element labels can make the proposed target easier to check.

### Locate an object in an image

Describe the target through its appearance and position, then request its bounding box. Review the proposed location against the image.

## Overview

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

## GLM-4.5V in other agents

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

## More Google Antigravity guides

- [GLM-4.5](https://spiral.ai/integrations/antigravity/glm-4-5)
- [GLM-4.6](https://spiral.ai/integrations/antigravity/glm-4-6)
- [GLM Latest](https://spiral.ai/integrations/antigravity/glm-latest)
- [GLM-4.6V](https://spiral.ai/integrations/antigravity/glm-4-6v)
- [GLM Flash Latest](https://spiral.ai/integrations/antigravity/glm-flash-latest)
- [GLM-4.7](https://spiral.ai/integrations/antigravity/glm-4-7)

## Questions about GLM-4.5V in Google Antigravity

**Can Google Antigravity use GLM-4.5V?**

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

**How much does GLM-4.5V cost in Google Antigravity?**

Up to $0.009613 per run at the default inputs. $0.78 per 1M input tokens, $2.34 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 GLM-4.5V in Google Antigravity?**

No. Spiral runs GLM-4.5V on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up GLM-4.5V in Google Antigravity?**

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

**Does Google Antigravity wait while GLM-4.5V runs?**

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

**What is GLM-4.5V useful for?**

Use it for questions that depend on visual evidence: interpreting documents, understanding screenshots, explaining diagrams, and analyzing video events. It also supports coding tasks grounded in visual input.

**When should I use thinking mode?**

Use thinking mode for tasks such as solving a diagram-based problem or explaining relationships across document content. For simple recognition or extraction, try non-thinking mode first.

**How much context and output can GLM-4.5V handle?**

GLM-4.5V supports a 64K-token context window. Z.ai documents a maximum output of 16K tokens.

**Can GLM-4.5V summarize documents and extract chart data?**

Yes. Z.ai lists document summarization, translation, and chart extraction among its uses. Ask for page references and preserve the chart's units so you can check the result.

**Where does GLM-4.5V need extra checking?**

Check object counts and claims about a person's identity. Z.ai also notes weaknesses in pure text question answering and says the model can overthink or repeat content.

