[Integrations](https://spiral.ai/integrations) › [Hermes](https://spiral.ai/integrations/hermes) › [GLM Flash Latest](https://spiral.ai/integrations/hermes/glm-flash-latest)

# How to Use GLM Flash Latest in Hermes

Use GLM Flash Latest for coding, document analysis, and structured extraction. It currently points to GLM 5.3 Flash and follows future Flash releases, so its behavior can change over time.

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

## Prompts to try with GLM Flash Latest in Hermes

- Each morning, use GLM Flash Latest to analyze newly collected product announcements. Return product names, stated features, announcement dates, and source links as JSON.
- Every Friday, use GLM Flash Latest to turn this week's collected business updates into a 400-word report with evidence and unresolved questions.
- After each earnings announcement, use GLM Flash Latest to compare the collected disclosures with the previous quarter. Separate reported figures from your calculations.
- Each evening, use GLM Flash Latest to extract events from today's collected announcements. Include dates and locations only when explicitly stated.
- Each week, use GLM Flash Latest to classify collected customer comments as positive, negative, or neutral. Include a supporting passage for each classification.

## How to set up GLM Flash Latest in Hermes

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

### Use the Spiral skill

1. **Send Hermes 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 the server and sign in**: Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

```bash
hermes mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --auth oauth \
  --connect-timeout 300
```

2. **Check it**: In a chat that was already open, run `/reload-mcp`.

```bash
hermes mcp list
hermes mcp test spiral
```

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

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

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

## GLM Flash Latest tools and prices

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

Produce recurring document analyses and structured records with GLM Flash Latest. Give each run a defined source set and comparison period so its output can be checked against the evidence.

### Investigate a code defect

Use GLM Flash Latest to trace a reported failure, propose a focused patch, and check it against a reproducible test.

### Build an interface from a written brief

Turn page requirements into frontend code, then inspect the rendered pages and test the requested interactions.

### Prototype a playable game

Start with written gameplay rules and a small scope. Ask for movement, scoring, and win or loss conditions, followed by a complete playthrough.

### Prepare a management report

Organize supplied business material into conclusions, supporting evidence, and unresolved questions for a named audience.

### Extract records from text

Convert contact details, product descriptions, or event announcements into structured JSON with explicit missing-value rules.

### Compare financial disclosures

Analyze supplied earnings material, distinguish disclosed figures from assumptions, and trace conclusions back to their sources.

## Overview

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

## GLM Flash Latest in other agents

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

## More Hermes guides

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

## Questions about GLM Flash Latest in Hermes

**Can Hermes use GLM Flash Latest?**

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

**How much does GLM Flash Latest cost in Hermes?**

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

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

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

About two minutes: add the server and sign in, then check it.

**Does Hermes wait while GLM Flash Latest runs?**

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

**Is GLM Flash Latest a fixed model?**

No. It currently points to GLM 5.3 Flash and follows future GLM Flash releases. Recheck important workflows when that target changes.

**What is GLM Flash good at?**

The current GLM 5.3 Flash target is designed for coding and agent tasks. Z.ai also documents document processing, Office work, and financial research.

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

The current GLM 5.3 Flash target has a 1,048,576-token context window and supports up to 131,072 completion tokens. These limits can change when GLM Flash Latest moves to another release.

**Can I turn off GLM Flash's thinking?**

Thinking cannot be disabled in the current GLM 5.3 Flash target. It offers low, high, and max reasoning effort, with max as the default.

**Can GLM Flash return structured JSON?**

Yes, the current GLM 5.3 Flash target supports structured output using a JSON schema. Define the expected fields, types, and rules, then validate the result before using it.

