From 5e0f5865bde682d4ed5ab366772b3f28fda3e58f Mon Sep 17 00:00:00 2001 From: Tony Yu <49832190+ysntony@users.noreply.github.com> Date: Wed, 2 Sep 2026 21:45:22 +0800 Subject: [PATCH] fix(moonshotai): remove retired models that 404 on first-party APIs Moonshot retired these models on its own platform (api.moonshot.ai / api.moonshot.cn) and calls now return 404 model-not-found: the kimi-k2 series (0711/0905/turbo previews, thinking, thinking-turbo) was discontinued 2026-05-25, and kimi-k2.5 was discontinued 2026-08-31. Source: https://platform.kimi.ai/docs/models Third-party hosts that still serve these models (e.g. OpenRouter's entries under providers/openrouter/models/moonshotai/) are untouched, as are the lab metadata files under models/moonshotai/. --- .../models/kimi-k2-0711-preview.toml | 1 - .../models/kimi-k2-0905-preview.toml | 1 - .../models/kimi-k2-thinking-turbo.toml | 1 - .../models/kimi-k2-thinking.toml | 1 - .../models/kimi-k2-turbo-preview.toml | 1 - providers/moonshotai-cn/models/kimi-k2.5.toml | 1 - .../models/kimi-k2-0711-preview.toml | 24 -------------- .../models/kimi-k2-0905-preview.toml | 24 -------------- .../models/kimi-k2-thinking-turbo.toml | 28 ----------------- .../moonshotai/models/kimi-k2-thinking.toml | 28 ----------------- .../models/kimi-k2-turbo-preview.toml | 24 -------------- providers/moonshotai/models/kimi-k2.5.toml | 31 ------------------- 12 files changed, 165 deletions(-) delete mode 120000 providers/moonshotai-cn/models/kimi-k2-0711-preview.toml delete mode 120000 providers/moonshotai-cn/models/kimi-k2-0905-preview.toml delete mode 120000 providers/moonshotai-cn/models/kimi-k2-thinking-turbo.toml delete mode 120000 providers/moonshotai-cn/models/kimi-k2-thinking.toml delete mode 120000 providers/moonshotai-cn/models/kimi-k2-turbo-preview.toml delete mode 120000 providers/moonshotai-cn/models/kimi-k2.5.toml delete mode 100644 providers/moonshotai/models/kimi-k2-0711-preview.toml delete mode 100644 providers/moonshotai/models/kimi-k2-0905-preview.toml delete mode 100644 providers/moonshotai/models/kimi-k2-thinking-turbo.toml delete mode 100644 providers/moonshotai/models/kimi-k2-thinking.toml delete mode 100644 providers/moonshotai/models/kimi-k2-turbo-preview.toml delete mode 100644 providers/moonshotai/models/kimi-k2.5.toml diff --git a/providers/moonshotai-cn/models/kimi-k2-0711-preview.toml b/providers/moonshotai-cn/models/kimi-k2-0711-preview.toml deleted file mode 120000 index 8e4e60785e7..00000000000 --- a/providers/moonshotai-cn/models/kimi-k2-0711-preview.toml +++ /dev/null @@ -1 +0,0 @@ -../../moonshotai/models/kimi-k2-0711-preview.toml \ No newline at end of file diff --git a/providers/moonshotai-cn/models/kimi-k2-0905-preview.toml b/providers/moonshotai-cn/models/kimi-k2-0905-preview.toml deleted file mode 120000 index d74c6ce2f56..00000000000 --- a/providers/moonshotai-cn/models/kimi-k2-0905-preview.toml +++ /dev/null @@ -1 +0,0 @@ -../../moonshotai/models/kimi-k2-0905-preview.toml \ No newline at end of file diff --git a/providers/moonshotai-cn/models/kimi-k2-thinking-turbo.toml b/providers/moonshotai-cn/models/kimi-k2-thinking-turbo.toml deleted file mode 120000 index 1f1081c786a..00000000000 --- a/providers/moonshotai-cn/models/kimi-k2-thinking-turbo.toml +++ /dev/null @@ -1 +0,0 @@ -../../moonshotai/models/kimi-k2-thinking-turbo.toml \ No newline at end of file diff --git a/providers/moonshotai-cn/models/kimi-k2-thinking.toml b/providers/moonshotai-cn/models/kimi-k2-thinking.toml deleted file mode 120000 index 31cc2adf45b..00000000000 --- a/providers/moonshotai-cn/models/kimi-k2-thinking.toml +++ /dev/null @@ -1 +0,0 @@ -../../moonshotai/models/kimi-k2-thinking.toml \ No newline at end of file diff --git a/providers/moonshotai-cn/models/kimi-k2-turbo-preview.toml b/providers/moonshotai-cn/models/kimi-k2-turbo-preview.toml deleted file mode 120000 index f2e9b0093e5..00000000000 --- a/providers/moonshotai-cn/models/kimi-k2-turbo-preview.toml +++ /dev/null @@ -1 +0,0 @@ -../../moonshotai/models/kimi-k2-turbo-preview.toml \ No newline at end of file diff --git a/providers/moonshotai-cn/models/kimi-k2.5.toml b/providers/moonshotai-cn/models/kimi-k2.5.toml deleted file mode 120000 index ec89508b7cd..00000000000 --- a/providers/moonshotai-cn/models/kimi-k2.5.toml +++ /dev/null @@ -1 +0,0 @@ -../../moonshotai/models/kimi-k2.5.toml \ No newline at end of file diff --git a/providers/moonshotai/models/kimi-k2-0711-preview.toml b/providers/moonshotai/models/kimi-k2-0711-preview.toml deleted file mode 100644 index 81ef972cb71..00000000000 --- a/providers/moonshotai/models/kimi-k2-0711-preview.toml +++ /dev/null @@ -1,24 +0,0 @@ -name = "Kimi K2 0711" -description = "Kimi model for long-context chat, coding, and agentic reasoning" -family = "kimi-k2" -release_date = "2025-07-14" -last_updated = "2025-07-14" -attachment = false -reasoning = false -temperature = true -tool_call = true -knowledge = "2024-10" -open_weights = true - -[cost] -input = 0.6 -output = 2.5 -cache_read = 0.15 - -[limit] -context = 131_072 -output = 16_384 - -[modalities] -input = ["text"] -output = ["text"] diff --git a/providers/moonshotai/models/kimi-k2-0905-preview.toml b/providers/moonshotai/models/kimi-k2-0905-preview.toml deleted file mode 100644 index cab06b8acdd..00000000000 --- a/providers/moonshotai/models/kimi-k2-0905-preview.toml +++ /dev/null @@ -1,24 +0,0 @@ -name = "Kimi K2 0905" -description = "Kimi model for long-context chat, coding, and agentic reasoning" -family = "kimi-k2" -release_date = "2025-09-05" -last_updated = "2025-09-05" -attachment = false -reasoning = false -temperature = true -tool_call = true -knowledge = "2024-10" -open_weights = true - -[cost] -input = 0.6 -output = 2.5 -cache_read = 0.15 - -[limit] -context = 262_144 -output = 262_144 - -[modalities] -input = ["text"] -output = ["text"] diff --git a/providers/moonshotai/models/kimi-k2-thinking-turbo.toml b/providers/moonshotai/models/kimi-k2-thinking-turbo.toml deleted file mode 100644 index 2f36a534239..00000000000 --- a/providers/moonshotai/models/kimi-k2-thinking-turbo.toml +++ /dev/null @@ -1,28 +0,0 @@ -name = "Kimi K2 Thinking Turbo" -description = "Kimi reasoning model for long-horizon research, planning, and tool use" -family = "kimi-thinking" -release_date = "2025-11-06" -last_updated = "2025-11-06" -attachment = false -reasoning = true -reasoning_options = [] -temperature = true -tool_call = true -knowledge = "2024-08" -open_weights = true - -[interleaved] -field = "reasoning_content" - -[cost] -input = 1.15 -output = 8 -cache_read = 0.15 - -[limit] -context = 262_144 -output = 262_144 - -[modalities] -input = ["text"] -output = ["text"] diff --git a/providers/moonshotai/models/kimi-k2-thinking.toml b/providers/moonshotai/models/kimi-k2-thinking.toml deleted file mode 100644 index ed8742f8f36..00000000000 --- a/providers/moonshotai/models/kimi-k2-thinking.toml +++ /dev/null @@ -1,28 +0,0 @@ -name = "Kimi K2 Thinking" -description = "Thinking Kimi model for slower research passes, planning, and hard technical questions" -family = "kimi-thinking" -release_date = "2025-11-06" -last_updated = "2025-11-06" -attachment = false -reasoning = true -reasoning_options = [] -temperature = true -tool_call = true -knowledge = "2024-08" -open_weights = true - -[interleaved] -field = "reasoning_content" - -[cost] -input = 0.6 -output = 2.5 -cache_read = 0.15 - -[limit] -context = 262_144 -output = 262_144 - -[modalities] -input = ["text"] -output = ["text"] diff --git a/providers/moonshotai/models/kimi-k2-turbo-preview.toml b/providers/moonshotai/models/kimi-k2-turbo-preview.toml deleted file mode 100644 index 262b7ad957e..00000000000 --- a/providers/moonshotai/models/kimi-k2-turbo-preview.toml +++ /dev/null @@ -1,24 +0,0 @@ -name = "Kimi K2 Turbo" -description = "Fast Kimi model for responsive chat, coding help, and agent loops" -family = "kimi-k2" -release_date = "2025-09-05" -last_updated = "2025-09-05" -attachment = false -reasoning = false -temperature = true -tool_call = true -knowledge = "2024-10" -open_weights = true - -[cost] -input = 2.4 -output = 10 -cache_read = 0.6 - -[limit] -context = 262_144 -output = 262_144 - -[modalities] -input = ["text"] -output = ["text"] diff --git a/providers/moonshotai/models/kimi-k2.5.toml b/providers/moonshotai/models/kimi-k2.5.toml deleted file mode 100644 index 9db35770f6b..00000000000 --- a/providers/moonshotai/models/kimi-k2.5.toml +++ /dev/null @@ -1,31 +0,0 @@ -name = "Kimi K2.5" -description = "Earlier Kimi frontier model for long-context agents, coding, and multimodal work" -family = "kimi-k2" -release_date = "2026-01" -last_updated = "2026-01" -attachment = true -reasoning = true -structured_output = true -temperature = false -tool_call = true -knowledge = "2025-01" -open_weights = true - -[interleaved] -field = "reasoning_content" - -[[reasoning_options]] -type = "toggle" - -[cost] -input = 0.6 -output = 3.0 -cache_read = 0.1 - -[limit] -context = 262_144 -output = 262_144 - -[modalities] -input = ["text", "image", "video"] -output = ["text"]