GLM-5.1 represents a major advance in coding ability, with especially notable improvements in tackling long-horizon tasks. Unlike earlier models designed for interactions lasting only minutes, GLM-5.1 can operate independently and continuously on a single task for over 8 hours, autonomously planning, executing, and refining its work throughout the process, ultimately producing complete, engineering-grade results.
$0.449market price $0.899
$0.045market price $0.09
$1.41market price $2.82
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.1 represents a major advance in coding ability, with especially notable improvements in tackling long-horizon tasks.
On NagaAI, GLM 5.1 costs $0.449 per 1M input tokens and $1.41 per 1M output tokens. You pay only for what you use, with no subscription.
GLM 5.1 reads up to 202.8k tokens in one request, counting the prompt and the answer together.
Yes. GLM 5.1 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.