providers
Kimi (Moonshot)
Moonshot's Kimi models — kimi-k2 is one of the strongest tool-calling open models in existence. This is its official home.
| endpoint | https://api.moonshot.ai/v1 |
| env var | MOONSHOT_API_KEY |
| get a key | platform.moonshot.ai |
Get an API key
- Sign up at platform.moonshot.ai (Google login is easiest)
- Open Console → API Keys
- Click 'Create API Key', name it, pick a project
- Copy the key now — it's shown only once
- Export as MOONSHOT_API_KEY (base URL api.moonshot.ai/v1)
Recharge $1 to activate; $5 cumulative recharge grants a $5 bonus.
Enable
export MOONSHOT_API_KEY=... # shell profile — survives foreveror in the terminal — validates the key live before saving:
/enable moonshotor pick any locked 🔒 Kimi (Moonshot) model in /models and paste the key inline.
Models
Starter menu (once enabled, /models fetches the provider's full live list):
kimi-latestkimi-k2-0905-previewmoonshot-v1-128kmoonshot-v1-32k
Switch anytime — /model kimi-latest fuzzy-matches; context carries over.
SDK
from mantis_agent import MantisAgentOptions
options = MantisAgentOptions(
model="kimi-latest",
backend="https://api.moonshot.ai/v1", # key read from $MOONSHOT_API_KEY
)Notes
- kimi-k2 is a top pick for agentic/tool-heavy work.
kimi-latesttracks their newest snapshot.