Moonshot · 262K context

Kimi K2.7 Code API

Chat with Kimi K2.7 Code

Use Kimi K2.7 Code in the Synaps chat or through one OpenAI-compatible API key. Pay per message from a balance you top up with ETH or USDC. No subscription, no card.

No trainingReads images
Input / 1M tokens$0.805list $0.671
Output / 1M tokens$4.02list $3.35
Typical message≈ $0.00321.5K in · 500 out
Context window262Ktokens

Prices include the 20% Synaps fee and update automatically. “List” is what the provider charges.

Call Kimi K2.7 Code from code

Synaps speaks the OpenAI Chat Completions format. Point any OpenAI SDK at Synaps and set model to moonshotai/kimi-k2.7-code.

cURL
curl https://www.synaps.chat/api/v1/chat/completions \
  -H "Authorization: Bearer $SYNAPS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/kimi-k2.7-code",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'
Python
from openai import OpenAI

client = OpenAI(base_url="https://www.synaps.chat/api/v1", api_key="syn_...")

reply = client.chat.completions.create(
    model="moonshotai/kimi-k2.7-code",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)

Quickstart · API reference · Create an API key

Privacy

Synaps routes this model only to providers that don't store or train on your prompts.

Questions

How much does Kimi K2.7 Code cost on Synaps?

$0.805 per million input tokens and $4.02 per million output tokens, including the 20% Synaps fee. A typical chat message costs about $0.0032. You only pay for what you use.

Can I pay for Kimi K2.7 Code with crypto?

Yes. Top up your Synaps balance with ETH on Robinhood Chain or Base, or USDC on Base, from $1. Each message is deducted from that balance. There is no subscription or card.

Is there a Kimi K2.7 Code API?

Yes. Create an API key on Synaps and call moonshotai/kimi-k2.7-code through the OpenAI-compatible endpoint https://www.synaps.chat/api/v1/chat/completions. Any OpenAI SDK works by changing the base URL.

What can Kimi K2.7 Code do?

It accepts text, image and produces text, with a context window of 262K tokens. You can attach photos in the chat.

More from Moonshot

← All models

Kimi K2.7 Code API — pay per message with crypto · Synaps