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

# How to Use GLM Flash Latest in Perplexity

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 Perplexity

- Use GLM Flash Latest to turn the business notes below into a 500-word management report. Separate conclusions, supporting evidence, and unanswered questions.
- Use GLM Flash Latest to extract contact details from the text below as JSON. Include names, emails, and companies; use null for missing details.
- Use GLM Flash Latest to explain the bug in the code pasted below. Give a minimal correction and three test cases.
- Use GLM Flash Latest to compare the two earnings summaries below. Identify changes in revenue, profit, and cash flow, citing the supplied passages.
- Use GLM Flash Latest to draft a browser game's code from these rules: collect ten coins, avoid obstacles, and show a restart button after losing.

## How to set up GLM Flash Latest in Perplexity

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

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

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

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity 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 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: Perplexity finds GLM Flash Latest on Spiral, shows the price and runs it.

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

## 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 Perplexity?

Turn supplied text into structured records, code drafts, and evidence-based reports with GLM Flash Latest. State the intended audience and output format so the response addresses a concrete task.

### 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 Perplexity guides](https://spiral.ai/integrations/perplexity)

## 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)
- [Hermes](https://spiral.ai/integrations/hermes/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)
- [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 Perplexity guides

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

## Questions about GLM Flash Latest in Perplexity

**Can Perplexity use GLM Flash Latest?**

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

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

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

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

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 Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

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

GLM Flash Latest runs in the background. Perplexity 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.

