---
title: "glm-5.2 API — cennik i specyfikacja GLM"
url: "https://runapi.ai/pl/models/glm/5.2.md"
canonical: "https://runapi.ai/pl/models/glm/5.2.md"
locale: "pl"
model: "GLM"
provider: "Z.ai"
variant_id: "glm-5.2"
sdk_model_id: "glm-5.2"
modality: "text"
price_from_cents: 3
billing_unit: "1K tokens"
status: "active"
---

# GLM glm-5.2 API

Korzystaj z glm-5.2 z rodziny GLM przez RunAPI. Cennik za wywołanie, bez subskrypcji — nieudane generacje nie są rozliczane.

## Pricing

**$0.030** per 1K tokens

Nieudane generacje nie są rozliczane

## Spec sheet

| Field | Value |
|---|---|
| Model ID | `glm-5.2` |
| Provider | Z.ai |
| Modality | text |
| Task type | synchronous |
| Billing unit | 1K tokens |
| API endpoint | `/v1/chat/completions` |
|  | `/v1/responses` |
|  | `/v1/messages` |
|  | `/v1beta/models/glm-5.2:generateContent` |
|  | `/v1beta/models/glm-5.2:streamGenerateContent` |
| Status | active |

## Request example

```json
{
  "model": "glm-5.2",
  "messages": [
    {
      "role": "user",
      "content": "Przeczytaj to repozytorium z wielu plików, znajdź padający test integracyjny i zaproponuj poprawkę wraz z wyjaśnieniem przyczyny."
    }
  ]
}
```

## API endpoints

Base URL: `https://runapi.ai`

- `POST /v1/chat/completions`
- `POST /v1/responses`
- `POST /v1/messages`
- `POST /v1beta/models/glm-5.2:generateContent`
- `POST /v1beta/models/glm-5.2:streamGenerateContent`

Use the OpenAI or Anthropic SDK with your RunAPI API key and `model: "glm-5.2"`.

## FAQ

### Czy identyfikator modelu jest stały między wersjami?

RunAPI utrzymuje stały identyfikator modelu i obsługuje zgodne odświeżenia wersji bez zmiany kształtu żądania.

### Jaki jest limit rate limit dla tej warianty?

Limity na klucz skalują się wraz z poziomem wykorzystania. Aktualne limity znajdziesz na stronie cennika.

### Czy mogę później zmienić wariant?

Tak — wariant to flaga. Zmieniasz go, aktualizując parametr model.

### Czy obsługuje streaming?

Tam, gdzie streaming jest dostępny, RunAPI streamuje end-to-end.

### Gdzie zgłaszać problemy z jakością?

Otwórz issue w publicznym repo na GitHubie albo napisz do supportu.


## Related

Other GLM variants:

- [glm-4.5](https://runapi.ai/pl/models/glm/4.5.md) — `4.5` · $0.020
- [glm-4.5-air](https://runapi.ai/pl/models/glm/4.5-air.md) — `4.5-air` · $0.010
- [glm-4.6](https://runapi.ai/pl/models/glm/4.6.md) — `4.6` · $0.020
- [glm-4.7](https://runapi.ai/pl/models/glm/4.7.md) — `4.7` · $0.020
- [glm-5](https://runapi.ai/pl/models/glm/5.md) — `5` · $0.020
- [glm-5-turbo](https://runapi.ai/pl/models/glm/5-turbo.md) — `5-turbo` · $0.020
- [glm-5.1](https://runapi.ai/pl/models/glm/5.1.md) — `5.1` · $0.030
