Overview
About this model
GLM-5.1 is a large language model served on EcoHash for chat, reasoning, and text generation through an OpenAI-compatible API.
Specifications
Model details
- Provider
- Zhipu AI
- Modality
- Language
- Pricing
- $1.00 in · $4.00 out / 1M
API
Call it in code
One OpenAI-compatible API. Swap the model id and you're done.
from openai import OpenAI
client = OpenAI(
base_url="https://api.ecohash.com/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="GLM-5.1",
messages=[{"role": "user", "content": "Hello!"}],
stream=True,
)More models