Providers
kimi
Moonshot AI Kimi — long-context, OpenAI-compatible.
import { kimi } from '@agentskit/adapters'
const adapter = kimi({
apiKey: process.env.KIMI_API_KEY!,
model: 'moonshot-v1-128k',
})#Options
| Option | Type | Default |
|---|---|---|
apiKey | string | required |
model | string | required |
baseUrl | string | https://api.moonshot.cn/v1 |
fetch | typeof fetch | global |
#Model examples
moonshot-v1-8k · moonshot-v1-32k · moonshot-v1-128k · kimi-k2-0905.
#Env
| Var | Purpose |
|---|---|
KIMI_API_KEY | API key |
#Notes
- Popular in APAC. OpenAI-compatible surface.
- 128k-context variants for long-doc workflows.
#Related
Explore nearby
- PeerProviders
25 native chat and embedder adapters, plus higher-order adapters that compose candidates. Separate from the 140-provider models catalog.
- PeerChoosing an adapter
Capability decision table and rules of thumb for picking a chat adapter.
- PeerHosted chat adapters
17 managed-LLM adapters. Same contract; swap by changing one import.