
Z AI/GLM-4.5V
A frontier vision language model by Z AI
GLM 4.5V is a SOTA 106 billion parameter LLM with excellent vision and frontend coding capabilities. You can deploy GLM 4.5V on NVIDIA H100 GPUs with Baseten today.

Deployments of GLM-4.5V are OpenAI-compatible.
Input
from openai import OpenAI
import os
model_url = "" # Copy in from API pane in Baseten model dashboard
client = OpenAI(
api_key=os.environ['BASETEN_API_KEY'],
base_url=model_url
)
# Chat completion
response_chat = client.chat.completions.create(
model="zai-org/GLM-4.5V",
stream=True,
messages=[
{"role": "system", "content": "You are a helpful vision-language assistant."},
{"role": "user", "content": [{"url": "https://upload.wikimedia.org/wikipedia/commons/f/fa/Grayscale_8bits_palette_sample_image.png", "type": "image"},
{"text": "Describe this image in detail.", "type": "text"}
],
max_tokens=1024
temperature=0.7}
print(response_chat)Output
{
"id": "143",
"choices": [
{
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"message": {
"content": "[Model output here]",
"role": "assistant",
"audio": null,
"function_call": null,
"tool_calls": null
}
}
],
"created": 1741224586,
"model": "",
"object": "chat.completion",
"service_tier": null,
"system_fingerprint": null,
"usage": {
"completion_tokens": 145,
"prompt_tokens": 38,
"total_tokens": 183,
"completion_tokens_details": null,
"prompt_tokens_details": null
}
}