# Zhipu: glm-5-2-260617

- Model ID: `glm-5-2-260617`
- Provider: Zhipu
- Web version: https://www.moleapi.com/en/models/zhipu/glm-5-2-260617
- Content status: catalog

## Model introduction

GLM-5.2. Accepts text and generates text. Context window: 1,048,576 tokens. Supports reasoning. Supports tool calling.

## Model capabilities

- OpenAI compatible
- Responses API
- Prompt cache

### Verified specifications

- Catalog status: Currently available on MoleAPI
- Compatible protocols: openai, openai-response
- Available billing groups: Standard

## Model pricing and access

Pricing is supplied dynamically by the MoleAPI console API.

### Standard (default, x1)

| Tier | Condition | Input | Output | Cache read |
| --- | --- | ---: | ---: | ---: |
| standard | - | $1.1765 | $4.1176 | $0.2941 |

### Access protocols

| Protocol | Method | Endpoint |
| --- | --- | --- |
| openai | POST | /v1/chat/completions |
| openai-response | POST | /v1/responses |

- Live pricing source: https://home.moleapi.com/api/pricing

## About glm-5-2-260617

GLM-5.2. Accepts text and generates text. Context window: 1,048,576 tokens. Supports reasoning. Supports tool calling.

### Sources

- [MoleAPI console pricing catalog](https://home.moleapi.com/api/pricing) — MoleAPI

## Code examples

### cURL

```bash
curl https://api.moleapi.com/v1/responses \
  -H "Authorization: Bearer $MOLEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-5-2-260617","input":"Explain this problem step by step."}'
```

### Python

```python
from openai import OpenAI

client = OpenAI(base_url="https://api.moleapi.com/v1", api_key="YOUR_MOLEAPI_API_KEY")
response = client.responses.create(model="glm-5-2-260617", input="Explain this problem step by step.")
print(response.output_text)
```

### TypeScript

```typescript
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.moleapi.com/v1", apiKey: process.env.MOLEAPI_API_KEY });
const response = await client.responses.create({ model: "glm-5-2-260617", input: "Explain this problem step by step." });
console.log(response.output_text);
```

## More related models

- [glm-5.2](https://www.moleapi.com/en/models/zhipu/glm-5.2) — Zhipu
- [glm-5.1](https://www.moleapi.com/en/models/zhipu/glm-5.1) — Zhipu
- [glm-5](https://www.moleapi.com/en/models/zhipu/glm-5) — Zhipu

## Frequently asked questions

### How is glm-5-2-260617 priced?

Prices are read from the MoleAPI console API and update with model prices, context tiers, and account groups.

### How can I access glm-5-2-260617?

The catalog currently lists openai, openai-response.

### How do I switch an existing project to glm-5-2-260617?

Keep the MoleAPI API address and key, replace the model parameter, and check protocol-specific parameters.

### Where do the glm-5-2-260617 details come from?

Only confirmed availability, pricing, and protocol details from the MoleAPI catalog are included.
