moonshotai logo

MoonshotAI: Kimi K2.7 Code

Chat
moonshotai/kimi-k2.7-code
Created Aug 14, 2026|262K context|$0.95/M input tokens|$4.00/M output tokens|$0.19/M cache read

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...

Providers for MoonshotAI: Kimi K2.7 Code

RedPill routes this private model across verified providers with automatic fallbacks. Pricing is unified, so you pay the same price no matter which provider serves your request, while live metrics show first-token latency, speed, and uptime.

Total Context
262K
Input
$0.95/M
Output
$4.00/M
Cache Read
$0.19/M
ProviderFirst TokenSpeedUptime
redpill logoredpill
CheckingCheckingChecking

Gateway API

RedPill provides a unified private completion API to all models and providers that you can call directly, or through the OpenAI SDK. Verification can be added without changing your model call pattern.

const response = await fetch("https://api.redpill.ai/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.REDPILL_API_KEY}`,
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "moonshotai/kimi-k2.7-code",
    "messages": [
      {
        "role": "user",
        "content": "What is the meaning of life?"
      }
    ],
    "provider": { "aci_verified": true }
  })
});

console.log("receipt", response.headers.get("x-receipt-id"));
console.log(await response.json());
RedPill

End-to-end encrypted AI through one gateway: private models, verified providers, unified pricing, live performance, and evidence your team can check.