Skip to main content

Using Moonshot With Zoo Code

Zoo Code supports accessing models through the Moonshot AI API, which provides an OpenAI-compatible interface.

Website: https://platform.moonshot.cn/


Getting an API Key​

  1. Sign Up/Sign In: Go to the Moonshot Platform. Create an account or sign in.
  2. Navigate to API Keys: Find your API keys in the API keys section of the platform.
  3. Create a Key: Create a new API key. Give your key a descriptive name (e.g., "Zoo Code").
  4. Copy the Key: Important: Copy the API key immediately. You will not be able to see it again. Store it securely.

Available Models​

Zoo Code supports all models available through the Moonshot API.

For the complete, up-to-date model list, see Moonshot's API documentation.


Configuration in Zoo Code​

  1. Open Zoo Code Settings: Click the gear icon () in the Zoo Code panel.
  2. Select Provider: Choose "Moonshot" from the "API Provider" dropdown.
  3. Enter API Key: Paste your Moonshot API key into the "Moonshot API Key" field.
  4. Select Model: Choose your desired model from the "Model" dropdown.

Tips and Notes​

  • OpenAI-Compatible: Moonshot uses an OpenAI-compatible API format, making it easy to integrate with Zoo Code.
  • Pricing: Refer to the Moonshot platform for details on model costs and pricing.