# Z.ai: GLM 4.7 Flash

> Z.ai: GLM 4.7 Flash on Clonvo: 131K context, $0.0605 input and $0.40 output per 1M tokens.

GLM-4.7-Flash is a fast and efficient multilingual text generation model with a 131,072 token context window. Optimized for dialogue, instruction-following, and multi-turn tool calling across 100+ languages.

-   Model id: `z-ai/glm-4.7-flash`
-   Provider: Cloudflare
-   Released: Jan 19, 2026
-   Context: 131K tokens
-   Max output: not published

## Pricing

The provider’s list price in USD. Requests on credits are charged exactly this; each response reports its cost in usage.cost.

| Charge | Price | Unit |
| --- | --- | --- |
| Input (prompt) | $0.0605 | per 1M tokens |
| Output (completion) | $0.40 | per 1M tokens |

## Capabilities

-   Tools
-   Reasoning

### Supported parameters

Upstream parameters this model honours. Others may be ignored.

-   `temperature`
-   `top_p`
-   `max_tokens`
-   `stop`
-   `presence_penalty`
-   `frequency_penalty`
-   `tools`
-   `tool_choice`
-   `response_format`

## Quick start

Use the OpenAI SDK with Clonvo’s base URL and this model id.

```python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.clonvo.com/v1",
    api_key=os.environ["CLONVO_API_KEY"],
)

completion = client.chat.completions.create(
    model="z-ai/glm-4.7-flash",
    messages=[{"role": "user", "content": "Summarise the plot of Hamlet in one sentence."}],
)
print(completion.choices[0].message.content)
```

## Data policy

Requests to this model are sent to Cloudflare, whose API terms govern how they handle your data: [Cloudflare data policy](https://www.cloudflare.com/privacypolicy/). Clonvo doesn’t store prompts or responses unless your organization turns on retention.
