Back to all models

智谱

glm-4.7

Vendor

智谱

Category

Large Language Model API

Pricing

Input price / 1M tokens

$2.10

Output price / 1M tokens

$9.80

Supported endpoints

openai

Quick start

OpenAI-compatible — just change base_url to treeRouter to use this model:

curl https://treerouter.com/v1/chat/completions \
  -H "Authorization: Bearer $TREEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-4.7",
    "messages": [{"role": "user", "content": "Hello"}]
  }'