Mid (est.)

Glm 5 2

Glm 5 2. Compare provider offers, token prices, and published task evidence below.

← All models

Choose a provider

1 connected provider

Choose one API ID. Code examples, Playground and Routes use your selection.

Provider and API ID

Google Vertex AI

Connected

Model ID
glm-5.2
Live· Last check:

About this model

Glm 5 2. Compare provider offers, token prices, and published task evidence below.

Input price
$1.40/ 1M tokens
Neurometric
Output price
$4.40/ 1M tokens
Neurometric
Context window
—tokens
Context unlisted
Architecture
Mid (est.)
Mid (est.) tier

Quick Start & OpenAI-compatible SDK usage

Call this model directly with any OpenAI-compatible SDK. Set base_url to the URL below and pass your API key. Sign up for an API key →

# pip install openai
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.taskrouter.com/v1",
    api_key=os.environ["TASKROUTER_API_KEY"],
)

reply = client.chat.completions.create(
    model="glm-5.2",
    messages=[{"role": "user", "content": "Hello! How can you help me today?"}],
)
print(reply.choices[0].message.content)
Base URL: https://api.taskrouter.com/v1Header: Authorization: Bearer $TASKROUTER_API_KEY