---
title: "GLM glm-5.1 API | RunAPI"
url: "https://runapi.ai/de/models/glm/5.1.md"
canonical: "https://runapi.ai/de/models/glm/5.1.md"
locale: "de"
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

Eine Modellvariante über RunAPIs einheitliche KI-API.

## Pricing

**$0.030** per 1K tokens

Fehlgeschlagene Generierungen werden nicht berechnet

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

### Wie wähle ich %{variant} aus?

Übergib die im Quickstart angezeigte Modell-ID.

### Sind die Preise nutzungsbasiert?

Ja. Preise werden pro Aufruf oder Einheit gemessen.


## Related

Other GLM variants:

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