# Kimi-K2.7-Code

[Canonical model page](https://headlessthrones.com/models/moonshot-ai-kimi-k2-7-code) · [Model library](https://headlessthrones.com/models)

Public catalog reference from Headless Thrones. Exact catalog ID: `moonshot-ai-kimi-k2-7-code`. Catalog source-check date: 2026-10-23.

This brief contains the public catalog answers and any catalog guide, not private drafts, historical editorial revisions or independently measured rankings. The canonical HTML page may also display separately published editorial.

Current catalog answers

## What to know about Kimi-K2.7-Code

AI-compiled from linked model documentation. This is a catalog reference, not an independent performance review. Catalog checked October 23, 2026.

[Exact model](https://headlessthrones.com/models/moonshot-ai-kimi-k2-7-code#model-answer-identity) · [Access](https://headlessthrones.com/models/moonshot-ai-kimi-k2-7-code#model-answer-access) · [Token limits](https://headlessthrones.com/models/moonshot-ai-kimi-k2-7-code#model-answer-context) · [Inputs &amp; outputs](https://headlessthrones.com/models/moonshot-ai-kimi-k2-7-code#model-answer-modalities) · [License](https://headlessthrones.com/models/moonshot-ai-kimi-k2-7-code#model-answer-license) · [Weight details](https://headlessthrones.com/models/moonshot-ai-kimi-k2-7-code#model-answer-repository)

### Which Kimi-K2.7-Code does this page describe?

Kimi-K2.7-Code is a model record from **Moonshot AI** in the Kimi family. [Source](https://huggingface.co/moonshotai/Kimi-K2.7-Code)

The recorded model identifier or checkpoint is `Kimi-K2.7-Code`. Use that exact identifier when checking documentation or a provider listing. [Source](https://huggingface.co/moonshotai/Kimi-K2.7-Code)

### How can you access Kimi-K2.7-Code?

The catalog documents **API and Open weights** access  for Kimi-K2.7-Code. [Source 1](https://huggingface.co/moonshotai/Kimi-K2.7-Code) · [Source 2](https://platform.kimi.com/docs/models)

As of the catalog check, this version was listed as available. [Source](https://platform.kimi.com/docs/models)

For API use, confirm the exact model identifier, your account and region, and the endpoint's current limits in the linked documentation. An API listing does not establish access through a consumer subscription.

Open weights means the model weights are distributed for use under their stated terms. It does not establish a hosted API, an open-source license, or a hardware requirement. This record documents API access separately.

### What are Kimi-K2.7-Code's context and output limits?

The documented **context window is 256,000 tokens**. [Source](https://platform.kimi.com/docs/models)

A separate maximum-output value is not established in this record. The context or input figure should not be used as an output allowance.

Context, input and output limits describe different constraints. Do not add the figures together to infer a larger window. Check the endpoint's accounting for conversation history, system instructions, tools, media and generated tokens; a documented maximum is not a guarantee of answer quality or a measured usable capacity.

### What can Kimi-K2.7-Code receive and generate?

Documented inputs: **text and image**. [Source](https://huggingface.co/moonshotai/Kimi-K2.7-Code)

Documented outputs: **text**. [Source](https://platform.kimi.com/docs/models)

Input support and output generation are separate capabilities. Reading an image does not establish image generation; a text output listing does not establish speech output. File sizes, formats and media limits depend on the documented implementation.

### What license is recorded for Kimi-K2.7-Code?

The recorded license label is **modified-mit**. [Source](https://huggingface.co/moonshotai/Kimi-K2.7-Code)

Read the linked license and associated use terms for this exact version before redistribution, commercial deployment or fine-tuning. A label alone does not establish every permission, restriction or obligation, and it does not determine the terms of a separate hosted service.

### What is documented about the Kimi-K2.7-Code checkpoint?

This evidence refers to `moonshotai/Kimi-K2.7-Code` at recorded revision `74797c9c62378b951a1f6fcf5c4631024e9b8bef`, checked October 23, 2026. [Repository metadata](https://huggingface.co/api/models/moonshotai/Kimi-K2.7-Code)

Safetensors metadata records **1,026,879,376,368 stored parameters**. This is a stored-weight count, not necessarily the number activated per token, a download size or a GPU-memory requirement. [Repository metadata](https://huggingface.co/api/models/moonshotai/Kimi-K2.7-Code)

Recorded architecture class: `KimiK25ForConditionalGeneration`. [Repository metadata](https://huggingface.co/api/models/moonshotai/Kimi-K2.7-Code)

Repository task tag: `image-text-to-text`. A task tag identifies a distribution category; it does not measure performance on that task. [Repository metadata](https://huggingface.co/api/models/moonshotai/Kimi-K2.7-Code)

Listed library: `transformers`. Check that library's version and model support before loading the weights. [Repository metadata](https://huggingface.co/api/models/moonshotai/Kimi-K2.7-Code)

Repository access gate: `false`. This records the repository's gate setting when checked; licensing and use terms still apply. [Repository metadata](https://huggingface.co/api/models/moonshotai/Kimi-K2.7-Code)

#### What the configuration file says

The pinned `config.json` section `text_config` contains these values. [Pinned configuration](https://huggingface.co/moonshotai/Kimi-K2.7-Code/resolve/74797c9c62378b951a1f6fcf5c4631024e9b8bef/config.json)

`max_position_embeddings`: 262,144

`rope_scaling`: {"beta\_fast":32,"beta\_slow":1,"factor":64,"mscale":1,"mscale\_all\_dim":1,"original\_max\_position\_embeddings":4096,"type":"yarn"}

`torch_dtype`: bfloat16

`num_attention_heads`: 64

`num_key_value_heads`: 64

`num_hidden_layers`: 61

`hidden_size`: 7,168

Configuration values describe the checkpoint and its implementation. In particular, max\_position\_embeddings, sliding\_window and rope\_scaling do not independently establish an API context limit, tested usable length or hardware requirement. Runtime, quantization, cache, batch size and input length affect deployment behavior.

Read the retrieved model card for setup and qualifications. [Model card](https://huggingface.co/moonshotai/Kimi-K2.7-Code/resolve/74797c9c62378b951a1f6fcf5c4631024e9b8bef/README.md)

**Catalog qualifications:** Official publisher weight listing; availability refers to this distribution, not a guaranteed hosted API. Base, SFT and research variants are identified by their exact published names. Official context label is 256k; numeric context uses decimal K/M display normalization. [Source 1](https://huggingface.co/moonshotai/Kimi-K2.7-Code) · [Source 2](https://platform.kimi.com/docs/models) · [Source 3](https://huggingface.co/api/models/moonshotai/Kimi-K2.7-Code) · [Source 4](https://huggingface.co/moonshotai/Kimi-K2.7-Code/resolve/74797c9c62378b951a1f6fcf5c4631024e9b8bef/README.md) · [Source 5](https://huggingface.co/moonshotai/Kimi-K2.7-Code/resolve/74797c9c62378b951a1f6fcf5c4631024e9b8bef/config.json)

**Evidence still missing here:** complete input/output pricing, knowledge and training-data cutoffs, and tested hardware requirements. Missing documentation is not evidence that a feature is unavailable.

Headless Thrones has not independently benchmarked this model for this reference. Evaluate it on representative work before choosing it; these facts do not rank its accuracy, reliability, speed or suitability against another model.

Keep the exact version in view

## Other Kimi models from Moonshot AI.

These are separate records in the same publisher family. A shared family name does not establish equal capabilities or interchangeable licenses.

### [Kimi-Dev-72B](https://headlessthrones.com/models/moonshot-ai-kimi-dev-72b)

Open weights

### [Kimi-K2-Base](https://headlessthrones.com/models/moonshot-ai-kimi-k2-base)

Open weights

### [Kimi-K2-Instruct](https://headlessthrones.com/models/moonshot-ai-kimi-k2-instruct)

Open weights

### [Kimi-K2-Instruct-0905](https://headlessthrones.com/models/moonshot-ai-kimi-k2-instruct-0905)

Open weights

### [Kimi-K2-Thinking](https://headlessthrones.com/models/moonshot-ai-kimi-k2-thinking)

Open weights

### [Kimi-K2.5](https://headlessthrones.com/models/moonshot-ai-kimi-k2-5)

Open weights
