# Moonshot (Kimi)

Source: https://everywhere.sylinko.com/en/docs/model-provider/moonshot

This tutorial will guide you step-by-step on how to get an API key for [Moonshot (Kimi)](https://moonshot.kimi.ai).

**Site**

In the preset mode, Everywhere will connect to the China mainland site of Moonshot (Kimi). You need to visit [platform.moonshot.cn](https://platform.moonshot.cn) to get an API key.

If you need to access the global site, please switch to advanced mode and fill in:

* URL: `https://api.moonshot.ai/v1`
* API Schema: OpenAI (Chat Completions)

**Billing**

Please note that subscribing to paid plans such as Kimi Moderato or Allegretto is billed separately from the API service. You may still need to pay separately for API usage.

## Steps

* Go to the [Moonshot Open Platform](https://platform.moonshot.cn/playground) and register & log in to your account.
* After logging in, click the icon in the top-left corner to bring up the sidebar.

![Playground page](https://everywhere.sylinko.com/model-provider/moonshot/playground.webp)

* Access the **API Key** page from the sidebar on the left.

![Entering the API Key page](https://everywhere.sylinko.com/model-provider/moonshot/playground-api-key.webp)

* Click the **创建 API Key** button in the top-right corner of the page. A dialog box will pop up:
* Enter a name for your API key in the top input field to help you remember its purpose.
* Below, select the project for the API key. For new accounts, this is usually `default`.

![Creating an API Key](https://everywhere.sylinko.com/model-provider/moonshot/create-api-key.webp)

* Click the **确定** button, and your API key will be displayed. Copy this key.

![Generating an API Key](https://everywhere.sylinko.com/model-provider/moonshot/generate-api-key.webp)

Please be sure to save your API key properly, as it will only be displayed once. If you accidentally close the dialog box, you can generate a new key on the API keys page and delete the old key that you forgot to save.

**Privacy**

Please note that the API key is sensitive information. Do not disclose it to anyone or share it in public.
