[Integrations](https://spiral.ai/integrations) › [Zapier](https://spiral.ai/integrations/zapier) › [GLM-4.7](https://spiral.ai/integrations/zapier/glm-4-7)

# How to Use GLM-4.7 in Zapier

GLM-4.7 suits code repairs, web UI work, and tasks that require several tool calls. Compared with GLM-4.6, it improves multilingual coding and terminal tasks and adds control over thinking on each turn.

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

## Prompts to try with GLM-4.7 in Zapier

- Every weekday, use GLM-4.7 to compare the release announcements collected since the previous run. Summarize changes, cite sources, and separate confirmed details from unanswered questions.
- Each morning, use GLM-4.7 to extract action items from newly received meeting transcripts. Return JSON with action, owner, due date, and evidence; use null when details are missing.
- Each Friday, use GLM-4.7 to consolidate the week’s research notes into a 600-word brief. Identify conflicting claims and include the source for each conclusion.
- Every night, use GLM-4.7 with thinking enabled to analyze new build-failure messages. Rank possible causes by supporting evidence and suggest the next diagnostic check.
- Every Monday, use GLM-4.7 to draft six HTML slides from the approved weekly update text. Keep slide structure consistent and list any missing information.

## How to set up GLM-4.7 in Zapier

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send Zapier 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 Spiral's MCP server

1. **Add an MCP Client connection**: In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

3. **Run a Spiral tool in a Zap**: Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: `discover` finds the right model for a task, `estimate_cost` prices it and `run` runs it. For example, `run` with:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run GLM-4.7 in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds GLM-4.7, prices it and runs it each time the step fires.

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

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

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

## GLM-4.7 tools and prices

- [Z.ai: GLM 4.7](https://spiral.ai/tools/openrouter/z-ai/glm-4.7) (OpenRouter): Up to $0.009337 per run at the default inputs. $0.52 per 1M input tokens, $2.275 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| min_p | 0 to 1 | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |

## What can you do with GLM-4.7 in Zapier?

GLM-4.7 can produce recurring research summaries and structured records from incoming text. Define the evidence required for each conclusion and a consistent output format.

### Repair a reproducible bug

Give GLM-4.7 the failure, relevant code, and expected behavior. Request a focused patch and a test that reproduces the problem.

### Build an interface from a written brief

Ask GLM-4.7 for responsive interface code with explicit layout, content, and interaction requirements.

### Diagnose terminal failures

Have GLM-4.7 investigate build or test failures, use command results to revise its diagnosis, and report what remains unresolved.

### Draft presentation code

Turn an outline into HTML slides with GLM-4.7. Specify dimensions, slide count, and a consistent heading hierarchy.

### Consolidate research

Ask GLM-4.7 to compare supplied source text, identify disagreements, and produce a brief with evidence attached to each conclusion.

### Extract records from text

Give GLM-4.7 an explicit JSON structure and request records extracted from messages or descriptions, with missing values marked consistently.

### Develop interactive fiction

Use GLM-4.7 to draft dialogue and branching scenes from a character brief, then revise against stated continuity rules.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Zapier guides](https://spiral.ai/integrations/zapier)

## GLM-4.7 in other agents

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

## More Zapier guides

- [GLM-4.6V](https://spiral.ai/integrations/zapier/glm-4-6v)
- [GLM-5](https://spiral.ai/integrations/zapier/glm-5)
- [GLM-4.6](https://spiral.ai/integrations/zapier/glm-4-6)
- [GLM-5 Turbo](https://spiral.ai/integrations/zapier/glm-5-turbo)
- [GLM-4.5V](https://spiral.ai/integrations/zapier/glm-4-5v)
- [GLM-5.2](https://spiral.ai/integrations/zapier/glm-5-2)

## Questions about GLM-4.7 in Zapier

**Can Zapier use GLM-4.7?**

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

**How much does GLM-4.7 cost in Zapier?**

Up to $0.009337 per run at the default inputs. $0.52 per 1M input tokens, $2.275 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Zapier plan is separate.

**Do I need an OpenRouter account to use GLM-4.7 in Zapier?**

No. Spiral runs GLM-4.7 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.7 in Zapier?**

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

**Does Zapier wait while GLM-4.7 runs?**

GLM-4.7 runs in the background. Zapier starts the run, checks on it and gives you the text, json when it's ready.

**What is GLM-4.7 good at?**

GLM-4.7 is a useful choice for coding tasks that involve several steps, generated interfaces, and research synthesis. Give it a concrete deliverable and explicit acceptance criteria.

**How much text can GLM-4.7 handle?**

Z.ai documents a 200K-token context window and up to 128K output tokens. Treat those as ceilings and request only the output your task needs.

**Can GLM-4.7 read screenshots or generate images?**

Its documented input and output are text. For visual work, provide a written design specification and ask for interface or slide code.

**When should I ask GLM-4.7 to use thinking?**

Use thinking for debugging, planning, and decisions that depend on tool results. GLM-4.7 supports switching thinking on or off for individual turns.

**Which sampling settings should I try for coding?**

A concrete starting point is Z.ai’s coding evaluation configuration: temperature 0.7, top-p 1.0, and a 16,384-token generation limit. These are published test settings, so compare them against your own tasks.

