GLM-5.1 API pricing

Call glm-5.1 through RouterPlex's OpenAI-compatible API — vendor list price, 0% markup, billed per token from a prepaid balance. No subscription required.

Input / 1M tokens
$1.40
Output / 1M tokens
$4.40
Context window
256K
Provider
Zhipu

Use it in one request.

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

Works with any OpenAI SDK or tool — just change the base URL. See the quickstart.

Common questions.

How much does the GLM-5.1 API cost?

Through RouterPlex, GLM-5.1 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens — the vendor list price with 0% markup, billed per token from a prepaid balance you top up from $5.

What is the context window of GLM-5.1?

GLM-5.1 supports a 256K token context window on RouterPlex.

Can I use GLM-5.1 with the OpenAI SDK?

Yes. RouterPlex serves GLM-5.1 through an OpenAI-compatible endpoint at https://api.routerplex.com/v1 — point any OpenAI SDK or tool at that base URL with your RouterPlex key and set model to "glm-5.1".

Try GLM-5.1 in minutes.

Top up from $5, or see all model pricing and plans.

Get my API key
GLM-5.1 API Pricing · RouterPlex