Description
MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts...
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: MoonshotAI: Kimi K2.7 Code (moonshotai/kimi-k2.7-code)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "moonshotai/kimi-k2.7-code",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the MoonshotAI: Kimi K2.7 Code model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
- Images
API Pricing
- Input: 0.75$ / 1M tokens
- Output: 3.5$ / 1M tokens
Token Limits
- Max Output: 262,144 tokens
- Max Context: 262,144 tokens
Subscription Tiers
- free
- pro
- ultimate
