GLM 5.1 API

Z.ai's newer GLM model for agentic workflows, complex reasoning, and long-context instruction following.

Provider: Zhipu AI | Model ID: glm-5-1 | Context Window: 203K tokens

Token Pricing

₹160/1M input · ₹530/1M output. Pay-as-you-go micro-metered token billing. UPI and cards accepted with zero minimum commitment.

Token TypePrice (INR)
Input Tokens₹160/1M tokens
Output Tokens₹530/1M tokens
Prompt Caching Input₹30/1M tokens

OpenAI-Compatible Integration

Directly drop into existing OpenAI SDK code by updating the base URL to https://api.luminoai.co.in/v1.

curl https://api.luminoai.co.in/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LUMINO_API_KEY" \
  -d '{
    "model": "glm-5-1",
    "messages": [
      {"role": "system", "content": "You are a helpful assistant."},
      {"role": "user", "content": "Explain KV cache in 2 sentences."}
    ]
  }'

Model Specifications

Model Identifierglm-5-1
ProviderZhipu AI
Categoryagentic
Context Window203K tokens
API ProtocolOpenAI-compatible REST API (JSON)
Endpointhttps://api.luminoai.co.in/v1/chat/completions

Explore all models in catalog | API Documentation | Test GLM 5.1 in Playground