glm-5

ChatGLM · Chat

ConversationTool

NixAPI price, from

Input$0.845
Output$2.704

USD per 1M tokens · via group Self-Deployed-2 · Official list price $1 / $3.2Save 16%

Get your API key →

About glm-5

GLM-5 is Zhipu's next-generation flagship base model built for Agentic Engineering, delivering reliable productivity in complex systems engineering and long-horizon Agent tasks.

Price by routing group

Pick a group in the console when you create a key. Status is live from the router. Live status by group →

GroupGroup statusModel statusMultiplierInputOutput
Self-Deployed-2…×0.845$0.845$2.704
Self-Deployed-3…×1.2675$1.268$4.056

Per token · USD per 1M tokens

Long-context pricing

  • Prompts over 32,000 tokens: input ×1.5, output ×1.2

Supported endpoints

openai

Call glm-5 in one request

Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.

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

Full API reference →

Questions about glm-5

How much does glm-5 cost on NixAPI?

From $0.845 per 1M input tokens and $2.704 per 1M output tokens in the Self-Deployed-2 group, about 16% below the official list price. Prices are pay-as-you-go in USD with no monthly minimum.

How do I call glm-5?

Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "glm-5".

Which routing groups serve glm-5?

glm-5 is available in 2 routing groups: Self-Deployed-2, Self-Deployed-3. The lowest price is in Self-Deployed-2.

More from ChatGLM

Compare all ChatGLM models →