Haimaker.ai Logo
Z Ai logo

Glm 4.6

z-ai/glm-4.6
Chat
Z Ai|
Function CallingReasoning
Context Window
203K
tokens
Max Output
131K
tokens
Input Price
$0.40
/1M tokens
Output Price
$1.75
/1M tokens

Overview

Zhipu AI's GLM (General Language Model) with reasoning and function calling capabilities.

Features & Capabilities

Modechat
Context Window203K tokens
Max Output131K tokens
Function CallingSupported
Vision-
ReasoningSupported
Web Search-
Url Context-

API Usage

from openai import OpenAI

client = OpenAI(
    base_url="https://api.haimaker.ai/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="z-ai/glm-4.6",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

print(response.choices[0].message.content)

Use Glm 4.6 with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Z Ai