---
title: Z.ai: GLM 5 Turbo API | Text Generation | ModelsLab
description: Build with Z.ai: GLM 5 Turbo API by Z Ai. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/z-ai/z-ai-glm-5-turbo.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/z-ai/z-ai-glm-5-turbo.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-13T09:46:22.421878Z
---

Z.ai: GLM 5 Turbo
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/z-ai-glm-5-turbo/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/z-ai/z-ai-glm-5-turbo.md)

z-ai-glm-5-turbo z-ai Closed Source Model $2.600000 / call

Z.ai: GLM 5 Turbo
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Z.ai: GLM 5 Turbo

z-ai z-ai-glm-5-turbo

Copy model ID

PricingInput $1.20 / 1M tokens

Output $4.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[MM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/morph-morph-v3-large)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Morph: Morph V3 Large

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/morph-morph-v3-large)

[GG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-3.1-pro-preview)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Google: Gemini 3.1 Pro Preview

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-3.1-pro-preview)

[MM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/MiniMaxAI-MiniMax-M1-80k)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Minimax M1 80K

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/MiniMaxAI-MiniMax-M1-80k)

[XG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-4.1-fast)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [xAI: Grok 4.1 Fast

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-4.1-fast)

[![GPT OSS 120b](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/32ccebf4-aaac-46b2-af6a-b19d11fcf8fa.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-oss-120b)[Open Ai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai)

 [GPT OSS 120b

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-oss-120b)

[T2](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/scb10x/scb10x-scb10x-llama3-1-typhoon2-70b-instruct)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/scb10x)

 [Typhoon 2 70B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/scb10x/scb10x-scb10x-llama3-1-typhoon2-70b-instruct)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5.2-codex)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: GPT-5.2-Codex

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5.2-codex)

[DR](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-R1)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [DeepSeek R1-0528

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-R1)

[Q3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3.5-35B-A3B)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3.5 35B A3b

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3.5-35B-A3B)

[PS](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/perplexity-sonar-pro)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Perplexity: Sonar Pro

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/perplexity-sonar-pro)

[KK](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/moonshotai-Kimi-K2.6)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Kimi K2.6 Fp4

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/moonshotai-Kimi-K2.6)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5.3-codex)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: GPT-5.3-Codex

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5.3-codex)

[DR](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/deepseek)

 [DeepSeek R1 Distill Qwen 1.5B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B)

[L3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/meta-llama-Llama-3.1-405B)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Llama 3.1 405B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/meta-llama-Llama-3.1-405B)

[N3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.2-11b-vision-instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [nim/meta/llama-3.2-11b-vision-instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.2-11b-vision-instruct)

[IG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/ibm-granite-granite-4.0-h-micro)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [IBM: Granite 4.0 Micro

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/ibm-granite-granite-4.0-h-micro)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-235b-a22b-2507)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 235B A22B Instruct 2507

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-235b-a22b-2507)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5-image-mini)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: GPT-5 Image Mini

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5-image-mini)

About Z.Ai: 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...

### Technical Specifications

Model IDz-ai-glm-5-turboCategoryLLM ModelsTaskText GenerationPrice$2.600000 per million tokensAddedMarch 16, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Z.Ai: GLM 5 Turbo into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "z-ai-glm-5-turbo",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/z-ai/z-ai-glm-5-turbo/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Z.Ai: GLM 5 Turbo API costs $2.600000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about Z.Ai: GLM 5 Turbo](https://modelslab-frontend-v2-927501783998.us-east4.run.app/zai-glm-5-turbo) [Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Z Ai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Z.Ai: GLM 5 Turbo FAQ
---

### What is Z.Ai: 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...

### How do I use the Z.Ai: GLM 5 Turbo API?

You can integrate Z.Ai: GLM 5 Turbo into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "z-ai-glm-5-turbo" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Z.Ai: GLM 5 Turbo cost?

Z.Ai: GLM 5 Turbo costs $2.600000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Z.Ai: GLM 5 Turbo model ID?

The model ID for Z.Ai: GLM 5 Turbo is "z-ai-glm-5-turbo". Use this ID in your API requests to specify this model.

### Does Z.Ai: GLM 5 Turbo have a free tier?

Yes, ModelsLab offers a free tier that lets you try Z.Ai: GLM 5 Turbo and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-05-13*