# Z.ai GLM 5.3 Flash

Z.ai GLM 5.3 Flash is available in the Business API catalog.

- Model ID: `z-ai/glm-5.3-flash`
- Provider: Z.ai
- Modality: text → text
- Type: null
- Status: stable
- Delivery: sync
- Output format: json

## Authentication

Send your API key in the `X-API-Key` header.

The same key reads the org balance at `GET https://api.dev.pika.art/billing/balance`, which is free to call and confirms the request can be paid for before you submit it.

## Endpoint

```
POST https://api.dev.pika.art/v1/chat/completions
```

## Request

```json
{
  "model": "z-ai/glm-5.3-flash",
  "messages": [
    {
      "role": "user",
      "content": "Hello, who are you?"
    }
  ]
}
```

## Response

```json
{
  "id": "chatcmpl-...",
  "object": "chat.completion",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "I'm an AI assistant."
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 12,
    "completion_tokens": 24,
    "total_tokens": 36
  }
}
```

