[Integrations](https://spiral.ai/integrations) › [goose](https://spiral.ai/integrations/goose) › [GLM-4.6V](https://spiral.ai/integrations/goose/glm-4-6v)

# How to Use GLM-4.6V in goose

GLM-4.6V reads complex documents, turns UI screenshots into code, and reasons over visual tool results. Its 106B parameters distinguish it from the 9B GLM-4.6V-Flash, which targets local deployment and low latency.

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

## Prompts to try with GLM-4.6V in goose

- Use GLM-4.6V to recreate the supplied UI screenshot in this project. Inspect the existing components first, reuse matching ones, and implement the visible layout, spacing, typography, and colors.
- Use GLM-4.6V to compare the current page screenshot with the reference. Identify the five most visible differences, update the relevant components and styles, and capture another screenshot for review.
- Use GLM-4.6V to inspect the circled area in this screenshot. Move the button left to align with the form labels, update the corresponding project styles, and show the resulting screenshot.
- Use GLM-4.6V to read the table in the supplied report image and create a data fixture for this project. Preserve the printed labels and units, include page references, and flag values that are unreadable.
- Use GLM-4.6V to review the desktop and mobile screenshots of this project. List visible layout problems by screen size, fix the relevant CSS, and verify the changes with new screenshots.

## How to set up GLM-4.6V in goose

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

### Use Spiral's MCP server

1. **Add the extension**: In goose Desktop, open the sidebar, click Extensions, then Add custom extension. Enter:

2. **Sign in**: When goose first connects to Spiral, your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key. If the browser does not open, goose prints the link to open yourself.

### Use the Spiral skill

1. **Send goose 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-4.6V**: 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-4.6v",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: goose finds GLM-4.6V on Spiral, shows the price and runs it.

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

## GLM-4.6V tools and prices

- [Z.ai: GLM 4.6V](https://spiral.ai/tools/openrouter/z-ai/glm-4.6v) (OpenRouter): Up to $0.004807 per run at the default inputs. $0.39 per 1M input tokens, $1.17 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 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |

## What can you do with GLM-4.6V in goose?

Turn UI references into working frontend code and use rendered screenshots to guide revisions with GLM-4.6V. A coding agent can connect that visual analysis to the project's components and styles.

### Build a frontend from a screenshot

Turn a reference UI into HTML/CSS, with explicit instructions for layout, spacing, colors, and components.

### Review a visual frontend change

Compare a rendered page with its reference screenshot and request corrections to specific visible differences.

### Extract information from complex reports

Read text alongside tables and figures, then organize the requested information with page references.

### Compare reports across organizations

Build a comparison table from several reports, preserving units, reporting periods, and the source page for each value.

### Explain a chart

Describe axes, units, visible trends, and supporting labels, while separating plotted values from estimates.

### Turn slides into a briefing

Summarize a presentation's argument using evidence from its diagrams, charts, and slide text.

### Compare research figures

Read figures and tables from multiple papers to explain where their methods, measurements, and conclusions differ.

### Summarize a recorded demonstration

Review a video for the main events and request timestamps for the moments that support the summary.

## Overview

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

## GLM-4.6V in other agents

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

## More goose guides

- [GLM-4.6](https://spiral.ai/integrations/goose/glm-4-6)
- [GLM-4.7](https://spiral.ai/integrations/goose/glm-4-7)
- [GLM-4.5V](https://spiral.ai/integrations/goose/glm-4-5v)
- [GLM-5](https://spiral.ai/integrations/goose/glm-5)
- [GLM-4.5](https://spiral.ai/integrations/goose/glm-4-5)
- [GLM-5 Turbo](https://spiral.ai/integrations/goose/glm-5-turbo)

## Questions about GLM-4.6V in goose

**Can goose use GLM-4.6V?**

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

**How much does GLM-4.6V cost in goose?**

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

**Do I need an OpenRouter account to use GLM-4.6V in goose?**

No. Spiral runs GLM-4.6V 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-4.6V in goose?**

About two minutes: add the extension, then sign in.

**Does goose wait while GLM-4.6V runs?**

GLM-4.6V runs in the background. goose starts the run, checks on it and gives you the text, json when it's ready.

**What is GLM-4.6V useful for?**

Use it to analyze documents where layout, charts, tables, and figures matter, or to turn UI screenshots into frontend code. It also supports visual tool use.

**How much material can GLM-4.6V handle at once?**

Its context window is 128K tokens. Z.ai gives approximate examples of 150 complex document pages, 200 slides, or a one-hour video; treat these as capacity examples rather than guaranteed limits for every input.

**Can GLM-4.6V help reproduce or fix a webpage?**

Yes. It can generate HTML/CSS from a UI screenshot and accept visual editing instructions. For a focused revision, mark the area and describe the change you want.

**Is GLM-4.6V a good default for text-only questions?**

Its documented focus is visual work, and Z.ai says pure text question answering still needs improvement. Choose it when the answer depends on what a document, chart, or screenshot shows.

**Which generation settings are a useful starting point?**

The released configuration uses temperature 0.8, top-p 0.6, and top-k 2. Use those as a baseline when comparing results on your own visual tasks.

