All models

Moonshot AI

Kimi K2.7 Code

Kimi K2.7 for coding and agents.

Try this model, then connect your app

Get a key, add credits, and send your first request — one key works for every model.

Overview

12% OFFMoonshot AI's own list price is $0.95 input · $4.00 output per 1M tokens.
Input
$0.84$0.95
per 1M tokens
Output
$3.52$4.00
per 1M tokens
Context
250K
tokens
This week
325.4M
+23% vs last week

Pricing

Per 1M tokensOfficialRouterAI
Input$0.95$0.84
Output$4.00$3.52

What a request costs

  • A chat reply1,000 in · 500 out$0.003$0.003
  • A long document summary30,000 in · 1,500 out$0.034$0.03
  • An agent step with context100,000 in · 4,000 out$0.11$0.098

Paid from your credit balance; top-ups are charged in rupiah at today's rate.

Capabilities

chatstreamingcoding

Context window: 250K tokens.

Performance

Tokens · 7 days
325.4M
Requests · 7 days
3.3K
Avg. response
5.8 s
vs last week
+23%

From real RouterAI traffic. Status: operational.

API

OpenAI-compatible (/v1/chat/completions) and Anthropic-compatible (/v1/messages).

curl https://routerai.id/v1/chat/completions \
  -H "Authorization: Bearer $ROUTERAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.7-code",
    "messages": [{"role": "user", "content": "Hello! Explain RouterAI in one sentence."}]
  }'

FAQ

›Is this the real Kimi K2.7 Code?

Yes — RouterAI forwards your request to Moonshot AI's Kimi K2.7 Code through its own routes and returns the answer unchanged. The model id is kimi-k2.7-code.

›How am I billed?

Per token, from your RouterAI credit: $0.84 per 1M input tokens and $3.52 per 1M output tokens. No subscription, no minimum — top up from a few dollars.

›What if the provider is down?

Requests fail over to backup routes on their own. If every route fails, the request isn't billed.

›Can I limit a key to this model?

Yes. In Dashboard → API keys, open a key and add this model under Model limits — that key can then only call the models you list, with its own spending cap.

›Which SDKs work?

Anything OpenAI-compatible (base URL …/v1) or Anthropic-compatible (base URL without /v1) — including Claude Code, Cline, Cursor and n8n.