GLM 4.5V API

GLM 4.5V on AIMLAPI.

Modalities
Image, TextText
In / Out price
$0.6348/$1.9per 1M
Context window
64K tokens
Released
Aug 11, 2025

GLM 4.5V 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.5V through AI/ML API

GLM 4.5V specs

Model ID
z-ai/glm-4.5v
Developer
Zhipu AI
Context window
65,536 tokens
Max output
16,384 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.5V is documented as suited to webpage coding, where it can analyze webpage screenshots or screen recordings, understand layout and interaction logic, and generate usable webpage code.

It is also documented for grounding tasks, including precisely identifying and locating target objects for practical uses such as security checks, quality inspections, content reviews, and remote sensing monitoring.

Another documented use case is GUI agent work, where it can recognize and process screen images and support actions like clicking and sliding for operational tasks.

It is further documented for complex long document interpretation, including summarization, translation, chart extraction, and producing insights from lengthy documents.

Capabilities

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

GLM 4.5V benchmarks by Artificial Analysis

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

Speed

Output tokens / second

Benchmark results

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

Humanity's Last Exam

Expert-written questions across academic subjects.

GLM 4.5V API pricing

GLM 4.5V pricing in US dollars
UsagePriceUnit
Input$0.63481M tokens
Output$1.91M tokens
Cached input$0.11641M tokens

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

GLM 4.5V 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.5V$0.6348$1.9
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.5V 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.5v",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

GLM 4.5V FAQ

What is the context window of GLM 4.5V?

GLM 4.5V has a 65,536 tokens context window and can return up to 16,384 tokens.

What inputs and outputs does GLM 4.5V support?

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

What is the model ID for GLM 4.5V?

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

How much does GLM 4.5V cost?

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

Does GLM 4.5V support streaming?

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

Can GLM 4.5V read images?

Yes, GLM 4.5V accepts image input alongside text.

Who created GLM 4.5V?

GLM 4.5V was built by Zhipu AI.

Start building with GLM 4.5V

GLM 4.5V API

z-ai/glm-4.5v

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.5v",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'