glm-4.7-flash
5折glm-4.7-flashPricing details
CNY / 1M TokensInput
Input
¥0.42
Output
Output
¥2.80
Cache Write
Cache write
¥0.42
Cache Read
Cache read
¥0.07
Currently enjoying a 5折 discount, saving 50% on cost.
Quickstart
Endpoint URL
POST https://www.dxnt.com/v1/chat/completionscURL
curl https://www.dxnt.com/v1/chat/completions \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4.7-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python (OpenAI SDK)
import openai
client = openai.OpenAI(
api_key="sk-your-key",
base_url="https://www.dxnt.com/v1"
)
response = client.chat.completions.create(
model="glm-4.7-flash",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)Model info
Model identifier
glm-4.7-flashBilling methodBilled per token
Input price¥0.42 / 1M
Output price¥2.80 / 1M
Cache read¥0.07 / 1M
Cache creation¥0.42 / 1M
Start using glm-4.7-flash
Sign up for free quota — just swap the endpoint URL to integrate.