
GLM-4.7
智谱 AI 的 GLM-4.7 是一款旗舰 358B MoE model,具备 200K context window、卓越的 73.8% SWE-bench 性能,以及用于 agentic 的原生 Deep Thinking...
关于 GLM-4.7
了解 GLM-4.7 的功能、特性以及它如何帮助您获得更好的效果。
模型概述
GLM-4.7 是由 智谱 AI 开发的旗舰级 LLM。它采用了 Mixture-of-Experts (MoE) 架构,总参数量达 3580 亿。该模型通过其独特的 Preserved Thinking 和 Interleaved Thinking 能力,专门用于处理复杂的 agentic 任务和长上下文推理。这些特性使模型能够在多轮会话中保持稳定的逻辑和中间推理状态,从而解决了自主工作流中常见的 context 衰减问题。
性能与架构
该模型提供了广阔的 200,000 token context window,结合 131,072 token 的海量输出容量。这使得它非常适合在单次任务中生成完整的应用程序或分析详尽的文档。作为一款以 MIT 许可发布的 open-weight 模型,它以极低的成本提供了高性能的编程和推理能力。
集成与应用
它完全兼容 OpenAI API 格式,简化了集成到现有软件生态系统的过程。开发者将其用于高要求的软件工程任务,其在 SWE-bench Verified 上达到了 73.8% 的分数。它能够在英语和中文之间处理和分析海量技术文档,并具备母语级的语言细微差别处理能力,是国际开发团队的理想选择。

GLM-4.7 的使用案例
发现使用 GLM-4.7 获得出色效果的不同方式。
自主软件工程
利用 73.8% 的 SWE-bench 能力,在复杂代码库中自主进行调试、重构和实现新功能。
大容量文档合成
利用 131k 输出限制,从海量数据集中生成综合技术手册或完整的书籍章节。
长视野 Agentic 工作流
部署使用 Preserved Thinking 的 Agent,在数百个连续任务中保持逻辑一致性,而不会丢失 context。
双语商业智能
在英语和中文之间处理和分析海量技术文档,具备母语级的语言细微差别处理能力。
自动化 UI/UX 代码生成
一次性生成包含高级动画和生产级样式的完整 React 或 Next.js 前端架构。
竞赛级数学求解
使用专用的重推理 thinking mode 解决复杂的奥赛级数学问题和符号逻辑难题。
优势
局限性
API快速入门
zai/glm-4.7
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'YOUR_ZAI_API_KEY',
baseURL: 'https://api.z.ai/api/paas/v4/',
});
async function main() {
const response = await client.chat.completions.create({
model: 'glm-4.7',
messages: [{ role: 'user', content: 'Design a scalable React architecture.' }],
thinking: { type: 'enabled' }
});
console.log(response.choices[0].message.content);
}
main();安装SDK并在几分钟内开始进行API调用。
人们对 GLM-4.7 的评价
看看社区对 GLM-4.7 的看法
“GLM-4.7 凭借其 128k 的 context 可靠地处理大型代码库。它在子任务处理方面非常有用,节省了主要的 API 成本。”
“智谱 AI 的 GLM-4.7 在编程方面与 GPT-5.1 High 等私有 frontier models 相当。Preserved Thinking 功能对于 autonomous agents 来说是一个巨大的胜利。”
“GLM-4.7 继续成为 Intelligence Index v4.0 中最智能的 open weights 模型,领先于 DeepSeek V3.2。”
“中国模型在编程效用方面的差距正在迅速缩小。对于 open weight 发布而言,73% 的 SWE-bench 分数不可小觑。”
“推理速度对于这种尺寸的模型来说相当不错。它处理复杂逻辑的能力比以前的版本好得多。”
“GLM-4.7 在 AI Index 中排名第 6,超越了 Kimi K2。看看为什么这个 2 美元的模型正在编程工作流中取代 GPT-5.2。”
关于 GLM-4.7 的视频
观看关于 GLM-4.7 的教程、评测和讨论
“这里的context window是 200k,最大输出 tokens 是 128k,确实相当强劲。”
“它在浏览器操作系统的语音交互功能中实现的特色让我非常惊艳。”
“总的来说,这是一个非常强大的model,我知道很多人喜欢用它的编码方案来替代某些其他 state-of-the-art closed-source model,或者至少作为一种便宜得多的替代品。所以总体而言,我认为你会……”
“它在 Swaybench verified 上获得了 73.8% 的分数,对于一个 open-source model 来说绝对不可思议。”
“这个model实际上比大多数闭源model便宜四到七倍。”
“在 tool use benchmark 中,它甚至超过了 Claude Sonnet 4.5 和 GPT 5.1。”
“感觉有点像是平价版的 Opus。虽然听起来有点傻,但它确实好用到足以完成实际工作。”
“大约是 2/3 的大小。GLM 4.7 在其 mixture of expert 架构运行期间每次激活 320 亿参数,而 MiniMax 只激活 100 亿,这再次有助于提高运行速度。”
“在我的 MacBook 上。它被压缩到大约 78 GB,这对于拥有统一内存的 128 GB MacBook 来说完全装得下。”
GLM-4.7专业提示
专家提示助您充分利用GLM-4.7。
启用 Thinking Mode 以增强逻辑
在编程或数学任务中将 thinking 参数设置为 enabled,以利用模型的内部推理轨迹并提高准确性。
使用兼容 OpenAI 的 SDK
通过使用 OpenAI SDK 并将 base URL 更改为 Z.ai 端点,将 GLM-4.7 集成到现有工作流中。
最大化 131K 输出能力
在生成长篇内容时,先提供详细的大纲,以帮助模型在巨大的 token 限制内保持结构的连贯性。
优化 Agent 的系统 prompt
在系统消息中定义 Preserved Thinking 的需求,以确保模型在多轮会话中复用推理状态。
用户评价
用户怎么说
加入数千名已改变工作流程的满意用户
Jonathan Kogan
Co-Founder/CEO, rpatools.io
Automatio is one of the most used for RPA Tools both internally and externally. It saves us countless hours of work and we realized this could do the same for other startups and so we choose Automatio for most of our automation needs.
Mohammed Ibrahim
CEO, qannas.pro
I have used many tools over the past 5 years, Automatio is the Jack of All trades.. !! it could be your scraping bot in the morning and then it becomes your VA by the noon and in the evening it does your automations.. its amazing!
Ben Bressington
CTO, AiChatSolutions
Automatio is fantastic and simple to use to extract data from any website. This allowed me to replace a developer and do tasks myself as they only take a few minutes to setup and forget about it. Automatio is a game changer!
Sarah Chen
Head of Growth, ScaleUp Labs
We've tried dozens of automation tools, but Automatio stands out for its flexibility and ease of use. Our team productivity increased by 40% within the first month of adoption.
David Park
Founder, DataDriven.io
The AI-powered features in Automatio are incredible. It understands context and adapts to changes in websites automatically. No more broken scrapers!
Emily Rodriguez
Marketing Director, GrowthMetrics
Automatio transformed our lead generation process. What used to take our team days now happens automatically in minutes. The ROI is incredible.
Jonathan Kogan
Co-Founder/CEO, rpatools.io
Automatio is one of the most used for RPA Tools both internally and externally. It saves us countless hours of work and we realized this could do the same for other startups and so we choose Automatio for most of our automation needs.
Mohammed Ibrahim
CEO, qannas.pro
I have used many tools over the past 5 years, Automatio is the Jack of All trades.. !! it could be your scraping bot in the morning and then it becomes your VA by the noon and in the evening it does your automations.. its amazing!
Ben Bressington
CTO, AiChatSolutions
Automatio is fantastic and simple to use to extract data from any website. This allowed me to replace a developer and do tasks myself as they only take a few minutes to setup and forget about it. Automatio is a game changer!
Sarah Chen
Head of Growth, ScaleUp Labs
We've tried dozens of automation tools, but Automatio stands out for its flexibility and ease of use. Our team productivity increased by 40% within the first month of adoption.
David Park
Founder, DataDriven.io
The AI-powered features in Automatio are incredible. It understands context and adapts to changes in websites automatically. No more broken scrapers!
Emily Rodriguez
Marketing Director, GrowthMetrics
Automatio transformed our lead generation process. What used to take our team days now happens automatically in minutes. The ROI is incredible.
相关 AI Models
GPT-5.2
OpenAI
GPT-5.2 is OpenAI's flagship model for professional tasks, featuring a 400K context window, elite coding, and deep multi-step reasoning capabilities.
Qwen3.6-Max-Preview
alibaba
Qwen3.6-Max-Preview is Alibaba's flagship MoE model featuring 1M context, a native thinking mode, and SOTA scores in agentic coding and reasoning.
GLM-5
Zhipu (GLM)
GLM-5 is Zhipu AI's 744B parameter open-weight powerhouse, excelling in long-horizon agentic tasks, coding, and factual accuracy with a 200k context window.
GLM-5.1
Zhipu (GLM)
GLM-5.1 is Zhipu AI's flagship reasoning model, featuring a 202K context window and an autonomous 8-hour execution loop for complex agentic engineering.
Gemini 3.1 Flash-Lite
Gemini 3.1 Flash-Lite is Google's fastest, most cost-efficient model. Features 1M context, native multimodality, and 363 tokens/sec speed for scale.
Kimi K2 Thinking
Moonshot
Kimi K2 Thinking is Moonshot AI's trillion-parameter reasoning model. It outperforms GPT-5 on HLE and supports 300 sequential tool calls autonomously for...
Claude Opus 4.5
Anthropic
Claude Opus 4.5 is Anthropic's most powerful frontier model, delivering record-breaking 80.9% SWE-bench performance and advanced autonomous agency for coding.
GPT-5.4
OpenAI
GPT-5.4 is OpenAI's frontier model featuring a 1.05M context window and Extreme Reasoning. It excels at autonomous UI interaction and long-form data analysis.
关于GLM-4.7的常见问题
查找关于GLM-4.7的常见问题答案