Skip to content

Model detail

GLM-4V

Provided by GLM
Pay-as-you-go

A GLM vision-language model for interpreting images and answering questions about visual content in text.

Model specs

Model ID
glm-4v
Context length
2K
Max output
–
I/O modalities
Released
2025-04

02

API endpoints

One MixRoute gateway, OpenAI-compatible

  • OpenAI-compatible /v1/chat/completions POST

03

Pricing

Flat rate, unit: /1M Tokens

Input

$7.1429 /1M Tokens

Completion

$7.1429 /1M Tokens

05

Selection summary

Quickly judge whether it fits your workload

What is this model good for?

A GLM vision-language model for interpreting images

A GLM vision-language model for interpreting images and answering questions about visual content in text.

What should you check before using it?

2,000 context tokens

Model type: text. Verify supported features and quotas with the provider documentation.

Why use it through MixRoute?

GLM-4V takes text and images on one route

Text and image inputs share the same route and the same key. MixRoute serves GLM-4V on the OpenAI-compatible endpoint /v1/chat/completions; point your existing client at https://api.mixroute.ai/v1 with the model ID glm-4v and re-run your integration tests.

07

Capabilities & compatibility

Unconfirmed capabilities stay "Unknown," no guesses

Available:

Streaming

GLM-4V supports streamed responses.

EX stream: true streams tokens incrementally, so chat UIs render as they arrive.
Available:

Vision input

GLM-4V can process image inputs alongside text.

EX Pass a base64-encoded image in a image_url content part alongside text messages.
Available:

OpenAI SDK

Call GLM-4V through MixRoute's OpenAI-compatible endpoint.

EX Change base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.

08

Token cost estimator

Live estimate from this page's pricing, not an actual bill

This model has no cache-read price; caching is not counted

09

FAQ

The current GLM-4V listing publishes no cache-read rate, so cached-prefix billing is not part of its pricing. Treat repeated prefixes as fresh input when you size the workload, and confirm with the provider before designing for a cache saving.

One endpoint, a testable decision

Test this model and alternate routes with the same request format

Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.