[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [GLM 5.3 Flash](https://spiral.ai/integrations/claude-code/glm-5-3-flash)

# How to Use GLM 5.3 Flash in Claude Code

GLM 5.3 Flash suits coding, document analysis, and tasks that require several tool calls. Its 1M-token context supports large reference sets, while adjustable reasoning helps tailor the work to the task.

|  |  |
| --- | --- |
| Model | GLM 5.3 Flash |
| 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 5.3 Flash in Claude Code

- Use GLM 5.3 Flash with maximum reasoning effort to implement the checkout form described in this project's requirements. Cover validation, submission, success, and failure states, then run the relevant checks.
- Use GLM 5.3 Flash to build a playable Godot prototype in this repository: move a character, collect five objects, track the score, and show a completion screen. Verify one complete playthrough.
- Use GLM 5.3 Flash to write a Blender script for a desk scene with a lamp, notebook, and mug. Use meters, define one camera, render a preview with the available tools, and report anything you could not verify.
- Use GLM 5.3 Flash to turn this repository's reporting requirements into a script that creates an editable spreadsheet. Include formulas, sample data clearly labeled as examples, and checks for broken references.
- Use GLM 5.3 Flash to extract requirements from the project's specification into JSON. For each requirement, include its source section, acceptance condition, and unresolved questions; validate the result against a schema.

## How to set up GLM 5.3 Flash in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

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

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

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

## GLM 5.3 Flash tools and prices

- [Z.ai: GLM 5.3 Flash](https://spiral.ai/tools/openrouter/z-ai/glm-5.3-flash) (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 5.3 Flash in Claude Code?

GLM 5.3 Flash can turn a project brief into code and use tool results to guide revisions. Give it a small deliverable with clear acceptance checks.

### Frontend implementation

Use GLM 5.3 Flash to turn a written product brief into a working interface, with explicit requirements for navigation, forms, and error states.

### Playable game prototypes

Ask GLM 5.3 Flash to implement a small game with movement, scoring, and a complete win or loss condition.

### Blender scene scripts

Have GLM 5.3 Flash write scene-building code from a description of the objects, dimensions, lighting, and camera position.

### Management presentation drafts

Use GLM 5.3 Flash to organize supplied business information into slide titles, supporting evidence, chart specifications, and speaker notes.

### Earnings research

Ask GLM 5.3 Flash to compare supplied earnings disclosures, separating reported numbers from assumptions and proposed explanations.

### Document comparison

Use GLM 5.3 Flash to compare two supplied texts and list changed requirements, conflicting statements, and questions requiring clarification.

### Structured information extraction

Have GLM 5.3 Flash turn supplied text into JSON records with source excerpts and explicit missing values.

## Overview

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

## GLM 5.3 Flash in other agents

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

## More Claude Code guides

- [GLM 5.2 (batch)](https://spiral.ai/integrations/claude-code/glm-5-2-batch)
- [GLM 5.3 FlashX](https://spiral.ai/integrations/claude-code/glm-5-3-flashx)
- [GLM 4.7 Flash](https://spiral.ai/integrations/claude-code/glm-4-7-flash)
- [GLM 5.3 FlashX Legal](https://spiral.ai/integrations/claude-code/glm-5-3-flashx-legal)
- [GLM 4.5 Air](https://spiral.ai/integrations/claude-code/glm-4-5-air)
- [GLM 5.3 Prime](https://spiral.ai/integrations/claude-code/glm-5-3-prime)

## Questions about GLM 5.3 Flash in Claude Code

**Can Claude Code use GLM 5.3 Flash?**

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

**How much does GLM 5.3 Flash cost in Claude Code?**

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 Claude Code plan is separate.

**Do I need an OpenRouter account to use GLM 5.3 Flash in Claude Code?**

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

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while GLM 5.3 Flash runs?**

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

**What is GLM 5.3 Flash useful for?**

Z.ai documents coding, Office work, financial research, and document processing. Start with a concrete deliverable, such as a working page, a report outline, or extracted records.

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

Published specifications list a 1M-token context and up to 128K output tokens. Treat these as separate limits; a large reference set does not mean the response can be equally long.

**Can I turn off reasoning?**

No. GLM 5.3 Flash always uses reasoning; choose low, high, or maximum effort to control its reasoning budget.

**Can GLM 5.3 Flash create finished spreadsheets or presentations?**

Its direct output is text. An agent needs document creation tools to turn that output into a spreadsheet or presentation.

**How should I request structured results?**

Specify the JSON structure, required values, and how to represent missing information. Include a small example when the format has rules that could be interpreted differently.

