Explorar o código

added deepseeka api

rx7900@rx7900.com hai 1 mes
pai
achega
117c7b3434
Modificáronse 1 ficheiros con 46 adicións e 2 borrados
  1. 46 2
      config.json

+ 46 - 2
config.json

@@ -34,7 +34,7 @@
           "name": "Qwen3.8-flash-next-Q2_0",
           "limit": {
             "context": 128000,
-            "output": 32000 
+            "output": 32000
           },
           "cost": {
             "input": 0,
@@ -47,7 +47,7 @@
           "name": "Qwen3.8-flash-next-IQ2_XS",
           "limit": {
             "context": 128000,
-            "output": 32000 
+            "output": 32000
           },
           "cost": {
             "input": 0,
@@ -57,6 +57,50 @@
           }
         }
       }
+    },
+    "deepseek": {
+      "npm": "@ai-sdk/openai-compatible",
+      "name": "DeepSeek",
+      "options": {
+        "baseURL": "https://api.deepseek.com",
+        "apiKey": "{env:DEEPSEEK_API_KEY}"
+      },
+      "models": {
+        "deepseek-flash": {
+          "name": "DeepSeek Flash",
+          "limit": {
+            "context": 128000,
+            "output": 8192
+          },
+          "cost": {
+            "input": 0.14,
+            "output": 0.28,
+            "cache_read": 0.014,
+            "cache_write": 0.14
+          },
+          "options": {
+            "thinking": { "type": "enabled" },
+            "reasoning_effort": "high"
+          }
+        },
+        "deepseek-v4-pro": {
+          "name": "DeepSeek V4 Pro",
+          "limit": {
+            "context": 128000,
+            "output": 8192
+          },
+          "cost": {
+            "input": 0.55,
+            "output": 2.19,
+            "cache_read": 0.055,
+            "cache_write": 0.55
+          },
+          "options": {
+            "thinking": { "type": "enabled" },
+            "reasoning_effort": "high"
+          }
+        }
+      }
     }
   },
   "model": "qwen-local/qwen3.8"