Kimi K2.7 Code
Moonshot AI logo

Kimi K2.7 Code

kimi-k2.7-codellms.txt
Moonshot AI
Kimi K2.7 Code is Kimi’s most intelligent Coding model, capable of completing programming tasks with higher success rates in long context. It features a native multimodal architecture that supports text, image, video input, and thinking modes, and dialogue and agent tasks.

Pricing

  • Input Tokens: $0.95 /M tokens
  • Output Tokens: $3.9995 /M tokens
  • Cache Read: $0.1608 /M tokens

Input Modalities

  • Text
  • Vision
  • Video

Output Modalities

  • Text

Context length

  • 262K tokens

Capabilities

  • Thinking
  • Streaming
  • Tool calling
  • Web search
  • URL context
  • Code interpreter
  • Computer use
  • File search
  • Memory tool
  • Structured outputs
  • Citations
  • Prompt caching
  • Background mode
  • Server-side sessions

Providers

Alibaba Cloud alicloud-kimi-k2.7-code
Pricing$0.916$3.8051
Cache Read$0.1832/M tokens
Cache Write$1.145/M tokens
Context224K
Max output16K
Latency2.0S
Throughput55.9TPS
Uptime
99.64% uptime 2 days ago
100.00% uptime yesterday
100.00% uptime today
Azure azure-kimi-k2.7-code
Pricing$0.95$3.9995
Cache$0.1608
Context262K
Max output32K
Latency6.6S
Throughput15.7TPS
Uptime
100.00% uptime 2 days ago
100.00% uptime yesterday
100.00% uptime today
Moonshot moonshot-kimi-k2.7-code
Pricing$0.95$3.9995
Cache$0.1608
Context262K
Max output32K
Latency1.9S
Throughput7.8TPS
Uptime
100.00% uptime 2 days ago
100.00% uptime yesterday
100.00% uptime today
Deepinfra deepinfra-kimi-k2.7-code
Pricing$0.814$3.8502
Cache$0.1652
Context262K
Max output32K
Latency27.0S
Throughput10.3TPS
Uptime
100.00% uptime 2 days ago
100.00% uptime yesterday
100.00% uptime today

Performance for kimi-k2.7-code

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="kimi-k2.7-code",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is Kimi K2.7 Code?

Kimi K2.7 Code is Kimi’s most intelligent Coding model, capable of completing programming tasks with higher success rates in long context. It features a native multimodal architecture that supports text, image, video input, and thinking modes, and dialogue and agent tasks.