Private Models

MoonshotAI: Kimi K2.7 Code

New
moonshotai/kimi-k2.7-codeModel weights

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

Modalities
TextImagetoText
In / out price
$0.95 / $4.00per 1MCache read $0.19 per 1M
Context
262K
Released
Aug 14, 2026

Providers

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.

redpillCheckingCheckingChecking

Gateway API

Call this model through RedPill's OpenAI-compatible API.

  1. Create an API key
  2. Set REDPILL_API_KEY
  3. Run the request
Working with agentsConnect RedPill to agent frameworks and runtimes.
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.redpill.ai/v1",
  apiKey: process.env.REDPILL_API_KEY,
});

const response = await client.chat.completions.create({
  model: "moonshotai/kimi-k2.7-code",
  messages: [{ role: "user", content: "Say hello." }],
});

Search

Search models and pages.

MoonshotAI: Kimi K2.7 Code | RedPill