Spiral gives your agent every tool with one account. Browse the tools →

Notion · LLMReleased 2025-09-30

How to Use GLM-4.6 in Notion

GLM-4.6 suits code changes, front-end development, and research that uses tools. Its 200K-token context supports long text tasks, while Z.ai reports that its coding ability trails Claude Sonnet 4.5.

Prompts to try with GLM-4.6 in Notion

Copy an example into Notion, or ask in your own words.

Use GLM-4.6 each morning to compare retrieved product release notes with the previous digest. Summarize newly announced changes in 400 words or fewer, with source links.

GLM-4.6Notion
Try asking
  • Use GLM-4.6 each week to compare newly retrieved documentation text with the previous version. List changed requirements and quote the passages that establish each change.

  • Use GLM-4.6 each Friday to research updates to the web standards on our watchlist using available search tools. Return five relevant findings at most, each with a primary source.

  • Use GLM-4.6 each day to draft French translations of newly supplied product descriptions. Follow our glossary, preserve measurements, and put ambiguous wording in a separate review list.

  • Use GLM-4.6 each week to edit the supplied customer announcement drafts. Preserve factual claims, apply our tone guide, and return each revision with a short explanation of the changes.

How to set up GLM-4.6 in Notion

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

Use the Spiral skill

  1. Send Notion 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. Allow custom MCP servers

    A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

  2. Add Spiral to a custom agent

    Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

  4. Run GLM-4.6 in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds GLM-4.6, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    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.6

    One request; the result comes back by polling or a webhook.

    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.6",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

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

GLM-4.6 providers and prices

Spiral runs GLM-4.6 through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Z.ai: GLM 4.6
z-ai/glm-4.6

Settings you can ask for

Ask Notion for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Max tokens1 to 131072

The most output tokens to generate.

Temperature0 to 2
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of Z.ai: GLM 4.6 is on its tool page: open its card above.

What can you do with GLM-4.6 in Notion?

Build recurring research and editing workflows around GLM-4.6. Give each run a bounded question and require source references or supporting passages in the result.

Repair a failing feature

Give GLM-4.6 the relevant code, error output, and expected behavior. Ask for a focused patch and a regression check.

Build a front-end from a written brief

Ask GLM-4.6 to turn layout requirements into interface code, including narrow-screen behavior, empty states, and error messages.

Compare long specifications

Supply labeled specification text and ask GLM-4.6 for conflicting requirements, missing decisions, and supporting section references.

Prepare a research brief

Have GLM-4.6 use available search tools to investigate a narrow question, compare sources, and separate supported conclusions from open questions.

Edit customer-facing copy

Give GLM-4.6 a draft, audience, and tone guide. Request a clearer version that preserves the supplied claims and removes repetition.

Translate product descriptions

Ask GLM-4.6 for French, Russian, Japanese, or Korean product copy using a supplied glossary, with product names and measurements preserved.

Draft a recurring change digest

Have GLM-4.6 compare retrieved release-note text with the previous digest and explain changes, affected users, and unresolved questions.

Questions about GLM-4.6 in Notion

Can Notion use GLM-4.6?

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

How much does GLM-4.6 cost in Notion?

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

Do I need an OpenRouter account to use GLM-4.6 in Notion?

No. Spiral runs GLM-4.6 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.6 in Notion?

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

Does Notion wait while GLM-4.6 runs?

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

What is GLM-4.6 useful for?

Use GLM-4.6 for code changes, front-end development, and research that combines reasoning with tools. Give it a concrete deliverable and acceptance criteria.

How much text can GLM-4.6 handle?

Z.ai documents a 200K-token context window and a maximum output of 128K tokens. Treat those as ceilings and request only the output your task needs.

Can GLM-4.6 read screenshots or generate images?

GLM-4.6 has text input and text output. For a visual debugging task, supply the code, error text, and a written description of the problem.

Which settings should I try for coding?

Z.ai recommends top_p of 0.95 and top_k of 40 for code evaluations such as LiveCodeBench. Use those as a starting point and compare results on your own tasks.

Which translation languages have documented improvements?

Z.ai specifically names French, Russian, Japanese, and Korean. Include the target audience, tone, and a glossary when requesting a translation.

Get started

Start using GLM-4.6 in Notion

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Notion:

Set up Notion

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options