[Integrations](https://spiral.ai/integrations) › [Devin](https://spiral.ai/integrations/devin) › [GLM 5.3 Prime](https://spiral.ai/integrations/devin/glm-5-3-prime)

# How to Use GLM 5.3 Prime in Devin

GLM 5.3 Prime is built for coding, technical conversations, and tasks that need several rounds of tool use. It retains GLM 5.3’s capabilities while accelerating output generation, with a reported 1.5–2× increase in output throughput.

|  |  |
| --- | --- |
| Model | GLM 5.3 Prime |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.046986 per run at the default inputs. $3.64 per 1M input tokens, $11.44 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 Prime in Devin

- Use GLM 5.3 Prime with maximum reasoning to investigate the failing tests in this repository. Reproduce one failure, fix its cause, and run the relevant checks. Summarize the change and test results.
- Use GLM 5.3 Prime to inspect this project's authentication code. Trace session expiration, identify inconsistent behavior, and add a regression test for any confirmed bug before fixing it.
- Use GLM 5.3 Prime to review the API specification in this repository and implement a typed client. Cover documented errors and pagination, and test against the existing fixtures.
- Use GLM 5.3 Prime to plan a migration from the deprecated library used in this project. Inspect its actual usage, list compatibility risks, and propose a sequence of changes with acceptance checks.
- Use GLM 5.3 Prime to analyze the benchmark results and relevant code in this project. Identify one measurable bottleneck, implement a focused improvement, and compare correctness and performance before and after.

## How to set up GLM 5.3 Prime in Devin

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

### Use Spiral's MCP server

1. **Add a custom MCP**: Open Customize › MCPs. Click + and choose New MCP. Fill in:

2. **Sign in to Spiral and approve**: In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

3. **Check it**: On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

### Use the Spiral skill

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

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

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

## GLM 5.3 Prime tools and prices

- [Z.ai: GLM 5.3 Prime](https://spiral.ai/tools/openrouter/z-ai/glm-5.3-prime) (OpenRouter): Up to $0.028192 per run at the default inputs. $2.184 per 1M input tokens, $6.864 per 1M output tokens.

## Settings you can ask for

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

## What can you do with GLM 5.3 Prime in Devin?

GLM 5.3 Prime can help carry a code change through investigation, implementation, and verification. Give it the relevant project files and acceptance checks so the work ends with a reviewable result.

### Fix a reproducible bug

Give GLM 5.3 Prime the failure, relevant code, and expected behavior. Ask for a reproduction, a focused correction, and evidence that the correction works.

### Plan a code migration

Ask GLM 5.3 Prime to map dependencies, identify compatibility risks, and divide a migration into changes with explicit acceptance checks.

### Design regression tests

Have GLM 5.3 Prime turn a bug report or behavior specification into test cases covering ordinary inputs, boundary conditions, and failure paths.

### Draft an API client

Provide a textual API specification and ask GLM 5.3 Prime for client code, response handling, and tests tied to documented behavior.

### Triage technical incidents

Give GLM 5.3 Prime timestamped logs and deployment notes. Request an evidence-based timeline, competing explanations, and the next diagnostic checks.

### Extract structured records

Ask GLM 5.3 Prime to convert supplied text into JSON using an explicit structure. Validate required properties and types before passing the records onward.

### Compare implementation approaches

Ask GLM 5.3 Prime to evaluate technical approaches against stated requirements and explain which assumptions could change the recommendation.

## Overview

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

## GLM 5.3 Prime in other agents

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

## More Devin guides

- [GLM 5.3 FlashX Legal](https://spiral.ai/integrations/devin/glm-5-3-flashx-legal)
- [GLM Flash Latest](https://spiral.ai/integrations/devin/glm-flash-latest)
- [GLM 5.3 FlashX](https://spiral.ai/integrations/devin/glm-5-3-flashx)
- [GLM Latest](https://spiral.ai/integrations/devin/glm-latest)
- [GLM 5.3 Flash](https://spiral.ai/integrations/devin/glm-5-3-flash)
- [GLM-4.5](https://spiral.ai/integrations/devin/glm-4-5)

## Questions about GLM 5.3 Prime in Devin

**Can Devin use GLM 5.3 Prime?**

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

**How much does GLM 5.3 Prime cost in Devin?**

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

**Do I need an OpenRouter account to use GLM 5.3 Prime in Devin?**

No. Spiral runs GLM 5.3 Prime 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 Prime in Devin?**

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

**Does Devin wait while GLM 5.3 Prime runs?**

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

**How does GLM 5.3 Prime differ from GLM 5.3?**

Prime accelerates output generation while retaining GLM 5.3’s capabilities. The reported improvement is 1.5–2× output throughput, rather than a separate increase in reasoning quality.

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

It supports a 1M-token context window and up to 128K output tokens. For a large task, ask for a specific deliverable, such as a migration plan or a focused patch, rather than an unrestricted response.

**Can GLM 5.3 Prime read screenshots or generate images?**

GLM 5.3 Prime accepts text and produces text. Provide error messages, extracted text, or a written description when the original material is visual.

**Can I turn reasoning off?**

Reasoning stays enabled. You can choose low, high, or maximum reasoning effort; maximum is the default.

**Can GLM 5.3 Prime return reliable JSON?**

It can return JSON, but JSON-schema enforcement is not supported. Describe the required structure, then validate the result before using it in an automated workflow.

