← Catalog

pi-moonshot

Pi extension adding Moonshot AI provider with Kimi K2.6, K2.5 and other models

Extension

Install

Install with PiG

pig install npm:pi-moonshot

Install with Pi

pi install npm:pi-moonshot
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./extensions/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 1.0.6 (README.md). PiG does not review it.

pi-moonshot

Pi extension adding Moonshot AI provider support, including the Kimi K2.6 and K2.5 model families.

Installation

pi install npm:pi-moonshot

Or try without installing:

pi -e npm:pi-moonshot

Setup

Set your Moonshot API key:

export MOONSHOT_API_KEY="your-api-key"

Or add to your ~/.pi/agent/settings.json:

{
  "apiKeys": {
    "MOONSHOT_API_KEY": "your-api-key"
  }
}

Models

ModelDescriptionContextReasoning
kimi-k2.6Latest flagship model with vision256KYes
kimi-k2.5Flagship model with vision262KYes
kimi-latestLatest stable version131KNo
kimi-k2-turbo-previewFast inference model262KNo
kimi-k2-thinkingReasoning model262KYes
moonshot-v1-8kLegacy 8K context8KNo
moonshot-v1-32kLegacy 32K context32KNo
moonshot-v1-128kLegacy 128K context128KNo

Usage

After installation, select a Moonshot model:

pi /model moonshot/kimi-k2.5

Or start pi directly with a Moonshot model:

pi --provider moonshot --model kimi-k2.5

License

MIT