# Moonshot AI (BYOK)

> Create an API key for Moonshot AI and add it to AnyRouter.


# Moonshot AI — Bring Your Own Key

Route requests through your own Moonshot AI account ([BYOK](/features/byok)); no platform credits are charged. You need a API key string.

## Get your API key

1. Log in to the [Moonshot AI Platform](https://platform.moonshot.cn/).
2. Open **API Keys**.
3. Create a key and copy it.

## Add it to AnyRouter

1. Open **[Dashboard → BYOK](https://anyrouter.dev/dashboard/byok)**, find **Moonshot AI** under **Available** and click **Add key**.
2. Paste the key.
3. Click **Save**. AnyRouter validates the key against Moonshot AI first; on failure the dialog shows the upstream error and nothing is saved.

- Create key: [Moonshot AI console](https://platform.moonshot.ai/console/api-keys)
- Default base URL (editable on the key form): `https://api.moonshot.ai/v1`



## Related

- [BYOK Provider Setup Guide](/docs/features/byok-providers.md)
- [Bring Your Own Key (BYOK)](/docs/features/byok.md)
