Skip to content

Kimi K2.7 Code

moonshotai/kimi-k2.7-code

Coding-specialized Kimi built on K2.6 for long-horizon software engineering with fewer thinking tokens; open-weight 1T MoE (32B active), 256K context, thinking always on. Sits below Moonshot's flagship Kimi K3.

API
curl "$AUDIOLAB_API_URL/v1/chat/completions" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "moonshotai/kimi-k2.7-code",
  "messages": [
    {
      "role": "user",
      "content": "Help me plan my next project."
    }
  ],
  "max_tokens": 256
}'
Input Price
$0.8075 / 1M tokens
Output Price
$3.40 / 1M tokens
Context
262.1K tokens
Output Cap
262.1K tokens

Capabilities

Explore what Kimi K2.7 Code supports, then use the API section for a request tailored to this model.

Max tokensReasoningInclude reasoning

Model Information

Provider
Moonshot AI
Product
Language Models
Release Date
Jun 12, 2026
Data Policy
Not specified
Input
Text
Output
Text
Provider Documentation

Playground

Try Kimi K2.7 Code by Moonshot AI. Requests use the selected workspace’s credits and API pricing.

Kimi K2.7 CodeCredits —
Kimi K2.7 Code
⌘ / Ctrl + Enter to send

Providers

Compare available endpoints, pricing, and context limits for Kimi K2.7 Code.

ProviderContextOutput CapInput PriceOutput PriceEndpoint
Moonshot AI262.1K tokens262.1K tokens$0.8075 / 1M tokens$3.40 / 1M tokens
moonshotai/kimi-k2.7-code
Alibaba Cloud Model Studio229.4K tokens16.4K tokens$0.8075 / 1M tokens$3.40 / 1M tokens
qwen/kimi-k2.7-code

Prices are catalog rates. Your workspace’s estimate and endpoint pricing determine the final charge.

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValueEndpoint
Max input tokens262144moonshotai/kimi-k2.7-code
Max output tokens262144moonshotai/kimi-k2.7-code
Max input tokens229376qwen/kimi-k2.7-code
Max output tokens16384qwen/kimi-k2.7-code

Provider Notes

Several hosts serve this model. A request to this ID can be answered by any of them; a host-pinned ID selects one.

Performance

Status

Current catalog availability. Your workspace’s access is checked separately before a request runs.

Getting Started

Use your workspace API key and the exact model identifier below. Set the API URL to the endpoint shown in your workspace and keep credentials on your server.

API
curl "$AUDIOLAB_API_URL/v1/chat/completions" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "moonshotai/kimi-k2.7-code",
  "messages": [
    {
      "role": "user",
      "content": "Help me plan my next project."
    }
  ],
  "max_tokens": 256
}'
Read the Endpoint Reference

Request Parameters

Available parameters depend on the provider and request format. The endpoint reference explains accepted values and required fields.

ParameterDetails
modelmoonshotai/kimi-k2.7-code — Required model identifier.
max_tokensView Accepted Values
reasoningView Accepted Values
include_reasoningView Accepted Values

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValueEndpoint
Max input tokens262144moonshotai/kimi-k2.7-code
Max output tokens262144moonshotai/kimi-k2.7-code
Max input tokens229376qwen/kimi-k2.7-code
Max output tokens16384qwen/kimi-k2.7-code

Similar Models

Explore more language models and compare their capabilities.

ModelContextInput PriceOutput Price
Kimi K2.7 Code HighSpeedMoonshot AI262.1K tokens$1.615 / 1M tokens$6.80 / 1M tokens
Kimi K2.6Moonshot AI262.1K tokens$0.8075 / 1M tokens$3.40 / 1M tokens
Claude Haiku 5.5Anthropic1M tokens$0.085 / 1M tokens$0.425 / 1M tokens
GPT-6.1 SolOpenAI1.1M tokens$1.70 / 1M tokens$8.50 / 1M tokens
Claude Sonnet 5.5Anthropic1M tokens$1.70 / 1M tokens$8.50 / 1M tokens
Claude Opus 5.5Anthropic1M tokens$3.40 / 1M tokens$17.00 / 1M tokens
View All Language Models