GLM-4.6V

Zhipu AIMCP Tool CallReasoning
zhipuai/glm-4.6vOpen Weights

GLM vision model for visual reasoning, documents, and multimodal agents

Benchmark Pricing$0.15 / 1M in$0.45 / 1M out$0.03 cache read
Context: 128,000 tokens•Max Output: 32,768 tokens•Knowledge: 2025-04•Released: 2025-12-08

TECHNICAL SPECIFICATIONS

Context Window128,000128K tokens
Max Output32,76832.8K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
TextVisionVideo
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ GLM-4.6V natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 128,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling GLM-4.6V via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.ZHIPUAI_API_KEY,
});

const response = await client.chat.completions.create({
  model: "zhipuai/glm-4.6v",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

15 providers
Zhipu AIglm-4.6v
$0.15 / $0.45$0.03 cache
NanoGPTz-ai/glm-4.6v
$0.30 / $0.90$0.15 cache
Novita AIzai-org/glm-4.6v
$0.30 / $0.90$0.06 cache
302.AIglm-4.6v
$0.14 / $0.43
LLM Gatewaynovita/glm-4.6v
$0.30 / $0.90$0.06 cache
Tempr Gatewayzai/glm-4.6v-flash
$0.00 / $0.00$0.00 cache
AI/ML APIz-ai/glm-4.6v
$0.41 / $1.24$0.08 cache
AIHubMixglm-4.6v
$0.14 / $0.41$0.03 cache
Eden AIzai/glm-4.6v
$0.30 / $0.90$0.05 cache
Z.AIglm-4.6v-flash
$0.00 / $0.00$0.00 cache
Kilo Gatewayz-ai/glm-4.6v
$0.30 / $0.90$0.06 cache
ZenMuxz-ai/glm-4.6v-flash
$0.02 / $0.22$0.00 cache
DevPass (LLM Gateway)glm-4.6v
$0.30 / $0.90$0.05 cache
Zhipu AI Coding Planglm-4.6v
$0.00 / $0.00$0.00 cache
OpenRouterz-ai/glm-4.6v
$0.30 / $0.90$0.06 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.03 / 1M tokens, saving up to 80% on repetitive MCP tool definitions and system instructions.