All models
GLM

GLM-4.7 FlashX

z-ai/glm-4.7-flashx

A high-speed, low-cost GLM-4.7 variant with the same 200K context and thinking modes, tuned for high-throughput agentic and coding workloads.

Pricing

Input$0.07per 1M tokens
Output$0.4per 1M tokens
Cached input$0.01per 1M tokens read from cache

Specifications

Context window200Ktokens
Max output66Ktokens
ProviderGLM
CapabilitiesReasoning · Function calling
Input typestext

Use GLM-4.7 FlashX

Point your existing OpenAI SDK at xKiro and pass z-ai/glm-4.7-flashx as the model. Nothing else in your code changes.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.xkiro.com/v1",
    api_key="YOUR_XKIRO_KEY",
)

response = client.chat.completions.create(
    model="z-ai/glm-4.7-flashx",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Supported parameters

max_tokens · temperature · top_p · stop · frequency_penalty · presence_penalty · seed · stream · tools · tool_choice · response_format · structured_outputs · reasoning · include_reasoning

Related models

Call GLM-4.7 FlashX through the same endpoints you already use.

Get an API key