Zhipu (GLM)
GLM 5P2
model
glm-5p2MidStableStreamingToolsBatchLong contextUnited States
Context
1.0M
Input / 1M tokens
$1.40
Output / 1M tokens
$4.40
About this model
GLM 5P2
GLM 5P2 is a mid-tier model available through the Anoman gateway. Detailed performance benchmarks and use-case guidance for this model are coming soon. In the meantime, see the code example below to integrate it into your workflow, and the tier + region information in the hero for pricing and residency.
Code example
Chat completion with GLM 5P2
from openai import OpenAI
client = OpenAI(
base_url="https://api.anoman.io/v1",
api_key="anm-sk-..."
)
response = client.chat.completions.create(
model="glm-5p2",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)