glm-5

GLM-5 / 채팅

Commercial
ID: glm-5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With advanced agentic planning, deep backend reasoning, and iterative self-correction, GLM-5 moves beyond code generation to full-system construction and autonomous execution.

입력$0.97/ 1M Tokens(970 크레딧)
출력$3.104/ 1M Tokens(3104 크레딧)
1
0.95

Press Enter to add, Backspace to remove

Chat 대화

Playground Chat

AI 모델과 대화를 시작하세요. 무엇이든 질문할 수 있습니다.

0

AI가 생성한 응답의 정확성은 다를 수 있습니다.

Zhipu GLM-5 • Thinking Chat

GLM-5Toggleable Deep Thinking with Tools

GLM-5 is Zhipu’s thinking-capable chat model with thinking.type enable/disable, clear_thinking history cleanup, up to 128 function tools, and streaming chat completions on an OpenAI-compatible surface.

thinking.type Toggle
clear_thinking Cleanup
Function Tools (≤128)
Streaming Default On
max_tokens ≤ 131072
ByteDance Seed Foundation Architecture
Commercial License & Enterprise SLA
GLM-5
Zhipu Tier
Toggle
Deep Thinking
GLM-5 Hero

At a Glance

GLM-5
Zhipu Tier
Thinking chat
Toggle
Deep Thinking
thinking.type
128
Max Tools
function only
Stream
Default On
SSE tokens
Capability Highlights

GLM-5 Thinking Stack

Deep reasoning when you need it — plain chat when you do not. One model, two cognitive gears.

Thinking toggle

Thinking Toggle

thinking.type switches between enabled and disabled so you can trade analytical depth for latency per request without swap models.

thinking.typeenabled / disabledPer Request
Clear thinking

Clear Thinking History

thinking.clear_thinking (default true) cleans historical reasoning_content so multi-turn context stays compact and free of stale intermediate traces.

clear_thinkingDefault TrueMulti-turn
Function Tools

Function Tools

Register up to 128 function tools with tool_choice auto for agent loops, structured actions, and grounded retrieval handoffs.

tools ≤ 128tool_choice: autoFunctions
Sampling & Stop

Sampling & Stop

Temperature [0,1] default 1, top_p [0.01,1] default 0.95, max_tokens up to 131072, and a single stop word for clean parser boundaries.

temperaturetop_pstop (1 word)
How It Works

How It Works

From request to reasoned answer in four moves.

01

Set Thinking

Enable or disable thinking.type based on task complexity and latency budget.

02

Attach Tools

Register function tools (up to 128) with tool_choice auto for agent loops.

03

Stream Tokens

stream defaults to true and returns text/event-stream for progressive paint.

04

Shape Output

Tune temperature (0–1, default 1), top_p (0.01–1, default 0.95), and one stop word.

GLM-5 Domains

Where thinking depth is a product dial, not a model swap.

Analytics

Complex Analysis

Thinking on for multi-hop technical reasoning.

Thinking On
Agents

Agent Workflows

Function tools with tool_choice auto.

Tools
CX

Fast Chat UX

Thinking off for lightweight conversational turns.

Thinking Off
Platform

Structured Output

Temperature 0–1 and single stop word for parsers.

Stop
Best Practices

Prompt Tips

Get better first-pass results from GLM-5.

Turn thinking on for hard tasks

Leave thinking enabled for proofs and multi-document work; disable it for simple labels and rewrites.

Keep stop to one token

GLM-5 currently accepts a single stop word — design parsers around that limit.

Request structured artifacts

Ask for JSON or numbered steps when you will parse output programmatically.

Developer Quickstart

GLM-5 Quickstart

Thinking chat with function tools.

curl -X POST "https://api.powertokens.ai/v1/chat/completions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5",
    "messages": [
      {"role": "user", "content": "Outline a careful multi-step plan to migrate a REST API to versioned endpoints."}
    ],
    "stream": true,
    "temperature": 0.7
  }'

Technical Specifications

Confirmed parameters and runtime execution protocols.

Provider & Model ID
Zhipu • glm-5
Thinking
thinking.type enabled / disabled (default enabled)
Clear Thinking
thinking.clear_thinking default true
Streaming
stream default true (text/event-stream)
Sampling
Temperature [0,1] default 1; top_p [0.01,1] default 0.95
Output Limits
max_tokens 1–131072
Stop
stop — single stop word only (maxItems 1)
Tools
tools up to 128 functions; tool_choice auto
Protocol
OpenAI-compatible chat completions
API Endpoint
POST /v1/chat/completions

가격 상세

이 모델의 실제 요금은 API 요청에서 전달된 특정 매개변수를 기반으로 동적으로 계산됩니다. 아래는 구체적인 조합과 해당 가격입니다:

Standard
입력 가격
$0.970(970 / 1M Tokens)
출력 가격
$3.104(3,104 / 1M Tokens)
암시적 캐시 적중
$0.194(194/ 1M Tokens)
명시적 캐시 적중
$0.194(194/ 1M Tokens)
캐시 생성
--
Same Channel

Models from the Same Channel

Explore complementary models and alternative versions from the same provider channel.

GLM-5.3
chatCommercial
GLM-5.3

GLM-5.3

glm-5.3

Zhipu AI's flagship text model optimized for complex software engineering and long-horizon Agent tasks. Features a 1M-token context window with mandatory reasoning (3 levels: low/high/max). Coding capability improved 50% over GLM-5.2 on Z.ai Code Bench; scores SOTA on Terminal Bench 3.0. Excels in cybersecurity tasks (cyber vulnerability discovery)

ChatText Generation
GLM-5.3 Flash
chatCommercial
GLM-5.3 Flash

GLM-5.3 Flash

glm-5.3-flash

Z.ai's native multimodal model (320B-A18B) with text, image, video, and file input. Features hybrid sparse + linear attention, reducing attention compute 3x and KV cache 4.4x vs. GLM-5.3. Scores 57 on Artificial Analysis Intelligence Index—matching Claude Opus 4.8—with 1M context and 128K max output. Excels in agentic coding, vision-based Computer Use, and CAD reproduction

ChatText Generation
GLM-5.2
chatCommercial
GLM-5.2

GLM-5.2

glm-5.2

Flagship text model purpose-built for long-horizon agentic workflows. Features a 1M context window supporting project-level engineering in a single session. Excels at autonomous coding: can complete development, testing, and multi-platform deployment from a single prompt. Top open-weight model per Artificial Analysis; #1 globally on Code Arena. MIT-licensed and Day-0 optimized for domestic AI chips

ChatText Generation
GLM-5 Turbo
chatCommercial
GLM-5 Turbo

GLM-5 Turbo

glm-5-turbo

GLM-5 Turbo is a new model from Z.ai designed for fast inference and strong performance in agent-driven environments such as OpenClaw scenarios. It is deeply optimized for real-world agent workflows involving long execution chains, with improved complex instruction decomposition, tool use, scheduled and persistent execution, and overall stability across extended tasks.

Chat
Ecosystem Models

Recommended Related Models

Explore complementary video and multimodal models with your unified API key.

Browse All Models
MiniMax-M3.1-Flash
chatCommercial
MiniMax-M3.1-Flash

MiniMax-M3.1-Flash

MiniMax-M3.1-Flash

Next-gen efficiency-focused multimodal model (428B MoE) for agentic workflows, coding, and computer use . Features a 1M-token context window and tunable thinking depth (low–max) . Scores 73.7% on DeepSWE v1.1, 61.7 on OSWorld V2, and 82% on CyberGym, while delivering 200+ TPS output speed at 70% lower agent-task cost than its predecessor

ChatText Generation
Qwen3.8 Flash
chatCommercial
Qwen3.8 Flash

Qwen3.8 Flash

qwen3.8-flash

Alibaba's cost-efficient multimodal reasoning model. Supports text, image, and video inputs with text output. Features a native 1M-token context window for long documents, codebases, and agentic workflows. Excels in coding assistance, desktop interaction, chart analysis, and long-video understanding. Compatible with OpenAI/Anthropic protocols for seamless integration

ChatText Generation
Qwen3 Max
chatCommercial
Qwen3 Max

Qwen3 Max

qwen3-max

Compared with the September 23, 2025 version, the newly upgraded Qwen-3 Max seamlessly integrates thinking and non-thinking modes, bringing an all-round obvious performance boost. Its thinking mode supports web search, web content extraction and code interpreter. It can conduct in-depth logical reasoning and call external tools to solve intricate problems more precisely

Chat
DeepSeek-V4.1-Flash
chatCommercial
DeepSeek-V4.1-Flash

DeepSeek-V4.1-Flash

deepseek-v4-1-flash-260910

Lightweight flagship of DeepSeek's new Causal Encoder-Decoder family. 552B-parameter MoE with asymmetric activation—8B for input, 16B for output—delivering flagship-level intelligence at significantly lower inference cost . Native multimodal vision understanding. 1M-token context window with 384K max output. KV cache compressed to 1/4 HBM and 1/8 SSD of previous generation . Outperforms V4-Pro on Terminal-Bench 2.1 (90.6), DeepSWE v1.1 (74.2), and CyberGym (88.1)

ChatText Generation

Frequently Asked Questions

Everything you need to know before integrating this model.

Set thinking.type to enabled or disabled. Default is enabled.

Start Building with GLM-5 Today

Create an account in seconds to receive free test credits. No upfront payment or long-term contract required.