Get a Kimi (Moonshot) API Key

Get a Kimi (Moonshot) API Key

“Kimi API”, “Moonshot API”, and “Moonshot AI” refer to the same service. In WriteX, pick Kimi.

Overview

  1. Open the Kimi open platform
  2. Sign in with phone OTP
  3. Complete personal verification (often unlocks trial credit)
  4. Create an API key
  5. Paste it into WriteX

You need a mainland China phone number that can receive SMS. The chat site is not where keys are created.

Step 1: Open the open platform

Visit platform.kimi.com (or platform.moonshot.ai) and click Log in.

Kimi open platform homepage

Step 2: Phone login

If WeChat QR is the default, switch to Phone quick login.

Phone quick login

Step 3: Enter your phone number

Use the default +86 country code unless you need another.

Enter phone number

Step 4: Accept the agreements

Check I have read and agree to the service and privacy agreements. Unregistered numbers usually auto-register on first login.

Agreements checked

Step 5: Complete the captcha

After Send code, finish the slider puzzle.

Captcha

Step 6: Enter the SMS code

Paste the 6-digit code and click Log in. Codes often expire in about two minutes.

Enter SMS code

Step 7: Open user center

Click User center in the top nav. If balance is 0, verify next to unlock trial credit (amounts vary by page).

Account overview

Step 8: Personal verification

Open Organization verificationPersonal verification → confirm.

Verification page

Confirm personal verification

Verification done

Step 9: Create an API key

API Key managementCreate API Key. Name it WriteX, pick project default, confirm.

API Key page

Fill API Key dialog

Step 10: Save the key immediately

API Key created

The full sk-… string is shown once. Copy it to a password manager.

Paste into WriteX

FieldTypical value
Base URLhttps://api.moonshot.ai/v1 (some docs use .cn; follow the console)
API Keyyour sk-…
Modele.g. kimi-k2.5

WriteX → Settings → Model / ProviderKimi → paste key → Test & save.