by MoonshotAIReleased Jun 12, 2026
moonshotai/kimi-k2.7-codeMoonshotAI: 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...
| Billed for | You pay |
|---|---|
| Input tokens | $0.81 / 1M |
| Output tokens | $4.02 / 1M |
| Cached input, read | $0.22 / 1M |
import OpenAI from "openai";const ai = new OpenAI({ baseURL: "https://relayfor.si/api/v1", apiKey: process.env.RELAYFOR_ROUTER_KEY,});const reply = await ai.chat.completions.create({ model: "moonshotai/kimi-k2.7-code", messages: [{ role: "user", content: "Welcome the 1,000th holder in one line." }],});$0.81 per million input tokens and $4.02 per million output tokens, paid from the token's AI credit. A call of 2,000 tokens in and 500 out costs about $0.0036.
Make a router key for one of your tokens on the dashboard, point any OpenAI or Anthropic SDK at https://relayfor.si/api/v1 and send the model id moonshotai/kimi-k2.7-code. The token's AI credit pays for each call.
Up to 262,144 tokens of context, and up to 235,929 tokens in one answer.
No. The RFS Router passes each call through and keeps only its token counts and cost, for the token's usage page.
| Provider | Answered, 24 h |
|---|---|
| CoreWeaveint4 | 100% |
| Moonshot AIint4 | 100% |
| SiliconFlowfp8 | 100% |
| Inceptronint4 | 99.9% |
| Novitaint4 | 99.9% |
| StreamLake | 99.8% |
| Cloudflare | 99.7% |
| Nebiusfp4 | 99.4% |
| Veniceint4 | 99.4% |
| GMICloudfp8 | 99.3% |
| Alibabafp8 | 97.2% |