MorseSign inOpen Morse

GLM 4.7, GLM 4.6, and GLM 4.5 Air: what each changed, and a call on a private API

The Morse teamPublished Facts checked 3 min read

GLM 4.7 is the last of Z.ai's fourth-generation models: a 358-billion-parameter open-weight model that improved on GLM 4.6 in agentic coding and terminal work and added finer control over how it thinks. Morse serves it, along with GLM 4.6 and the compact GLM 4.5 Air, on a private, OpenAI-compatible API. GLM 4.7 is z-ai/glm-4.7, at $0.60 per million input tokens and $2.20 per million output tokens.

We read Z.ai's GLM-4.7, GLM-4.6, and GLM-4.5-Air cards and Morse's model pages on December 3, 2026. Scores are Z.ai's.

What did GLM 4.7 change?

The card says GLM 4.7 "brings clear gains, compared to its predecessor GLM-4.6, in multilingual agentic coding and terminal-based tasks." It also extends how the model thinks. Interleaved Thinking, introduced with GLM 4.5, lets it reason between tool calls. 4.7 adds Preserved Thinking, which keeps earlier reasoning across turns, and Turn-level Thinking, which lets you switch reasoning off for lightweight requests to cut latency and cost.

BenchmarkGLM 4.7GLM 4.6
SWE-bench Verified73.868.0
SWE-bench Multilingual66.753.8
Terminal Bench 2.041.024.5
τ²-Bench87.475.2
BrowseComp52.045.1
HLE, with tools42.830.4
LiveCodeBench v684.982.8
AIME 202595.793.9

Source: GLM-4.7 model card, read December 3, 2026.

Terminal Bench 2.0 shows the biggest change, 24.5 to 41.0, and multilingual repository fixes rose almost 13 points. Those are exactly the "agentic coding and terminal" gains Z.ai names.

What about GLM 4.6?

GLM 4.6 was the step before. Its card lists what it improved over GLM 4.5: a context window "expanded from 128K to 200K tokens," stronger coding, reasoning that "supports tool use during inference," more capable agents, and refined writing. Hugging Face lists it at 357 billion parameters, and Z.ai recommends a temperature of 1.0 for general use. On Morse it's z-ai/glm-4.6, at $0.60 per million input tokens and $2.20 per million output tokens, the same price as 4.7. For new work, 4.7's table above is the argument to move up.

And GLM 4.5 Air?

The compact model of the GLM 4.5 generation. Z.ai's card says it "adopts a more compact design with 106 billion total parameters and 12 billion active parameters," and, like GLM 4.5, is a hybrid reasoning model with a thinking mode for complex reasoning and tool use and a non-thinking mode for immediate replies. Across Z.ai's 12 benchmarks it averages 59.8 against 63.2 for the full GLM 4.5. On Morse it's z-ai/glm-4.5-air, at $0.20 per million input tokens and $1.10 per million output tokens, and the model page measured it on December 1, 2026 at 111 tokens per second, the fastest of the three.

How do you call GLM 4.7?

Point any OpenAI client at https://inference.trymorse.ai/v1, pass your Morse key, and name z-ai/glm-4.7; reasoning_effort takes "none" or "high". The sample hands it one SSH log line and a firewall function:

import json
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://inference.trymorse.ai/v1",
    api_key=os.environ["MORSE_API_KEY"],
)

tools = [
    {
        "type": "function",
        "function": {
            "name": "block_ip",
            "description": "Add an IP address to the firewall's block list",
            "parameters": {
                "type": "object",
                "properties": {
                    "ip": {"type": "string"},
                    "minutes": {"type": "integer"},
                },
                "required": ["ip", "minutes"],
            },
        },
    }
]

log = "Dec 3 03:12:44 web-2 sshd[811]: Failed password for root from 198.51.100.23 port 40122 ssh2 (x240 in 5m)"

reply = client.chat.completions.create(
    model="z-ai/glm-4.7",
    reasoning_effort="none",
    tools=tools,
    messages=[
        {"role": "system", "content": "You triage server logs. Block clear brute-force sources for 60 minutes."},
        {"role": "user", "content": log},
    ],
)

for call in reply.choices[0].message.tool_calls or []:
    print(call.function.name, json.loads(call.function.arguments))

On December 3, 2026, with reasoning off, all three called block_ip for 198.51.100.23, 60 minutes: GLM 4.6 in about 0.9 seconds, GLM 4.5 Air in about 4.8, and GLM 4.7 in about 11.7. Morse's model pages measured them on December 1 at 23 tokens per second for 4.7, 57 for 4.6, and 111 for 4.5 Air, so 4.7 trades speed for its higher scores.

Which GLM 4 model should you call?

GLM 4.7GLM 4.6GLM 4.5 Air
Model idz-ai/glm-4.7z-ai/glm-4.6z-ai/glm-4.5-air
Context198K tokens198K tokens128K tokens
Longest reply131,072 tokens131,072 tokens98,304 tokens
Price$0.60 per million input tokens and $2.20 per million output tokens$0.60 per million input tokens and $2.20 per million output tokens$0.20 per million input tokens and $1.10 per million output tokens

Read from Morse's catalog when this page was built.

  • GLM 4.7 for coding agents and terminal work where quality matters more than speed.
  • GLM 4.6 for the same price with faster replies, on work that doesn't need 4.7's gains.
  • GLM 4.5 Air for high-volume, latency-sensitive calls.

The fifth generation, GLM 5 to 5.3, scores higher again, and GLM 5.3 Flash is its fast model.

Is there an uncensored GLM?

In the 5.3 generation: GLM 5.3 Uncensored and GLM 5.3 Flash Uncensored, both abliterated, the method our explainer covers. They're served for cybersecurity, agent security, AI and ML research, and training data.

Privacy and price

It runs under zero-data-retention terms, and the provider sees Morse as the customer, not you. Morse runs the open weights on its own providers, not Z.ai's; the privacy page sets out each tier. All three bill per token against prepaid credits. Make a key to send the log line above.

Common questions

What changed from GLM 4.6 to GLM 4.7?

Z.ai's card reports clear gains in multilingual agentic coding and terminal tasks, and new thinking controls: Preserved Thinking and Turn-level Thinking, on top of the Interleaved Thinking introduced with GLM 4.5.

What is GLM 4.6's context length?

200K tokens, up from 128K in GLM 4.5, by Z.ai's card. On Morse it's 198K tokens.

How big is GLM 4.5 Air?

106 billion parameters with 12 billion active, by Z.ai's card. It's the compact sibling of GLM 4.5, with a thinking and a non-thinking mode.

Are the GLM 4 models open source?

Yes. Z.ai releases GLM 4.5, 4.5 Air, 4.6, and 4.7 under the MIT license, which allows commercial use.

Ask what you actually want to ask.

80+ models, characters, and images, with every chat encrypted and kept on your device. Free to start.

Start a private chat

Read next