Haimaker.ai Logo
Z Ai logo

Glm 4.7

z-ai/glm-4.7
Chat
Z Ai|
Function CallingVisionReasoning
Context Window
203K
tokens
Max Output
64K
tokens
Input Price
$0.40
/1M tokens
Output Price
$1.50
/1M tokens

Overview

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

Features & Capabilities

Modechat
Context Window203K tokens
Max Output64K tokens
Function CallingSupported
VisionSupported
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.7",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

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

Use Glm 4.7 with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Z Ai