kimi-k2.7-code
Model id
moonshotai/kimi-k2.7-codeMoonshot's coding-focused agent model, built on Kimi K2.6 for end-to-end software engineering across ten or more languages and a full production stack. Uses about 30% fewer thinking tokens than K2.6 on the same work.
Cost /1M tokens
$0.95input
$0.24cached
$4.00output
Context
256Ktokens
Live speed
125 tok/s · 0.70s to first token
Speed
Throughput users got on kimi-k2.7-code with Keln API in the last 24 hours.
Latency
Time to first token users got on kimi-k2.7-code with Keln API in the last 24 hours.
Capabilities
Input
Text and images
Tool calling
Yes
JSON output
Yes
Reasoning
Yes
Web search
With opt-in
Data retention
Zero
Use the API
Create an API key, save it to KELN_API_KEY, then call the endpoint below.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.keln.ai/v1/",
api_key=os.environ.get("KELN_API_KEY"),
)
resp = client.chat.completions.create(
model="moonshotai/kimi-k2.7-code",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)Use with your tools
Set up guides on docs.keln.ai ↗