glm-4.7
NixAPI price, from
USD per 1M tokens · via group Alibaba-1 · Official list price $0.7 / $3.267Save 16%
About glm-4.7
GLM-4.7 is Zhipu (GLM)'s latest flagship model. Targeting Agentic Coding scenarios, it strengthens coding capabilities, long-horizon task planning, and tool coordination, achieving leading performance among open-source models on multiple current public benchmarks. General capabilities are improved, with more concise and natural responses and more immersive writing.
Price by routing group
Pick a group in the console when you create a key. Status is live from the router. Live status by group →
| Group | Group status | Model status | Multiplier | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|---|---|
Alibaba-1 | … | ×0.845 | $0.5915 | $2.76 | $0.3549 | — | |
Alibaba-2 | … | ×1.2675 | $0.8872 | $4.141 | $0.5323 | — | |
Alibaba-3 | … | ×1.859 | $1.301 | $6.073 | $0.7808 | — |
USD per 1M tokens
Long-context pricing
- Prompts over 32,000 tokens: input ×1.3334, output ×1.143
- Prompts over 32,000 tokens: input ×2, output ×2
Supported endpoints
Call glm-4.7 in one request
Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.
curl https://api.nixapi.com/v1/chat/completions \
-H "Authorization: Bearer $NIXAPI_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://api.nixapi.com/v1", api_key="sk-…")
resp = client.chat.completions.create(
model="glm-4.7",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.nixapi.com/v1', apiKey: process.env.NIXAPI_KEY });
const resp = await client.chat.completions.create({
model: "glm-4.7",
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(resp.choices[0].message.content);Questions about glm-4.7
How much does glm-4.7 cost on NixAPI?
From $0.5915 per 1M input tokens and $2.76 per 1M output tokens in the Alibaba-1 group, about 16% below the official list price. Prices are pay-as-you-go in USD with no monthly minimum.
How do I call glm-4.7?
Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "glm-4.7".
Which routing groups serve glm-4.7?
glm-4.7 is available in 3 routing groups: Alibaba-1, Alibaba-2, Alibaba-3. The lowest price is in Alibaba-1.