Docs
βš™οΈ Configuration
librechat.yaml
Custom AI Endpoints
Moonshot

Moonshot

Moonshot API key: platform.moonshot.cn

Notes:

  • Known: icon provided.
  • Important: For models with reasoning/thinking capabilities (e.g., kimi-k2.5, kimi-k2-thinking), the endpoint name must be set to "Moonshot" (case-insensitive) for interleaved reasoning to work correctly with tool calls. Using a different name will result in errors like thinking is enabled but reasoning_content is missing in assistant tool call message. See Moonshot’s documentation for more details.
librechat.yaml
    - name: "Moonshot"
      apiKey: "${MOONSHOT_API_KEY}"
      baseURL: "https://api.moonshot.ai/v1"
      models:
        default: ["kimi-k2.5"]
        fetch: true
      titleConvo: true
      titleModel: "current_model"
      modelDisplayLabel: "Moonshot"