All providers
Pay-per-token
glm/GLM Coding (Z.ai)
GLM-5.1 / GLM-4.7 Coding Plan — $0.6 per 1M tokens.
open.bigmodel.cnQuick setup
Open the kRouter dashboard at http://localhost:20128
Go to Providers → click GLM Coding (Z.ai)
Paste your API key, click Save
Test the connection
Use in your IDE
Point any OpenAI-compatible client at kRouter using your local API key.
ide configbash
# Endpoint
http://localhost:20128/v1
# API key (from Dashboard → API Keys)
sk-krouter-XXXX
# Model
glm/glm-5.1