large language
GLM 5
Frontier open LLM with advanced coding, agentic, and reasoning capabilities by Z AI
Model details
Example usage
GLM 5 is a frontier-level large language model with exceptional scores across benchmarks rivaling the latest GPT and Claude models. With a new architecture featuring DSA for efficient long-context inference, GLM 5 is a leading open model for all coding and agentic use cases.
✕
GLM 5 narrows the gap vs the smartest frontier closed modelsInput
1# GLM 5 Model API coming soon!JSON output
1{
2 "id": "143",
3 "choices": [
4 {
5 "finish_reason": "stop",
6 "index": 0,
7 "logprobs": null,
8 "message": {
9 "content": "[Model output here]",
10 "role": "assistant",
11 "audio": null,
12 "function_call": null,
13 "tool_calls": null
14 }
15 }
16 ],
17 "created": 1741224586,
18 "model": "",
19 "object": "chat.completion",
20 "service_tier": null,
21 "system_fingerprint": null,
22 "usage": {
23 "completion_tokens": 145,
24 "prompt_tokens": 38,
25 "total_tokens": 183,
26 "completion_tokens_details": null,
27 "prompt_tokens_details": null
28 }
29}