Skip to content
Ruvicode logo
Ruvicode
USD

Kimi K2.7 Code

−73% vs official
textvisiontoolscode
Try in Playground

Context

256Ktokens

Input

$0.75 $0.16/1M

Cached $0.16$0.04 /1M

Output

$3.50 $0.94/1M

You save

73%

Quickstart

Use the OpenAI SDK with your Ruvicode API key. Just change the base URL and model name.

curl https://api.ruvicode.com/v1/chat/completions \
  -H "Authorization: Bearer rvcd_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.7-code",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Need the full API reference?

Authentication, streaming, error handling, and rate limits.

Read the docs

Reference pricing

Official input$0.75/1M
Official output$3.50/1M
Ruvicode price−73%

Live market pricing, refreshed every 2 minutes. No credit expiry. Savings versus official list prices.

Specs

Context window256K
Max output128K
Get StartedAll models

About Kimi K2.7 Code

Kimi K2.7 Code is a Moonshot model with image input and tool calling. On Ruvicode you call it as kimi-k2.7-code through the OpenAI-compatible Chat Completions API at https://api.ruvicode.com/v1, with the same API key and prepaid wallet as every other model, billed per token. It takes up to 256K tokens of context and writes up to 128K tokens per response.

Kimi K2.7 Code FAQ

How is Kimi K2.7 Code priced on Ruvicode?
Kimi K2.7 Code is billed per token from a prepaid wallet, with no subscription: an input rate and an output rate per million tokens, plus a cached input rate for repeated prompt prefixes, applied automatically. The rates follow the provider market, refresh every 2 minutes, and are shown at the top of this page next to the official list price. Every response reports its exact charge in usage.cost.
Is Kimi K2.7 Code OpenAI-compatible on Ruvicode?
Yes. Send requests to https://api.ruvicode.com/v1/chat/completions with "model": "kimi-k2.7-code" and your Ruvicode API key as a Bearer token. Any OpenAI SDK works by changing the base URL, and streaming, tool calling and usage reporting work the same way as in the OpenAI API.
What is the context window of Kimi K2.7 Code?
Kimi K2.7 Code takes up to 256K tokens of context, with up to 128K output tokens per response.
Can Kimi K2.7 Code read images?
Yes. Send images in the messages array as image_url parts, either a public URL or a base64 data URL, the same way as with the OpenAI API.
Can I use Kimi K2.7 Code in Cursor, Cline or OpenCode?
Yes. Add Ruvicode as an OpenAI-compatible provider with the base URL https://api.ruvicode.com/v1, your Ruvicode API key, and the model id kimi-k2.7-code. The integrations page has step-by-step setup for each tool. Claude Code works too, through 9router, which translates its Anthropic requests.

Setup for each tool is on the integrations page, and the full API reference is in the chat completions docs.