Authorization: Bearer. See the Moonshot API docs for provider-specific parameters.
Supports both managed (Lava’s API keys) and unmanaged (bring your own credentials) mode.
Quick Start
Chat Completions
Target URL:https://api.moonshot.ai/v1/chat/completions
| Content Type | application/json |
| Streaming | Yes (set stream: true in request body) |
| Model | Input / 1M tokens | Output / 1M tokens |
|---|---|---|
| moonshot-v1-128k | $2.00 | $5.00 |
| moonshot-v1-128k-vision-preview | $2.00 | $5.00 |
| kimi-k2-turbo-preview | $1.15 | $8.00 |
| kimi-k2-thinking-turbo | $1.15 | $8.00 |
| moonshot-v1-32k | $1.00 | $3.00 |
| moonshot-v1-32k-vision-preview | $1.00 | $3.00 |
| kimi-k2-0905-preview | $0.60 | $2.50 |
| kimi-k2-0711-preview | $0.60 | $2.50 |
| kimi-k2-thinking | $0.60 | $2.50 |
| moonshot-v1-8k | $0.20 | $2.00 |
| moonshot-v1-8k-vision-preview | $0.20 | $2.00 |
Next Steps
All Providers
Browse all supported AI providers
Forward Proxy
Learn how to construct proxy URLs and authenticate requests