Back to Models
MoonshotAI: Kimi K2 AI Model Icon

MoonshotAI: Kimi K2

moonshotai/kimi-k2

Description

Kimi K2 Instruct is a large-scale Mixture-of-Experts (MoE) language model developed by Moonshot AI, featuring 1 trillion total parameters with 32 billion active per forward pass. It is optimized for agentic capabilities, including advanced tool use, reasoning, and code synthesis. Kimi K2 excels across a broad range of benchmarks, particularly in coding (LiveCodeBench, SWE-bench), reasoning (ZebraLogic, GPQA), and tool-use (Tau2, AceBench) tasks. It supports long-context inference up to 128K tokens and is designed with a novel training stack that includes the MuonClip optimizer for stable large-scale MoE training.

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: MoonshotAI: Kimi K2 (moonshotai/kimi-k2)

curl https://api.ridvay.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "moonshotai/kimi-k2",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the MoonshotAI: Kimi K2 model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text

API Pricing

  • Input: 0.14$ / 1M tokens
  • Output: 2.49$ / 1M tokens

Token Limits

  • Max Output: 63,000 tokens
  • Max Context: 63,000 tokens

Subscription Tiers

  • free
  • pro
  • ultimate