-
Notifications
You must be signed in to change notification settings - Fork 17.9k
[FEATURE]: kimi k2.6 integration #22408
Copy link
Copy link
Closed
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion
Metadata
Metadata
Assignees
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature 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-codingapi.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)