Spiral gives your agent every tool with one account. Browse the tools →

Google Antigravity · LLMReleased 2026-08-18

How to Use GLM-5.3 in Google Antigravity

GLM-5.3 is built for complex coding, debugging, and tasks that require many steps. Compared with GLM-5.2, Z.ai reports stronger coding and extended-task performance.

Prompts to try with GLM-5.3 in Google Antigravity

Copy an example into Google Antigravity, or ask in your own words.

Use GLM-5.3 with maximum reasoning to trace this project's failing tests, fix the cause, and report the checks you ran.

GLM-5.3Google Antigravity
Try asking
  • Use GLM-5.3 to inspect our authentication code for vulnerabilities. Cite affected lines, explain the impact, and propose fixes.

  • Use GLM-5.3 to plan this project's database migration. Identify dependencies, compatibility checks, and rollback conditions before editing.

  • Use GLM-5.3 to investigate the slowest code path using our profiling results. Make one measurable change and compare results.

  • Use GLM-5.3 to implement pagination in this project. Follow existing conventions and verify empty, first, and final pages.

How to set up GLM-5.3 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:

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

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run GLM-5.3

    One request; the result comes back by polling or a webhook.

    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-5.3",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

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

GLM-5.3 providers and prices

Spiral runs GLM-5.3 through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Z.ai: GLM 5.3
z-ai/glm-5.3

Settings you can ask for

Ask Google Antigravity for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 943718

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Reasoning effortlow, high, or maxmax

How much the model reasons.

Frequency penalty-2 to 2
Repetition penalty0 to 2
Parallel tool callson or off

Every API field of Z.ai: GLM 5.3 is on its tool page: open its card above.

What can you do with GLM-5.3 in Google Antigravity?

GLM-5.3 can help carry a code change from investigation through implementation and verification. Give it the relevant project context and measurable acceptance criteria.

Repair a difficult bug

Ask GLM-5.3 to trace a failure, propose a minimal patch, and define a regression check.

Plan a code migration

Use GLM-5.3 to identify dependencies, order changes, and define compatibility checks.

Implement a feature

Give GLM-5.3 requirements and acceptance criteria, then request an implementation and verification report.

Investigate performance problems

Have GLM-5.3 examine code and measurements, propose a bottleneck hypothesis, and design a comparison.

Review code for vulnerabilities

Ask GLM-5.3 to inspect your code for security flaws and suggest fixes with supporting evidence.

Evaluate a technical design

Use GLM-5.3 to compare architectures against stated constraints and identify unresolved decisions.

Extract structured records

Ask GLM-5.3 to turn supplied text into JSON with explicit rules for missing information.

Questions about GLM-5.3 in Google Antigravity

Can Google Antigravity use GLM-5.3?

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

How much does GLM-5.3 cost in Google Antigravity?

Up to $0.019174 per run at the default inputs. $0.1092 per 1M input tokens, $4.68 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-5.3 in Google Antigravity?

No. Spiral runs GLM-5.3 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-5.3 in Google Antigravity?

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

Does Google Antigravity wait while GLM-5.3 runs?

GLM-5.3 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-5.3 good at?

Complex coding and tasks that require sustained work across several steps are its main focus. Try it for debugging, refactoring, and implementing changes with explicit acceptance criteria.

Can GLM-5.3 understand screenshots or video?

GLM-5.3 accepts text only. Provide a written description, extracted text, or logs when the original evidence is visual.

How much text can GLM-5.3 handle?

Z.ai documents a 1 million-token context window and a maximum output length of 128K tokens. Keep requested answers focused even when supplying extensive context.

Can I turn off GLM-5.3's reasoning?

No. Thinking stays enabled; use low reasoning effort for simpler work and start with maximum reasoning for difficult problems.

Where does GLM-5.3 fall short?

Its coding results are not uniformly best: Z.ai reports that Claude Fable 5 scores higher on its Code Bench. Treat generated patches as candidates to test against your own requirements.

Get started

Start using GLM-5.3 in Google Antigravity

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Google Antigravity:

Set up Google Antigravity

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options