> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# GLM API - Access Zhipu AI glm-5 to glm-5.3 via AIsa

> Current AIsa guide to Zhipu GLM model access, including the exact lowercase model IDs glm-5, glm-5.1, glm-5.2, glm-5.3, glm-5.3-flash, and glm-5v-turbo, context windows, endpoints, and capabilities.

AIsa gives you OpenAI-compatible access to Zhipu AI's GLM family. The current AIsa catalog exposes the exact model IDs `glm-5`, `glm-5.1`, `glm-5.2`, `glm-5.3`, `glm-5.3-flash`, and `glm-5v-turbo`; use lowercase in API calls.

All three accept `POST /v1/chat/completions`, Anthropic-compatible `POST /v1/messages`, and `POST /v1/responses`.

## Supported GLM models

| Model ID | Context | Capabilities | Best for |
| - | -: | - | - |
| `glm-5.2` | — | Text | GLM 5.2 revision |
| `glm-5.1` | — | Text | Mid-tier GLM 5 revision |
| `glm-5` | 128,000 | Coding, Text | Chinese-language reasoning, bilingual documents, coding |
| `glm-5.3` | — | Text | Newest GLM 5 revision |
| `glm-5.3-flash` | — | Text | Faster GLM 5.3 route |
| `glm-5v-turbo` | — | Text | GLM 5V turbo route |

Current prices for these models are on [aisa.one/models](https://aisa.one/models).

Context windows and capability tags for `glm-5.1` and newer GLM routes are not published in the current gateway metadata — check [aisa.one/models](https://aisa.one/models) for their live limits.

## Quickstart

```python theme={null}
from openai import OpenAI

client = OpenAI(api_key="YOUR_AISA_API_KEY", base_url="https://api.aisa.one/v1")

response = client.chat.completions.create(
    model="glm-5",
    messages=[{"role": "user", "content": "Analyze the competitive dynamics of China's cloud computing market."}]
)
print(response.choices[0].message.content)
```

## Use a GLM route when you need

* Chinese-language reasoning and long-form analysis
* Chinese-English bilingual document processing
* Coding help in Chinese development contexts
* A model family distinct from Alibaba, ByteDance, MiniMax, and Moonshot

## Data privacy

GLM requests through AIsa are covered by AIsa's enterprise agreement with Zhipu AI. Customer data is not used for model training. For compliance requirements, [contact us](mailto:developer@aisa.one).

## Next

* [All Chinese AI models](/docs/guides/chinese-llms)
* [MiniMax models](/docs/guides/chinese-llms/minimax)
* [All supported AIsa models](/docs/guides/models)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.