Skip to content
All models
Z.aiAvailable

GLM 5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows.

Try in ewpirez-ai/glm-5

Opens in the ewpire workspace. Creating an account is free; runs are paid from your credits.

GLM 5 in plain words

GLM 5 is a text model from Z.ai. It takes text as input and returns text. Its context window is 204,800 tokens. It costs 1.241177 credits per 1M input tokens and 3.971765 credits per 1M output tokens.

It is good at reasoning through multi-step problems and calling tools. It does not read images. It runs at medium speed among the models in the catalog. A context window of 204,800 tokens holds about 820,000 characters of English text, at 4 characters a token.

For example, a question of 2,000 tokens (about 8,000 characters) with an answer of 1,000 tokens (about 4,000 characters) costs 0.006455 credits. The exact charge follows the usage the model reports for your request.

Details

Made by
Z.ai
Good at
ReasoningTool use
Reads
Text
Produces
Text
Context window
204,800 tokens
Speed
Medium speed

Price

Input, per 1M tokens
1.241177 credits
Output, per 1M tokens
3.971765 credits

Charged per request from your credit balance. No subscription. See pricing

Use it through the API

Call it with the OpenAI SDK or plain HTTP: set the base URL to ewpire and pass this model id. Read the docs

curl https://ewpire.com/api/v1/chat/completions \
  -H "Authorization: Bearer $EWPIRE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"z-ai/glm-5","messages":[{"role":"user","content":"Hello!"}]}'

The docs show how to list the models the API serves, with their capabilities and prices. Models in the docs

Similar models