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

# Z.ai

> Route Z.ai model requests through Toqan Router's AI Gateway. Set up your API key and access Z.ai language models with built-in caching and observability.

## Setup Your API Key

To use Z.ai with Toqan Router, follow these steps:

1. Navigate to **AI Gateway** > BYOK
2. Find **Z.ai** in the list
3. Click the **Configure** button next to Z.ai
4. In the modal that opens, select <kbd>Setup your own API Key</kbd>
5. Enter a name for this configuration (e.g., "Z.ai Production")
6. Paste your Z.ai API Key into the provided field
7. Click **Save** to complete the setup

Your Z.ai API key is now configured and ready to use with Toqan Router.


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