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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# 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, and their endpoints.

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.

The table lists the endpoints each model accepts.

## Supported GLM models

| Model ID | Type | Endpoints | Best for |
| - | - | - | - |
| `glm-5` | Text | `/v1/chat/completions`, `/v1/responses` | Chinese-language reasoning, bilingual documents, coding |
| `glm-5.1` | Text | `/v1/chat/completions`, `/v1/responses` | Mid-tier GLM 5 revision |
| `glm-5.2` | Text | `/v1/chat/completions`, `/v1/responses` | GLM 5.2 revision |
| `glm-5.3` | Text | `/v1/chat/completions`, `/v1/messages`, `/v1/responses` | Newest GLM 5 revision |
| `glm-5.3-flash` | Text | `/v1/chat/completions`, `/v1/messages`, `/v1/responses` | Faster GLM 5.3 route |
| `glm-5v-turbo` | Text | `/v1/chat/completions`, `/v1/messages`, `/v1/responses` | GLM 5V turbo route |

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

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

* [Model Catalog](https://aisa.one/docs/guides/models.md)
* [MiniMax models](https://aisa.one/docs/models/minimax.md)


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