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

# GLM glm-5.1 API

Wariant modelu dostępny przez ujednolicone AI API RunAPI.

## Pricing

**$0.030** per 1K tokens

Nieudane generacje nie są rozliczane

## Spec sheet

| Field | Value |
|---|---|
| Model ID | `glm-5.1` |
| Provider | Z.ai |
| Modality | text |
| Task type | synchronous |
| Billing unit | 1K tokens |
| API endpoint | `/v1/chat/completions` |
| Status | active |

## Request example

```json
{
  "model": "glm-5.1",
  "messages": [
    {
      "role": "user",
      "content": "Read this multi-file repository, find the failing integration test, and propose a patch with an explanation of the root cause."
    }
  ]
}
```

## API endpoints

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

- `POST /v1/chat/completions`

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

## 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
