GLM 4.6V API

GLM 4.6V on AIMLAPI.

Modalities
Image, TextText
In / Out price
$0.3174/$0.9522per 1M
Context window
128K tokens
Released
Dec 8, 2025

GLM 4.6V overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by GLM 4.6V through AI/ML API

GLM 4.6V specs

Model ID
z-ai/glm-4.6v
Developer
Zhipu AI
Context window
131,072 tokens
Max output
32,768 tokens
Input
Image, Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.

Agentic and multi-step workflows
Reliable tool-calling and instruction-following suit agent loops that plan, call tools, and iterate.

Complex reasoning
Extended reasoning improves reliability on multi-step math, logic, and technical analysis.

Long-document analysis
Summarize and extract from contracts, papers, and reports without aggressive chunking.

Use cases

GLM-4.6V is documented as suitable for reading and summarizing long documents, scans, and entire slide decks. It is also suited to identifying and interpreting chart and dashboard screenshots.

The model is documented for frontend and design workflows, including generating or modifying frontend code based on UI screenshots. It is also suited to visual search and multimodal agent tasks that combine images with web retrieval or tools like browser, code execution, and retrieval to complete complex tasks.

Capabilities

  • Function calling
  • Reasoning
  • Streaming
  • Structured outputs
  • Web search

GLM 4.6V benchmarks by Artificial Analysis

See how GLM 4.6V compares in generation speed and latency. Data retrieved Nov 3, 2026.

Speed

Output tokens / second

Benchmark results

Compare 13 models available on AI/ML API across 5 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

GLM 4.6V API pricing

GLM 4.6V pricing in US dollars
UsagePriceUnit
Input$0.31741M tokens
Output$0.95221M tokens
Cached input$0.05821M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

GLM 4.6V vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
GLM 4.6V$0.3174$0.9522
GLM-5.3-Flash$0.15$0.5
GLM 5.3 FlashX$0.37$1.25
GLM-5.3$1.4$4.4
GLM 5.2 Fast Preview$3.5$11

How to use the GLM 4.6V API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "z-ai/glm-4.6v",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

GLM 4.6V FAQ

What is the context window of GLM 4.6V?

GLM 4.6V has a 131,072 tokens context window and can return up to 32,768 tokens.

What inputs and outputs does GLM 4.6V support?

GLM 4.6V takes image, text as input and returns text.

What is the model ID for GLM 4.6V?

Use z-ai/glm-4.6v as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

How much does GLM 4.6V cost?

GLM 4.6V costs $0.3174 input and $0.9522 output per 1M tokens on AI/ML API, billed as you go with no subscription.

Does GLM 4.6V support streaming?

Yes, GLM 4.6V can stream responses as they are generated.

Can GLM 4.6V read images?

Yes, GLM 4.6V accepts image input alongside text.

Who created GLM 4.6V?

GLM 4.6V was built by Zhipu AI.

Does GLM 4.6V support function calling and tool use?

Yes. It supports function calling, tool use, and parallel tool calls.

Start building with GLM 4.6V

GLM 4.6V API

z-ai/glm-4.6v

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "z-ai/glm-4.6v",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'