Skip to content
Rapid Router

GLM-5.1

Live·Z.aimodel·Served by DeepInfra

Strong GLM coding model for agentic engineering, terminals, and repository generation

ReasoningTools
Input / 1M
₹88.42
Output / 1M
₹393
Context
200K tokens
Max output
131K tokens
Input
Text
Released
6mo ago

Providers

Every request goes to the cheapest healthy route and fails over to the next.

Loading the routes…

Latency and throughput appear after the first hourly test request to each provider, or once this model has traffic here. Every request goes to the cheapest healthy route and fails over to the next.

Pricing

What a call costs through Rapid Router, at the route requests go to.

Input tokens₹88.42 per 1M
Output tokens₹393 per 1M
Provider list priceExactly what your balance is debited; our fee is charged when you buy credits

What it supports

  • Tool calling (function calling)
  • JSON mode and structured output
  • Image input (vision)
  • Audio input
  • Extended reasoning
  • Streaming responses
  • OpenAI SDK, Anthropic SDK and any OpenAI-compatible client

Price in rupees

What GLM-5.1 costs through Rapid Router, converted at today's billing rate (₹98.25 per $). Top up with UPI or a card; a GST invoice follows every recharge.

RupeesUS dollars
1M input tokens₹88.42$0.900
1M output tokens₹393$4.00
1K input tokens₹0.088$0.00090
1K output tokens₹0.393$0.00400
A typical exchange: 1,300 tokens in, 400 out₹0.272$0.00277

Make a request

The same request you send to OpenAI today, pointed at https://rapidrouter.ai/api/v1.

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

Frequently asked

What does GLM-5.1 cost in rupees?

Through Rapid Router, GLM-5.1 (z-ai/glm-5.1) costs ₹88.42 per million input tokens and ₹393 per million output tokens, billed in Indian rupees from a prepaid balance. In dollars these are the provider's list prices, exactly what your balance is debited; the rupee figures are converted at our billing rate, the market rate plus a 4% currency margin. Our platform fee is charged once, when you buy credits.

How do I call GLM-5.1 through an OpenAI-compatible API?

Point any OpenAI-compatible client at https://rapidrouter.ai/api/v1 with a Rapid Router API key and set the model to z-ai/glm-5.1. The chat completions endpoint is https://rapidrouter.ai/api/v1/chat/completions.

What is the context window of GLM-5.1?

GLM-5.1 has a context window of 200,000 tokens on Rapid Router, and returns up to 131,072 output tokens per reply.

What can GLM-5.1 do?

On Rapid Router, GLM-5.1 supports tool calling, JSON mode, extended reasoning.

Can I pay for GLM-5.1 in rupees with UPI?

Yes. Rapid Router bills in Indian rupees: top up with UPI or a card, get a GST invoice on every recharge, and GLM-5.1 is debited from that balance at the provider's list price per million tokens.

More GLM models

Compare and rank