enroute

zhipu

Zhipu: GLM-5.2

zhipu/glm-5.2

Routed through the enroute gateway at the upstream list price. Last Labs does not add a markup.

Input / 1M

$1.40 / 1M

Output / 1M

$4.40 / 1M

Context

1M

Status

Available

Providers

Default is the first live US host. Pin a lab host with provider.only.

HostRegionInput / 1MOutput / 1MRoute
fireworksus$1.40 / 1M$4.40 / 1MDefault
basetenus$1.40 / 1M$4.40 / 1MUnconfigured
zhipucn$1.40 / 1M$4.40 / 1MUnconfigured

Modalities

text->text

Input
text
Output
text

Parameters

  • temperature
  • top_p
  • max_tokens
  • tools
  • stop

Use this model

from enroute import Enroute, Message

client = Enroute(
    api_key="enroute_...",  # ENROUTE_API_KEY
    base_url="http://enroute.localhost:3000/v1",
)
response = client.chat(
    model="zhipu/glm-5.2",
    messages=[Message(role="user", content="Hello from Last Labs")],
)
print(response.text)