GLM 4.7 API

Zhipu GLM's chat model. Call it on 666 AI with the same API key as every other model. Pay as you go; prices follow the upstream in real time and this page updates hourly.

VendorZhipu GLM
Typechat
Price$0.4336 per 1M input tokens · $1.73 per 1M output tokens
Context window128K tokens
Live testPassed our live test in the last 7 days · 3 supply routes, automatic failover
Latency (short request)Median ~5s (5+ calls in the last 7 days)
Model ID (use this in your request)glm-4.7
Sign up free & get an API keyTry it in the chatSee all model prices

How to call GLM 4.7

The API is OpenAI-compatible. Replace YOUR-ENDPOINT with the endpoint shown on your API Key page after you sign up, and YOUR-KEY with your key.

curl https://YOUR-ENDPOINT/v1/chat/completions \
  -H "Authorization: Bearer YOUR-KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "glm-4.7", "messages": [{"role": "user", "content": "Hello"}]}'
from openai import OpenAI
client = OpenAI(base_url="https://YOUR-ENDPOINT/v1", api_key="YOUR-KEY")
r = client.chat.completions.create(
    model="glm-4.7",
    messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)

Similar models — price comparison

ModelPrice
Mimo V2.5 Pro$0.6213 per 1M input tokens · $1.24 per 1M output tokens
DeepSeek V4 Flash Vision Exp$0.3942 per 1M input tokens · $1.58 per 1M output tokens
DeepSeek V4.1 Flash 1017$0.405 per 1M input tokens · $1.62 per 1M output tokens
GLM 5.3$0.2417 per 1M input tokens · $1.89 per 1M output tokens
Qwen3.7 Plus$0.432 per 1M input tokens · $1.73 per 1M output tokens
GLM 4.6$0.4336 per 1M input tokens · $1.73 per 1M output tokens

More models from Zhipu GLM

ModelPrice
GLM 5.2$0.8276 per 1M input tokens · $2.6 per 1M output tokens
GLM 5.1$1.3 per 1M input tokens · $5.2 per 1M output tokens
GLM 5.3 Flash$0.1453 per 1M input tokens · $0.27 per 1M output tokens
GLM 5$0.8672 per 1M input tokens · $3.9 per 1M output tokens
GLM 5 Turbo$1.08 per 1M input tokens · $4.77 per 1M output tokens
GLM 5v Turbo$1.08 per 1M input tokens · $4.77 per 1M output tokens
GLM 4.5$0.81 per 1M input tokens · $2.97 per 1M output tokens
GLM Ocr$0.0135 per page

FAQ

How much does the GLM 4.7 API cost?

On 666 AI, GLM 4.7 costs $0.4336 per 1M input tokens · $1.73 per 1M output tokens. You pay only for what you use — no monthly fee. Prices follow the upstream in real time; this page updates every hour.

Can I use the official OpenAI SDK?

Yes. The API is OpenAI-compatible: in the OpenAI Python or Node.js SDK just change base_url and api_key, and set model to glm-4.7.

How do I pay?

Bank card (including Google Pay / Apple Pay), USDT / ETH, or bank wire. Top up once and usage is deducted as you go.