New GPT-6.2 Sol is live. Same key. View in catalog

Kimi k2.7 Code

kimi-k2.7-code

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.

Price / 1M
Guts AIOfficialInput$0.070$0.950Output$0.211$4.00Cached$0.018
Context256KTokens
Max output256KTokens
Latency2.8s102 tokens/s
1curl https://api.gutsai.id/v1/chat/completions \
2 -H "Authorization: Bearer $GUTS_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "kimi-k2.7-code",
6 "messages": [{"role": "user", "content": "Hello"}]
7 }'
1import os
2from openai import OpenAI
3
4client = OpenAI(base_url="https://api.gutsai.id/v1", api_key=os.environ["GUTS_API_KEY"])
5res = client.chat.completions.create(
6 model="kimi-k2.7-code",
7 messages=[{"role": "user", "content": "Hello"}],
8)
1import OpenAI from "openai";
2
3const client = new OpenAI({ baseURL: "https://api.gutsai.id/v1", apiKey: process.env.GUTS_API_KEY });
4const res = await client.chat.completions.create({
5 model: "kimi-k2.7-code",
6 messages: [{ role: "user", content: "Hello" }],
7});

Specifications

Context window
262,144Tokens
Max output
262,144Tokens
Knowledge cutoff
Jan 2025
Released
Jun 12, 2026
Input
TextImagePDFVideoAudio
Output
Text
Open weights
Yes
Capabilities
ReasoningTool callingStructured outputPrompt cachingFile attachmentsTemperature

Pricing

Input, cached input and output each have their own price, charged from your balance.

InputPrompt tokens sent to the model
≈ Rp 1.300$0.070
Cached inputPrompt tokens served from cache
≈ Rp 325$0.018
OutputGenerated tokens, including reasoning
≈ Rp 3.900$0.211

Performance

Measured on Guts AI traffic over the last 24 hours.

MetricP50P90P99
Time to first token2.8s8.5s41.1s
End-to-end latency3.9s16.8s67.7s
Throughput102 tok/s88 tok/s80 tok/s

API

Mapped from the model's capabilities. Everything else follows the OpenAI SDK.

max_tokens
Up to 262,144
response_format
JSON schema
temperature
Not supported
reasoning_effort
Not supported
tools, tool_choice
Supported
stream
Supported