[Integrations](https://spiral.ai/integrations) › [Claude](https://spiral.ai/integrations/claude-desktop) › [GLM Latest](https://spiral.ai/integrations/claude-desktop/glm-latest)

# How to Use GLM Latest in Claude

GLM Latest follows Z.ai's newest GLM release for coding and reasoning work, currently GLM 5.3. Unlike GLM 5.3, it can change which model answers as new releases arrive.

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

## Prompts to try with GLM Latest in Claude

- Use GLM Latest to compare the two technical proposals pasted above. Produce a decision table covering requirements met, failure modes, migration work, and unresolved assumptions. Cite the passages supporting each conclusion.
- Use GLM Latest to review the code and error message pasted above. Explain the likely cause, propose a minimal correction, and give three test cases that would distinguish a real fix from a workaround.
- Use GLM Latest to turn the requirements in this conversation into an implementation plan. List dependencies, acceptance criteria, and unanswered questions. Keep the final plan under 800 words.
- Use GLM Latest to organize the feedback pasted above into JSON. For each item, include its category, requested change, and supporting quotation. Use null for information the text does not provide.
- Use GLM Latest to compare the specification revisions pasted above. Identify changed requirements, contradictions, and decisions that need clarification. Reference the revision and section for every finding.

## How to set up GLM Latest in Claude

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

### Use the Claude connector

1. **Add Spiral to Claude**: Click Add Spiral in Claude above. Claude opens Add custom connector with Spiral and its URL filled in; check them and click Continue. Without the link: in Claude open Customize › Connectors › Add › Add custom connector and paste this URL:

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

2. **Keep the detected sign-in and click Add**: Claude finds Spiral's sign-in by itself: leave Sign in now and Use Claude's published identity selected.

3. **Click Connect**: The connector page opens. Connect takes you to Spiral in your browser.

### Use the Spiral skill

1. **Send Claude 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 Latest**: 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-latest",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Claude finds GLM Latest on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-desktop

## GLM Latest tools and prices

- [Z.ai: GLM Latest](https://spiral.ai/tools/openrouter/~z-ai/glm-latest) (OpenRouter): Up to $0.007459 per run at the default inputs. $0.09087 per 1M input tokens, $1.82 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 Latest in Claude?

GLM Latest can turn technical text into a concrete comparison, implementation plan, or structured summary. Supply the relevant text and specify the evidence and final format you need.

### Reproduce and fix a bug

Give GLM Latest the failing behavior, relevant code, and expected result. Ask for a focused fix and a regression check that reproduces the original failure.

### Implement a feature with acceptance criteria

Ask GLM Latest to turn a written specification into working code, checking each acceptance criterion before reporting what remains unfinished.

### Plan a refactor

Use GLM Latest to identify dependencies, propose a sequence of changes, and define checks that preserve existing behavior.

### Compare technical designs

Give GLM Latest competing approaches and concrete constraints. Request a decision table covering failure modes, implementation work, and assumptions that need testing.

### Compare long technical documents

Provide GLM Latest with labeled source text and ask it to find conflicting requirements, cite the relevant passages, and separate conclusions from unanswered questions.

### Extract structured feedback

Ask GLM Latest to organize supplied feedback into JSON with categories, evidence, and missing values, using an example of the required structure.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Claude guides](https://spiral.ai/integrations/claude-desktop)

## GLM Latest in other agents

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

## More Claude guides

- [GLM Flash Latest](https://spiral.ai/integrations/claude-desktop/glm-flash-latest)
- [GLM-4.5](https://spiral.ai/integrations/claude-desktop/glm-4-5)
- [GLM 5.3 Prime](https://spiral.ai/integrations/claude-desktop/glm-5-3-prime)
- [GLM-4.5V](https://spiral.ai/integrations/claude-desktop/glm-4-5v)
- [GLM 5.3 FlashX Legal](https://spiral.ai/integrations/claude-desktop/glm-5-3-flashx-legal)
- [GLM-4.6](https://spiral.ai/integrations/claude-desktop/glm-4-6)

## Questions about GLM Latest in Claude

**Can Claude use GLM Latest?**

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

**How much does GLM Latest cost in Claude?**

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

**Do I need an OpenRouter account to use GLM Latest in Claude?**

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

About two minutes: add Spiral to Claude, then keep the detected sign-in and click Add, then click Connect.

**Does Claude wait while GLM Latest runs?**

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

**Is GLM Latest a fixed model?**

No. GLM Latest follows Z.ai's latest GLM model and currently points to GLM 5.3, so its behavior and limits can change after a new release.

**What is GLM Latest best suited to?**

Its current target, GLM 5.3, emphasizes complex coding and tasks that require sustained work across many steps. Useful starting points include debugging, implementing features, and comparing technical approaches against explicit requirements.

**Can GLM Latest read screenshots or images?**

The current target, GLM 5.3, accepts text only. Supply the relevant text, error messages, or a written description when asking about visual material.

**How much text can GLM Latest handle?**

GLM 5.3 has a documented 1M-token context window and a maximum output length of 128K tokens. Those are separate limits: a large context window does not mean an equally long answer.

**Can I turn off reasoning?**

GLM 5.3 always uses reasoning. For a narrow task, ask for a short final answer and clear completion criteria.

