GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With advanced agentic planning, deep backend reasoning, and iterative self-correction, GLM-5 moves beyond code generation to full-system construction and autonomous execution.
$0.30market price $0.60
$0.06market price $0.12
$0.96market price $1.92
Throughput is how fast the model writes (tokens per second, higher is better). Time to first token is how long before the answer starts (lower is better).
Share of requests served without a server error. Client errors (4xx) do not count.
Works with the OpenAI SDK pointed at our base URL. Every parameter is in the API reference.
Tokens processed per day on NagaAI.
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models.
On NagaAI, GLM 5 costs $0.30 per 1M input tokens and $0.96 per 1M output tokens. You pay only for what you use, with no subscription.
GLM 5 reads up to 202.8k tokens in one request, counting the prompt and the answer together.
Yes. GLM 5 can call your functions as tools and can answer in a JSON schema you give it.
It takes text as input and returns text.
Create an API key, copy the model ID from the top of this page and send requests with the OpenAI or Anthropic SDK pointed at NagaAI. The API section on this page has a ready example.