HomeModels › GLM-5.2

GLM-5.2 API

Zhipu's flagship — the strongest Chinese-language understanding of the major labs, with native vision input. Served at $0.40/$1.20, roughly 65% below official pricing.

SpecificationValue
Input / output price$0.40 / $1.20 per 1M tokens
Cached input$0.04 per 1M tokens (1/10 of input)
Context window200K tokens
Max output16,384 tokens
StrengthsChinese-language, vision, multimodal
Official GLM-5.2 pricing is ¥8 input / ¥28 output (≈$1.13 / $3.94) per Tencent Cloud billing docs, August 2026. Bridge prices are flat — see the GLM API guide.

Why developers pick it

Code example

from openai import OpenAI

client = OpenAI(base_url="https://bridge.computeindex.net/v1", api_key="sk-bridge-YOUR_KEY")

completion = client.chat.completions.create(
    model="glm-5.2",
    messages=[{
        "role": "user",
        "content": [
            {"type": "text", "text": "What does this screenshot show?"},
            {"type": "image_url", "image_url": {"url": "https://example.com/shot.png"}},
        ],
    }],
)
print(completion.choices[0].message.content)

FAQ

Is this the same GLM-5.2 as Zhipu's official? Yes — the same model, served through the Bridge OpenAI-compatible gateway.

Does Bridge support image input? Yes, via the OpenAI image_url message format, identical to OpenAI's API.

Get $1 free credit → try GLM-5.2

Related