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

# Zhipu AI

> Use Zhipu AI models in your BoostGPT AI teammates

## Overview

Zhipu's GLM models are strong multilingual generalists with a 200K context window, well suited to long documents and agentic tool use.

## Available Models

> [card] GLM-5.3
>
> **6 credits** • Zhipu's flagship for complex software engineering and long-horizon agent work, with a 1M-token context window.
>
> * 1M context window
> * Exceptional reasoning (reasoning model)
> * Speed: Medium • Cost: Low
> * Model id: `glm-5.3`

> [card] GLM-5.3 Flash
>
> **1 credit** • The fast, low-cost GLM-5.3 tier, keeping the 1M-token context window.
>
> * 1M context window
> * Excellent reasoning (reasoning model)
> * Speed: Fast • Cost: Low
> * Model id: `glm-5.3-flash`

> [card] GLM-5.2
>
> **6 credits** • The previous GLM flagship, with a 1M-token context window and strong long-horizon performance.
>
> * 1M context window
> * Exceptional reasoning (reasoning model)
> * Speed: Medium • Cost: Low
> * Model id: `glm-5.2`

> [card] GLM-4.6
>
> **3 credits** • Zhipu's capable general-purpose GLM model with a 200K context window and strong agentic performance.
>
> * 200K context window
> * Excellent reasoning
> * Speed: Medium • Cost: Low
> * Model id: `glm-4.6`

> [card] GLM-4.7
>
> **3 credits** • Newer GLM-4 generation model with adaptive reasoning for complex agentic and coding tasks.
>
> * 200K context window
> * Excellent reasoning (reasoning model)
> * Speed: Medium • Cost: Low
> * Model id: `glm-4.7`

> [card] GLM-4.7 Flash
>
> **0 credits** • The fast, free GLM-4.7 tier, optimized for low latency and high-volume tasks.
>
> * 200K context window
> * Good reasoning
> * Speed: Very\_fast • Cost: Very\_low
> * Model id: `glm-4.7-flash`

> [card] GLM-5.1
>
> **6 credits** • Zhipu's frontier GLM-5 model, a large MoE for the most demanding reasoning and agentic work.
>
> * 200K context window
> * Exceptional reasoning (reasoning model)
> * Speed: Medium • Cost: Low
> * Model id: `glm-5.1`

> [card] GLM-4.6V
>
> **2 credits** • Multimodal GLM model that reasons over both images and text.
>
> * 128K context window
> * Excellent reasoning
> * Speed: Medium • Cost: Low
> * Vision: images supported
> * Model id: `glm-4.6v`

## Setup

### Using BoostGPT-Hosted API Keys

**1. Select a model**

In your BoostGPT dashboard, choose any Zhipu AI model when creating or configuring an AI teammate.

**2. Start chatting**

Credits are deducted per step at the rate shown on each model above. Nothing else to configure.

### Using Your Own API Key

Bring your own key to bill Zhipu AI directly instead of spending BoostGPT credits. See
[Bring Your Own Keys](/docs/providers/bring-your-own-keys.md).

```javascript theme={null}
await client.chat({
  bot_id: 'bot-id',
  message: 'Hello',
  model: 'glm-5.3',
  provider_key: process.env.ZHIPU_API_KEY
});
```

## Next Steps

> [card] [Model Comparison](/docs/providers/model-comparison.md)
>
> Compare every model across all providers

> [card] [Provider Overview](/docs/providers/overview.md)
>
> See all supported providers


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