glm-4.6v
Z.AI logo

GLM 4.6 Vision

glm-4.6v
Z.AI
Zhipu's latest visual reasoning model achieves state-of-the-art visual understanding accuracy at the same scale upon release. It natively supports tool invocation, can automatically complete tasks, supports ultra-long 128K context length, and allows flexible toggling of reasoning.

Pricing

TierPricingCache Read
Input<=32K
$0.137$0.411
$0.0274/M tokens
32K<Input<=128K
$0.274$0.822
$0.0548/M tokens

Input Modalities

  • Text
  • Vision
  • Video

Output Modalities

  • Text

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="glm-4.6v",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

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

Frequently asked questions

What is glm-4.6v?

Zhipu's latest visual reasoning model achieves state-of-the-art visual understanding accuracy at the same scale upon release. It natively supports tool invocation, can automatically complete tasks, supports ultra-long 128K context length, and allows flexible toggling of reasoning.