GLM 4.7 Flash
glm-4.7-flashGLM-4.7-Flash is a state-of-the-art 30B-class model designed to strike a strong balance between performance and efficiency. It is specifically optimized for agentic coding scenarios, with enhanced capabilities in code generation, long-horizon task planning, and tool-based collaboration. Among open-source models of comparable size, GLM-4.7-Flash has achieved leading results on multiple public benchmark leaderboards, establishing itself as a competitive and practical choice for advanced developer and agent workflows.
- Context
- 200K tokens
- Endpoint
Service Status
Status information temporarily unavailable
Apertis cannot confirm the current service state. This is not a report that the model is down.
Pricing
Quick Start
Select an endpoint and copy a working example for this model.
from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.apertis.ai/v1") response = client.chat.completions.create( model="glm-4.7-flash", messages=[ {"role": "user", "content": "Hello!"} ], max_tokens=1024, temperature=0.7) print(response.choices[0].message.content) # Optional: Enable context compression to reduce token usage# response = client.chat.completions.create(# model="glm-4.7-flash",# messages=[{"role": "user", "content": "Hello!"}],# extra_body={"compression": {"enabled": True, "model": "gpt-4.1-mini"}}# )Supported Parameters
API docsmodelmessagesmax_tokenstemperaturetop_pstreamtoolsreasoning_effortstream_optionsthinkingextra_bodyCursor IDE Model IDs
Use these namespaced identifiers in Cursor IDE to avoid conflicts with built-in models.
Compare with Other Models
See how this model compares to others from the same provider.
GLM-4.7 (Thinking)
GLM-4.7 is Z.AI's newest flagship model, upgraded for stronger programming performance and more reliable multi-step reasoning. It handles complex agent tasks better while offering smoother conversations and improved UI/experience quality.
- Context
- 202.8K
- Input
- $0.30/M
- Output
- $0.50/M
GLM 4.6 (Thinking)
GLM-4.6 improves on GLM-4.5 with a larger 200K context window, stronger coding performance (including better real-world agent tools like Claude Code and Cline), and clearer gains in reasoning with built-in tool use. It delivers more capable agent behavior, integrates better into agent frameworks, and produces more natural, readable writing — especially in role-playing scenarios.
- Context
- 202.8K
- Input
- $0.40/M
- Output
- $1.50/M
GLM 5.3 Flash
GLM-5.3-Flash is Z.AI's efficient native multimodal model, designed for coding and long-horizon agentic workflows. It combines strong multimodal capabilities with an architecture optimized for responsive, cost-efficient task execution. Built on a hybrid sparse and linear attention architecture, GLM-5.3-Flash maintains accurate long-context behavior while reducing computational overhead, making it well suited for coding agents, extended multi-step tasks, and scalable production workloads.
- Context
- 1M
- Input
- $0.075/M
- Output
- $0.25/M
GLM-4.5 Flash
The GLM-4.5 series is built for agent-style AI, combining reasoning, coding, and tool use. GLM-4.5 has 355B total parameters (32B active), while GLM-4.5-Air is a lighter 106B/12B version. Both support hybrid modes — a “thinking” mode for complex reasoning and tools, and a fast non-thinking mode for quick replies. The models are open-sourced (including FP8 versions) under the MIT license for commercial use, and they rank highly on benchmarks: GLM-4.5 scores 63.2 (3rd overall), while GLM-4.5-Air achieves 59.8 with better efficiency.
- Context
- 128K
- Input
- $0.014/M
- Output
- $0.056/M