Model details

glm-4.6 API Model & Pricing

Call 智谱 GLM glm-4.6 via Infistar: inspect the exact model ID, declared endpoints (openai · anthropic), transparent CNY pricing, and ready-to-run examples.

Exact model IDglm-4.6

Endpoints and pricing

Model family

智谱 GLM

Compatible endpoint

openai · anthropic

Task type

text

Settlement

Settled by actual token usage

Lowest price (CNY)

Input ¥2.628 / Output ¥9.636 per 1M tokens, cache read ¥0.4818

Official reference price

Official: input ¥4.0088 / output ¥14.699

Estimated savings

Up to 34% below official reference (never above official pricing)

Quickstart API example

Call glm-4.6 via POST /v1/chat/completions using your Infistar API key:

curl https://infistar.ai/v1/chat/completions \
  -H "Authorization: Bearer $INFISTAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-4.6","messages":[{"role":"user","content":"Hello"}]}'
from openai import OpenAI

client = OpenAI(api_key="YOUR_INFISTAR_KEY", base_url="https://infistar.ai/v1")
res = client.chat.completions.create(model="glm-4.6", messages=[{"role": "user", "content": "Hello"}])
print(res.choices[0].message.content)

Before you use this model

Models and prices may change. Sign in to check available models and review current pricing before calling.

Related models and guides