Z.ai · Instant
GLM 4.7 Flash
z-ai/glm-4.7-flash
As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency.
Input Price / 1M Tokens
$0.0968
Output Price / 1M Tokens
$0.64
Context Window
131K
ToolsReasoning
Python Example — z-ai/glm-4.7-flash
from openai import OpenAI
client = OpenAI(
base_url="https://relaystack-ai.vercel.app/v1",
api_key="sk-rs-your-key-here",
)
response = client.chat.completions.create(
model="z-ai/glm-4.7-flash",
messages=[{"role": "user", "content": "Hello from RelayStack!"}],
)
print(response.choices[0].message.content)