Skip to content

[FEATURE]: kimi k2.6 integration #22408

@Acters

Description

@Acters

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Please add the new Kimi K2.6 and K2.6-code-preview model that is currently available for the code plans.
It is possible that these are two distinct models because the K2.6 consistently reponds differently from the "code preview" version

Kimi-for-coding is likely not respecting the ID parameter. it is just whatever kimi offers on the kimi-for-coding api.

Temporary json config implementation:

Do not use the provided JSON. the way that models.dev works DOES NOT give you k2.6, the API key path is strictly k2.5 only. Read more in the comments, along with a "plugin" that another user claims to correctly implement the OAuth path that the kimi-cli has that will give access to the k2.6 model.

opencode.json

To disable thinking, change enabled to disabled. source: #12090 (comment)

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "kimi-for-coding": {
      "models": {
        "kimi-for-coding": {
          "id": "kimi-for-coding",
          "reasoning": true,
          "attachment": false,
          "limit": {
            "context": 262144,
            "output": 32768
          },
          "modalities": {
            "input": ["text", "image", "video"],
            "output": ["text"]
          },
          "options": {
            "interleaved": {
              "field": "reasoning_content"
            },
            "thinking": {
              "type": "enabled",
              "budgetTokens": 16000
            }
          }
        }
      }
    }
  }
}

Images (non-thinking) Image
Image
Image
Image
Image

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions