From c07b4ff5f88923bc9978211da17e8588d52023c5 Mon Sep 17 00:00:00 2001 From: pandong Date: Mon, 14 Sep 2026 11:32:23 +0800 Subject: [PATCH] fix(kimi-for-coding): update metadata for K2.8 Preview --- models/moonshotai/kimi-k2.8-preview.toml | 18 ++++++++++++++++++ .../models/kimi-for-coding.toml | 15 +++++++++++++-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 models/moonshotai/kimi-k2.8-preview.toml diff --git a/models/moonshotai/kimi-k2.8-preview.toml b/models/moonshotai/kimi-k2.8-preview.toml new file mode 100644 index 00000000000..358b443e6d5 --- /dev/null +++ b/models/moonshotai/kimi-k2.8-preview.toml @@ -0,0 +1,18 @@ +# https://www.kimi.com/code/docs/en/kimi-code/models.html +# https://www.kimi.com/code/docs/en/kimi-code/whats-new.html#k2-8-preview-september-11-2026 +name = "Kimi K2.8 Preview" +description = "Kimi coding model with more efficient thinking and up to 1M context, available through Kimi Code" +family = "kimi-k2" +release_date = "2026-09-11" +last_updated = "2026-09-11" +attachment = true +reasoning = true +tool_call = true +open_weights = false + +[limit] +context = 1_048_576 + +[modalities] +input = ["text", "image", "video"] +output = ["text"] diff --git a/providers/kimi-for-coding/models/kimi-for-coding.toml b/providers/kimi-for-coding/models/kimi-for-coding.toml index c6486dd0500..2dc81d0d56d 100644 --- a/providers/kimi-for-coding/models/kimi-for-coding.toml +++ b/providers/kimi-for-coding/models/kimi-for-coding.toml @@ -1,5 +1,16 @@ -base_model = "moonshotai/kimi-k2.7-code" -reasoning_options = [] +# https://www.kimi.com/code/docs/en/third-party-tools/opencode.html +# Toggle: thinking.type = "enabled" | "disabled" | "adaptive" +# Effort: output_config.effort = "low" | "high" | "max" (default: "max") +# Retain the existing output limit; the K2.8 announcement only specifies context. +base_model = "moonshotai/kimi-k2.8-preview" +name = "kimi-for-coding" + +[[reasoning_options]] +type = "toggle" + +[[reasoning_options]] +type = "effort" +values = ["low", "high", "max"] [cost] input = 0