---
title: "GLM glm-4.7 API | RunAPI"
url: "https://runapi.ai/es/models/glm/4.7.md"
canonical: "https://runapi.ai/es/models/glm/4.7.md"
locale: "es"
model: "GLM"
provider: "Z.ai"
variant_id: "glm-4.7"
sdk_model_id: "glm-4.7"
modality: "text"
price_from_cents: 2
billing_unit: "1K tokens"
status: "active"
---

# GLM glm-4.7 API

Variante de modelo disponible mediante la API de IA unificada de RunAPI.

## Pricing

**$0.020** per 1K tokens

Las generaciones fallidas no se cobran

## Spec sheet

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

## Request example

```json
{
  "model": "glm-4.7",
  "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-4.7"`.

## FAQ

### ¿Cómo selecciono %{variant}?

Pasa el ID de modelo que aparece en el quickstart.

### ¿El precio es por uso?

Sí. El precio se mide por llamada o unidad.


## Related

Other GLM variants:

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