How to Use GLM 4.5 Air in OpenClaw
GLM 4.5 Air handles coding, tool use, and reasoning tasks. It uses a smaller design than GLM 4.5, with 106 billion total parameters and 12 billion active parameters.
Prompts to try with GLM 4.5 Air in OpenClaw
Copy an example into OpenClaw, or ask in your own words.
Every Monday, use GLM 4.5 Air to check the official PostgreSQL release notes for updates published in the previous seven days. Report the version, date, source link, and changes that may affect application behavior.
Each morning, use GLM 4.5 Air with thinking enabled to compare newly received incident summaries with the previous day's summaries. Group recurring symptoms and separate observed evidence from proposed causes.
Every Friday, use GLM 4.5 Air to review the week's incoming feature requests. Group requests by user need, include supporting quotations, and return at most five themes.
Each day, use GLM 4.5 Air without thinking to label newly received support messages as bug, feature request, or question. Flag messages that do not clearly fit a label.
Every Monday, use GLM 4.5 Air with thinking enabled to check the current task list for dependency conflicts and overlapping deadlines. Return a report under 500 words with the evidence behind each conflict.
How to set up GLM 4.5 Air in OpenClaw
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send OpenClaw this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Add the server
On the machine that runs OpenClaw's Gateway:
openclaw mcp add spiral \ --url https://api.spiral.ai/mcp \ --transport streamable-http \ --auth oauth
- Sign in
In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.
openclaw mcp login spiral
- Reload and check
A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.
openclaw mcp reload openclaw mcp doctor spiral --probe
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run GLM 4.5 Air
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-4.5-air", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: OpenClaw finds GLM 4.5 Air on Spiral, shows the price and runs it.
GLM 4.5 Air providers and prices
Spiral runs GLM 4.5 Air through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.004534 per run at the default inputs. $0.169 per 1M input tokens, $1.105 per 1M output tokens.
Settings you can ask for
Ask OpenClaw for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Max tokens | 1 to 98304 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 | ||
| Repetition penalty | 0 to 2 |
Every API field of Z.ai: GLM 4.5 Air is on its tool page: open its card above.
What can you do with GLM 4.5 Air in OpenClaw?
Turn recurring technical research and text review into scheduled reports. GLM 4.5 Air can use an agent's tools to gather evidence and reason through what changed.
Fix a reproducible bug
Give GLM 4.5 Air the failure, relevant code, and expected behavior. Ask for a focused patch and a regression check.
Build an interface from a written brief
Ask GLM 4.5 Air to turn requirements into working front-end code, including loading, empty, and error states.
Explain code before changing it
Have GLM 4.5 Air trace a request through the relevant functions and identify where a proposed change belongs.
Research a technical decision
Give GLM 4.5 Air a specific question and access to search tools. Request a comparison supported by primary sources.
Check a plan against constraints
Ask GLM 4.5 Air to evaluate dependencies, capacity, and deadlines, then identify which assumptions could make the plan fail.
Extract consistent records
Give GLM 4.5 Air a target JSON structure and source text. Require evidence for each extracted value and null for missing information.
More on GLM 4.5 Air and OpenClaw
Overview
GLM 4.5 Air in other agents
More OpenClaw guides
Questions about GLM 4.5 Air in OpenClaw
Can OpenClaw use GLM 4.5 Air?
Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run GLM 4.5 Air like any built-in tool.
How much does GLM 4.5 Air cost in OpenClaw?
Up to $0.005867 per run at the default inputs. $0.26 per 1M input tokens, $1.43 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.
Do I need an OpenRouter account to use GLM 4.5 Air in OpenClaw?
No. Spiral runs GLM 4.5 Air 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.5 Air in OpenClaw?
About two minutes: add the server, then sign in, then reload and check.
Does OpenClaw wait while GLM 4.5 Air runs?
GLM 4.5 Air runs in the background. OpenClaw starts the run, checks on it and gives you the text, json when it's ready.
What is GLM 4.5 Air good at?
Its documented strengths include software engineering, front-end development, reasoning, and tool use. Try it for debugging, building a working interface from a written brief, or researching a question through an agent's search tools.
How much text can GLM 4.5 Air handle?
Z.ai documents a 128K context window and up to 96K output tokens. Treat these as ceilings; give each task a shorter target, such as a 500-word brief or one patch.
When should I use thinking mode?
Use thinking mode for difficult debugging, reasoning, and tasks involving several tools. Use non-thinking mode for straightforward requests such as labeling a short message or rewriting a sentence.
Can GLM 4.5 Air analyze images or generate video?
Z.ai documents text input and text output. For a visual task, provide a written description or extracted text and ask for code, analysis, or a script.
Which languages should I start with?
The model card lists English and Chinese. Start evaluations in those languages and check terminology against examples from your own work.
Start using GLM 4.5 Air in OpenClaw
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into OpenClaw:
set up https://spiral.ai/SKILL.md


