GLM 4.6v
zai-org/glm-4.6v

Zhipu 最新的视觉推理模型,在同等规模下视觉理解准确率达到了 SOTA 水平,原生支持工具调用,能够自动完成任务,支持 128K 超长上下文,并允许灵活开启或关闭思考功能。

Model price

Input /Mt Output /Mt
Uncached
¥1/Mt¥3/Mt

Sample Code

Copy
1base_url="https://api.ppio.com/openai"
2api_key="<YOUR_API_KEY>"
3
4curl "$base_url/v1/chat/completions" \
5  -H "Content-Type: application/json" \
6  -H "Authorization: Bearer $api_key" \
7  -d @- << 'EOF'
8{
9    "model": "zai-org/glm-4.6v",
10    "messages": [
11        
12        {
13            "role": "user",
14            "content": "Hi there!"
15        }
16    ],
17    "response_format": { "type": "text" }
18}
19EOF
20  

Model Information

Context window:

131.1K

Maximum output tokens:

32.8K

Modality:

Input:
TextImageVideo
Output:
Text

Supported features

Function CallingSupported
Structured OutputSupported
reasoningSupported

API Integration Guide

Base URL:

https://api.ppio.com/openai

Messages protocol Base URL:

https://api.ppio.com/anthropic

API Endpoints:

/v1/chat/completions

Model ID:

zai-org/glm-4.6v

Usage tierRPMTPM
T1550000000
T210050000000
T330050000000
T4100050000000
T5300050000000
With more cost-effective products and services
Help you unleash boundless innovation and lead the new era of intelligence
Inquire now