GLM 5V Turbo API

GLM 5V Turbo on AIMLAPI.

Modalities
Image, TextText
In / Out price
$1.2/$4per 1M
Context window
198K tokens
Released
Apr 1, 2026

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

GLM 5V Turbo specs

Model ID
z-ai/glm-5v-turbo
Developer
Zhipu AI
Context window
202,752 tokens
Max output
131,072 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

Design-to-code generation from mockups, wireframes, or screenshots is a documented use case: the model can understand layout, color palette, component hierarchy, and interaction logic, then generate a runnable frontend project.

Frontend debugging from screenshots is also documented: it can identify rendering issues such as layout misalignment, component overlap, and color mismatches, then help generate fix code.

Autonomous website exploration and agent workflow support are documented use cases: it can browse target websites, map page transitions, collect visual assets and interaction details, and generate code from the exploration results.

GUI and computer-use agent tasks are documented as well: it can understand webpage layouts, GUI elements, and chart information to help an agent handle complex real-world tasks involving perception, planning, and execution.

Capabilities

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

GLM 5V Turbo benchmarks by Artificial Analysis

See how GLM 5V Turbo scores on independent evaluations. Data retrieved Nov 3, 2026.

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 5V Turbo API pricing

GLM 5V Turbo pricing in US dollars
UsagePriceUnit
Input$1.21M tokens
Output$41M tokens
Cached input$0.241M tokens

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

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

Related articles

All posts

GLM 5V Turbo FAQ

What is the context window of GLM 5V Turbo?

GLM 5V Turbo has a 202,752 tokens context window and can return up to 131,072 tokens.

What inputs and outputs does GLM 5V Turbo support?

GLM 5V Turbo takes image, text as input and returns text.

What is the model ID for GLM 5V Turbo?

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

How much does GLM 5V Turbo cost?

GLM 5V Turbo costs $1.2 input and $4 output per 1M tokens on AI/ML API, billed as you go with no subscription.

Does GLM 5V Turbo support streaming?

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

Can GLM 5V Turbo read images?

Yes, GLM 5V Turbo accepts image input alongside text.

Who created GLM 5V Turbo?

GLM 5V Turbo was built by Zhipu AI.

Can GLM 5V Turbo call external functions or tools?

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

How do I access GLM 5V Turbo through an API?

Send requests to https://api.aimlapi.com/v1/chat/completions using the model id z-ai/glm-5v-turbo.

Start building with GLM 5V Turbo

GLM 5V Turbo API

z-ai/glm-5v-turbo

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