Skip to content
Register

Glm 5 API

Use Glm 5 by Zhipu through one OpenAI-compatible API for 76% below the list price. Each request goes to the cheapest live seller offer for this exact model and is charged per token from a prepaid balance, with no subscription.

glm-5

Glm 5 at today's best offer

$233 instead of $1,000

What $1,000 of output tokens at the list price costs on Kyvalt.

Per 1M tokensKyvaltList price
Input$0.233$1.00
Output$0.744$3.20

76% off Prices follow live seller offers, so they can change between requests. Set a minimum discount on your key to never pay more than you planned.

Call Glm 5

Keep the OpenAI SDK you already use and change the base URL and the key. Anthropic-style /v1/messages calls work too.

python
from openai import OpenAI

client = OpenAI(
    api_key="kv-...",
    base_url="https://api.kyvalt.com/v1",
)

reply = client.chat.completions.create(
    model="glm-5",
    messages=[{"role": "user", "content": "Hello"}],
)
curl
curl https://api.kyvalt.com/v1/chat/completions \
  -H "Authorization: Bearer $KYVALT_API_KEY" \
  -H "X-Min-Discount: 30" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
ModelDiscountInput per 1MOutput per 1M
Glm 5.2 77% off $0.319 $1.003
Glm 5.3 77% off $0.312 $0.98
Glm 4.7 76% off $0.14 $0.514
Glm 5.3 Flash 75% off $0.036 $0.12
Glm 4.6 70% off $0.18 $0.659
Glm 5.1 70% off $0.416 $1.306

See every model and price