chore:handle kimi k2.5 correctly for synthetic

Kujtim Hoxha created

Change summary

cmd/synthetic/main.go                     |  3 ++
internal/providers/configs/synthetic.json | 28 +++++++++++++++---------
2 files changed, 20 insertions(+), 11 deletions(-)

Detailed changes

cmd/synthetic/main.go 🔗

@@ -109,6 +109,9 @@ func applyModelOverrides(model *Model) {
 	case strings.HasPrefix(model.ID, "hf:moonshotai/Kimi-K2-Thinking"):
 		model.SupportedFeatures = []string{"tools", "reasoning"}
 
+	case strings.HasPrefix(model.ID, "hf:moonshotai/Kimi-K2.5"):
+		model.SupportedFeatures = []string{"tools", "reasoning"}
+
 	case strings.HasPrefix(model.ID, "hf:moonshotai/Kimi-K2"):
 		model.SupportedFeatures = []string{"tools"}
 

internal/providers/configs/synthetic.json 🔗

@@ -144,12 +144,12 @@
     {
       "id": "hf:moonshotai/Kimi-K2-Thinking",
       "name": "Kimi K2 Thinking",
-      "cost_per_1m_in": 0.55,
-      "cost_per_1m_out": 2.1900000000000004,
-      "cost_per_1m_in_cached": 0.55,
-      "cost_per_1m_out_cached": 0.55,
+      "cost_per_1m_in": 0.6,
+      "cost_per_1m_out": 2.5,
+      "cost_per_1m_in_cached": 0.6,
+      "cost_per_1m_out_cached": 0.6,
       "context_window": 262144,
-      "default_max_tokens": 32768,
+      "default_max_tokens": 26214,
       "can_reason": true,
       "reasoning_levels": [
         "low",
@@ -163,13 +163,19 @@
     {
       "id": "hf:moonshotai/Kimi-K2.5",
       "name": "Kimi K2.5",
-      "cost_per_1m_in": 1.2,
-      "cost_per_1m_out": 1.2,
-      "cost_per_1m_in_cached": 1.2,
-      "cost_per_1m_out_cached": 1.2,
+      "cost_per_1m_in": 0.55,
+      "cost_per_1m_out": 2.1900000000000004,
+      "cost_per_1m_in_cached": 0.55,
+      "cost_per_1m_out_cached": 0.55,
       "context_window": 262144,
-      "default_max_tokens": 26214,
-      "can_reason": false,
+      "default_max_tokens": 32768,
+      "can_reason": true,
+      "reasoning_levels": [
+        "low",
+        "medium",
+        "high"
+      ],
+      "default_reasoning_effort": "medium",
       "supports_attachments": true,
       "options": {}
     },