LiteRouter Docs
← All models

glm-5-stable

Chat Derestricted Tool calling Streaming Codex
Cost×80
Minimum planUltimate
Uptime (7d)90%
Latency1674 ms
Throughput83.6 tps
Latency your local time

Use this model

Base URL https://api.literouter.com/v1
Model glm-5-stable:64k-context
API key your LiteRouter API key

Using SillyTavern, Janitor AI, or Chub? See the setup guides.

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

Add the provider to ~/.codex/config.toml, export your key, then run codex. Full steps: Codex CLI.

toml
# ~/.codex/config.toml
model = "glm-5-stable:64k-context"
model_provider = "literouter"

[model_providers.literouter]
base_url = "https://api.literouter.com/v1"
env_key = "LITEROUTER_API_KEY"
wire_api = "responses"
bash
export LITEROUTER_API_KEY="your_literouter_api_key"