kimi-k2.7-code

moonshot/kimi-k2.7-code
Capabilities
6
VisionVideoToolsThinkJSONCache
Context length
256K
Tokens
Max output tokens
64K
Tokens
Type
Chat
Moonshot

Playground

Up to 50 messages are kept on this page; only the last 10 are sent as context, and refreshing clears them

Pricing

Pricing breakdown
Usage-based pricing, broken down by billing item at your current rates.
20% off

Input tokens

Standard rate
0.742856 credits / 1M

Output tokens

Standard rate
3.085714 credits / 1M

Cache read tokens

Standard rate
0.148571 credits / 1M

Web searches

Standard rate
0.001142 credits

Billing items are additive. Only one matching price tier applies to each item. Each request is calculated exactly from actual usage, and the total is rounded up once to the nearest 0.000001 credits.

API

cURL example
POST/v1/chat/completions
SynchronousOpenAI-compatible
curl "https://api.modelrover.ai/v1/chat/completions" \  -X POST \  -H "Authorization: Bearer $API_KEY" \  -H "Content-Type: application/json" \  -d '{  "model": "moonshot/kimi-k2.7-code",  "messages": [    {      "role": "user",      "content": "Explain model gateways in one sentence."    }  ]}'

Set your API_KEY environment variable before running. Keep your key server-side.

API documentation

Uptime