> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gengen.farm/llms.txt
> Use this file to discover all available pages before exploring further.

# GLM 5.2

> GLM 5.2 text generation model for chat completions with high reasoning-token support.

GLM 5.2 text generation model for chat completions with high reasoning-token support.

## Model ID

```text theme={"dark"}
glm-5-2-260617
```

Pass this exact public ID in the top-level `model` field. Do not substitute an upstream provider alias.

## Supported modes

* `chat_completions`
* `text_generation`

## Inputs

* `Text`

## Outputs

* `Text`

## Capabilities

* `Chat completions`
* `Text generation`

### Additional capabilities

* `Online inference`
* `Streaming output`
* `Context caching`

## Technical details

| Property             | Value                             |
| -------------------- | --------------------------------- |
| Provider             | `byteplus-modelark`               |
| Modality             | `reasoning`                       |
| Processing           | `Synchronous response`            |
| Endpoint             | `/api/gengen/v1/chat/completions` |
| Rate limit           | `0.5K`                            |
| Context window       | `1024K`                           |
| Max input tokens     | `1024K`                           |
| Max output tokens    | `128K`                            |
| Max reasoning tokens | `128K`                            |
| Token rate limit     | `1000K`                           |

<Note>
  Availability and final customer prices can change. Check the [Dashboard model catalog](https://gengen.farm/dashboard?section=models) before production use.
</Note>

See the [API reference overview](/api-reference/introduction) for authentication, request conventions, and response schemas.
