{
  "as_of": "2026-07-10T03:46:09+00:00",
  "beta_capabilities": [],
  "controls": [
    {
      "constraints": [],
      "control_id": "max_completion_tokens",
      "default_value": null,
      "note": "The K2.7 guide documents 32,768 for the deprecated max_tokens field. That legacy value is not a current max_completion_tokens default or a hard output limit.",
      "provider_parameter": "max_completion_tokens",
      "semantics": "Sets the requested maximum number of generated tokens.",
      "sources": [
        "https://platform.kimi.ai/docs/api/chat.md",
        "https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart"
      ],
      "supported_values": {
        "kind": "undocumented",
        "note": "Kimi does not document the current request default or a hard output range for this model."
      },
      "value_type": "integer"
    },
    {
      "constraints": [],
      "control_id": "max_tokens_deprecated",
      "default_value": 32768,
      "note": "Use max_completion_tokens for new integrations. The legacy default is not a hard output limit.",
      "provider_parameter": "max_tokens",
      "semantics": "Records the default for the deprecated max_tokens compatibility field.",
      "sources": [
        "https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart"
      ],
      "supported_values": {
        "kind": "undocumented",
        "note": "Kimi documents the deprecated request default but not the complete accepted range."
      },
      "value_type": "integer"
    },
    {
      "constraints": [],
      "control_id": "thinking_type",
      "default_value": "enabled",
      "note": "The API rejects disabled thinking for this model.",
      "provider_parameter": "thinking.type",
      "semantics": "Keeps Kimi K2.7 Code in its required thinking mode.",
      "sources": [
        "https://platform.kimi.ai/docs/api/models-overview.md"
      ],
      "supported_values": {
        "kind": "enum",
        "values": [
          {
            "value": "enabled"
          }
        ]
      },
      "value_type": "string"
    },
    {
      "constraints": [],
      "control_id": "thinking_keep",
      "default_value": "all",
      "note": "Preserved Thinking is always on. Multi-step tool calls must also retain assistant reasoning_content in the conversation.",
      "provider_parameter": "thinking.keep",
      "semantics": "Preserves thinking content for the model request.",
      "sources": [
        "https://platform.kimi.ai/docs/api/chat.md"
      ],
      "supported_values": {
        "kind": "enum",
        "values": [
          {
            "value": "all"
          }
        ]
      },
      "value_type": "string"
    },
    {
      "constraints": [],
      "control_id": "temperature",
      "default_value": 1.0,
      "note": "The API rejects any temperature other than 1.0.",
      "provider_parameter": "temperature",
      "semantics": "Uses the fixed sampling temperature required by Kimi K2.7 Code.",
      "sources": [
        "https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart"
      ],
      "supported_values": {
        "kind": "enum",
        "values": [
          {
            "value": 1.0
          }
        ]
      },
      "value_type": "number"
    },
    {
      "constraints": [],
      "control_id": "top_p",
      "default_value": 0.95,
      "note": "The API rejects any top_p value other than 0.95.",
      "provider_parameter": "top_p",
      "semantics": "Uses the fixed nucleus sampling value required by Kimi K2.7 Code.",
      "sources": [
        "https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart"
      ],
      "supported_values": {
        "kind": "enum",
        "values": [
          {
            "value": 0.95
          }
        ]
      },
      "value_type": "number"
    },
    {
      "constraints": [],
      "control_id": "n",
      "default_value": 1,
      "note": "The API rejects any n value other than 1.",
      "provider_parameter": "n",
      "semantics": "Returns the single completion required by Kimi K2.7 Code.",
      "sources": [
        "https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart"
      ],
      "supported_values": {
        "kind": "enum",
        "values": [
          {
            "value": 1
          }
        ]
      },
      "value_type": "integer"
    },
    {
      "constraints": [],
      "control_id": "presence_penalty",
      "default_value": 0.0,
      "note": "The API rejects any presence_penalty value other than 0.0.",
      "provider_parameter": "presence_penalty",
      "semantics": "Uses the fixed presence penalty required by Kimi K2.7 Code.",
      "sources": [
        "https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart"
      ],
      "supported_values": {
        "kind": "enum",
        "values": [
          {
            "value": 0.0
          }
        ]
      },
      "value_type": "number"
    },
    {
      "constraints": [],
      "control_id": "frequency_penalty",
      "default_value": 0.0,
      "note": "The API rejects any frequency_penalty value other than 0.0.",
      "provider_parameter": "frequency_penalty",
      "semantics": "Uses the fixed frequency penalty required by Kimi K2.7 Code.",
      "sources": [
        "https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart"
      ],
      "supported_values": {
        "kind": "enum",
        "values": [
          {
            "value": 0.0
          }
        ]
      },
      "value_type": "number"
    },
    {
      "constraints": [],
      "control_id": "tool_choice",
      "default_value": "auto",
      "note": "Other tool_choice values conflict with the model reasoning contract and are rejected.",
      "provider_parameter": "tool_choice",
      "semantics": "Controls whether the model can select a tool automatically or cannot call tools.",
      "sources": [
        "https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart"
      ],
      "supported_values": {
        "kind": "enum",
        "values": [
          {
            "value": "auto"
          },
          {
            "value": "none"
          }
        ]
      },
      "value_type": "string"
    }
  ],
  "modalities": [
    "text",
    "image",
    "video"
  ],
  "model_id": "kimi-k2.7-code",
  "notes": [
    "The K2.7 guide documents 32,768 for the deprecated max_tokens field. That legacy value is not a current max_completion_tokens default or a hard output limit.",
    "Use max_completion_tokens for new integrations. The legacy default is not a hard output limit.",
    "The API rejects disabled thinking for this model.",
    "Preserved Thinking is always on. Multi-step tool calls must also retain assistant reasoning_content in the conversation.",
    "The API rejects any temperature other than 1.0.",
    "The API rejects any top_p value other than 0.95.",
    "The API rejects any n value other than 1.",
    "The API rejects any presence_penalty value other than 0.0.",
    "The API rejects any frequency_penalty value other than 0.0.",
    "Other tool_choice values conflict with the model reasoning contract and are rejected."
  ],
  "provider": "moonshot",
  "schema_version": "0.1.2",
  "sources": [
    "https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart",
    "https://platform.kimi.ai/docs/api/models-overview.md",
    "https://platform.kimi.ai/docs/models",
    "https://platform.kimi.ai/docs/api/list-models",
    "https://platform.kimi.ai/docs/api/chat.md",
    "https://api.moonshot.ai/v1/models",
    "https://aistackregistry.com/provenance/docs/2026-07-10/manifest.json"
  ],
  "token_limits": {
    "context_window": 262144,
    "max_output_tokens": "not_documented"
  }
}
