modelparams.dev
Moonshot AI Chat Completions 7 params

Moonshot AI Kimi K2.7 Code Highspeed API parameters

These are the API parameters modelparams.dev tracks for Moonshot AI Kimi K2.7 Code Highspeed on Chat Completions with an API key — the settings you send in a request. Each row gives the type, default, valid range or values, and the conditions that gate it. It's the same data the JSON API serves.

After the parameter count instead — how many weights Kimi K2.7 Code Highspeed has? That's a different number, and we don't track it. Here's the difference.

Length 2 params
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) 32768 Maximum number of tokens to generate in the chat completion, including reasoning tokens.
Stop sequence
stop
string Stops generation when this sequence is produced. Moonshot accepts up to 5 sequences of at most 32 bytes each.
Reasoning 1 param
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (enabled) "enabled" Thinking is always on for this model. Enabled is the only accepted value; disabled returns an error.
Tools 1 param
Parameter Type Default Description Condition
Tool choice
tool_choice
enum (auto | none) "auto" Controls tool calling: auto lets the model decide and none blocks tool calls. Moonshot rejects required while thinking is enabled, which is the default on this model.
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Forces the response into plain text, a JSON object, or JSON matching a provided schema.
Observability 2 params
Parameter Type Default Description Condition
Log probabilities
logprobs
boolean false Controls whether the response includes log probabilities for the generated tokens.
Top log probabilities
top_logprobs
integer (0…20) Number of most likely tokens to return a log probability for at each position.
Only when logprobs = true

Moonshot AI Kimi K2.7 Code Highspeed API parameters in brief

Moonshot AI Kimi K2.7 Code Highspeed on Chat Completions documents 7 API parameters, grouped by what they control:

Frequently asked questions

Which API parameters does Moonshot AI Kimi K2.7 Code Highspeed support?
Moonshot AI Kimi K2.7 Code Highspeed accepts 7 API parameters in the request body: max_completion_tokens, stop, thinking.type, response_format.type, tool_choice, logprobs, and more.

Resources

All Moonshot AI models Glossary Full catalog

Kimi K2.7 Code Highspeed — JSON

The full model definition as served by the API. Copy it or open the endpoint directly.

{
  "$schema": "https://modelparams.dev/api/v1/schema.json",
  "provider": "moonshot",
  "authType": "api_key",
  "apiSurface": "openai-chat-completions",
  "model": "kimi-k2.7-code-highspeed",
  "status": "active",
  "params": [
    {
      "path": "max_completion_tokens",
      "label": "Max tokens",
      "description": "Maximum number of tokens to generate in the chat completion, including reasoning tokens.",
      "group": "generation_length",
      "type": "integer",
      "default": 32768,
      "range": {
        "min": 1
      }
    },
    {
      "path": "stop",
      "label": "Stop sequence",
      "description": "Stops generation when this sequence is produced. Moonshot accepts up to 5 sequences of at most 32 bytes each.",
      "group": "generation_length",
      "type": "string"
    },
    {
      "path": "thinking.type",
      "label": "Thinking mode",
      "description": "Thinking is always on for this model. Enabled is the only accepted value; disabled returns an error.",
      "group": "reasoning",
      "type": "enum",
      "default": "enabled",
      "values": [
        "enabled"
      ]
    },
    {
      "path": "response_format.type",
      "label": "Response format",
      "description": "Forces the response into plain text, a JSON object, or JSON matching a provided schema.",
      "group": "output_format",
      "type": "enum",
      "default": "text",
      "values": [
        "text",
        "json_object",
        "json_schema"
      ]
    },
    {
      "path": "tool_choice",
      "label": "Tool choice",
      "description": "Controls tool calling: auto lets the model decide and none blocks tool calls. Moonshot rejects required while thinking is enabled, which is the default on this model.",
      "group": "tooling",
      "type": "enum",
      "default": "auto",
      "values": [
        "auto",
        "none"
      ]
    },
    {
      "path": "logprobs",
      "label": "Log probabilities",
      "description": "Controls whether the response includes log probabilities for the generated tokens.",
      "group": "observability",
      "type": "boolean",
      "default": false
    },
    {
      "path": "top_logprobs",
      "label": "Top log probabilities",
      "description": "Number of most likely tokens to return a log probability for at each position.",
      "group": "observability",
      "applicability": {
        "only": {
          "logprobs": true
        }
      },
      "type": "integer",
      "range": {
        "min": 0,
        "max": 20
      }
    }
  ]
}

Other Moonshot AI models

How to use

Building with an AI agent? Hit Copy to grab this whole guide as Markdown and paste it in — or point your agent straight at /llms.txt.

modelparams.dev is an open, community-maintained catalog of model parameters. Each entry shows the knobs you can turn — type, default, range, and the conditions that gate it.

The same model accessed via an API key and via a subscription usually exposes a different set of parameters. We list both as separate entries so the data stays honest.

Catalog API

The full catalog is static JSON, CORS-enabled, served from the edge.

curl https://modelparams.dev/api/v1/models.json

Each entry is keyed by provider/model for API-key variants; subscription variants append -subscription.

If you only need the params for one model contract, use the providerless endpoint. Subscription contracts are model slugs with -subscription.

curl https://modelparams.dev/api/v1/models/openai/gpt-5.5.json
curl https://modelparams.dev/api/v1/models/openai/gpt-5.5-subscription.json

Single model

curl https://modelparams.dev/api/v1/models/anthropic/claude-opus-4-7.json
curl https://modelparams.dev/api/v1/models/anthropic/claude-opus-4-7-subscription.json

JSON Schema

Every entry validates against a JSON Schema you can use in your editor or pipeline.

curl https://modelparams.dev/api/v1/schema.json

Add this header to any YAML you author for autocomplete in VS Code:

# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json

Logos

Provider logos are available at /assets/logos/{provider}.svg where {provider} is the provider slug. They use currentColor so they inherit your text color.

curl https://modelparams.dev/assets/logos/anthropic.svg

Logos are sourced from the models.dev repo (MIT) and used under nominative fair use.

Contribute

The data lives in YAML under models/{provider}/{model}-{auth}.yaml in the GitHub repo. Open a PR; CI validates against the schema and rebuilds.

Edit on GitHub MIT licensed