siliconcloud.ts 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. import type { InkosEndpoint } from "../types.js";
  2. export const SILICONCLOUD: InkosEndpoint = {
  3. id: "siliconcloud",
  4. label: "硅基流动",
  5. api: "openai-completions",
  6. baseUrl: "https://api.siliconflow.cn/v1",
  7. checkModel: "Qwen/Qwen2.5-7B-Instruct",
  8. temperatureRange: [0, 2],
  9. defaultTemperature: 0.7,
  10. writingTemperature: 1,
  11. models: [
  12. { id: "Qwen/Qwen3.5-397B-A17B", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-02-16" },
  13. { id: "Qwen/Qwen3.5-122B-A10B", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-02-26" },
  14. { id: "Qwen/Qwen3.5-35B-A3B", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-02-25" },
  15. { id: "Qwen/Qwen3.5-27B", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-02-25" },
  16. { id: "Qwen/Qwen3.5-9B", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-03-03" },
  17. { id: "Qwen/Qwen3.5-4B", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-03-03" },
  18. { id: "Pro/MiniMaxAI/MiniMax-M2.5", maxOutput: 4096, contextWindowTokens: 192000, releasedAt: "2026-02-13" },
  19. { id: "Pro/zai-org/glm-5", maxOutput: 4096, contextWindowTokens: 198000, releasedAt: "2026-02-12" },
  20. { id: "Pro/zai-org/GLM-5.1", maxOutput: 4096, contextWindowTokens: 198000, releasedAt: "2026-04-08" },
  21. { id: "zai-org/GLM-4.6V", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-12-08" },
  22. { id: "deepseek-ai/DeepSeek-V3.2", maxOutput: 4096, contextWindowTokens: 163840, enabled: true, releasedAt: "2025-12-01" },
  23. { id: "Pro/deepseek-ai/DeepSeek-V3.2", maxOutput: 4096, contextWindowTokens: 163840, releasedAt: "2025-12-01" },
  24. { id: "Pro/moonshotai/Kimi-K2.5", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-01-27" },
  25. { id: "qwen/qwen3.5-397b-a17b", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-03-03" },
  26. { id: "qwen/qwen3.5-122b-a10b", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-03-03" },
  27. { id: "qwen/qwen3.5-35b-a3b", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-03-03" },
  28. { id: "qwen/qwen3.5-27b", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-03-03" },
  29. { id: "qwen/qwen3.5-9b", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-03-03" },
  30. { id: "qwen/qwen3.5-4b", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2026-03-03" },
  31. { id: "Pro/zai-org/glm-4.7", maxOutput: 4096, contextWindowTokens: 200000, releasedAt: "2025-12-22" },
  32. { id: "moonshotai/Kimi-K2-Thinking", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2025-11-07" },
  33. { id: "Pro/moonshotai/Kimi-K2-Thinking", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2025-11-07" },
  34. { id: "MiniMaxAI/MiniMax-M2", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-10-28" },
  35. { id: "Qwen/Qwen3-VL-32B-Instruct", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2025-10-21" },
  36. { id: "Qwen/Qwen3-VL-32B-Thinking", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2025-10-21" },
  37. { id: "deepseek-ai/DeepSeek-OCR", maxOutput: 4096, contextWindowTokens: 8192, releasedAt: "2025-10-20" },
  38. { id: "Qwen/Qwen3-Omni-30B-A3B-Instruct", maxOutput: 4096, contextWindowTokens: 65536, releasedAt: "2025-09-22" },
  39. { id: "Qwen/Qwen3-Omni-30B-A3B-Thinking", maxOutput: 4096, contextWindowTokens: 65536, releasedAt: "2025-09-22" },
  40. { id: "Qwen/Qwen3-Omni-30B-A3B-Captioner", maxOutput: 4096, contextWindowTokens: 65536, releasedAt: "2025-09-22" },
  41. { id: "tencent/Hunyuan-MT-7B", maxOutput: 4096, contextWindowTokens: 32768, releasedAt: "2025-09-01" },
  42. { id: "Kwaipilot/KAT-Dev", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-09-27" },
  43. { id: "zai-org/GLM-4.6", maxOutput: 4096, contextWindowTokens: 198000, releasedAt: "2025-09-30" },
  44. { id: "Qwen/Qwen3-VL-30B-A3B-Instruct", maxOutput: 4096, contextWindowTokens: 256000 },
  45. { id: "Qwen/Qwen3-VL-30B-A3B-Thinking", maxOutput: 4096, contextWindowTokens: 256000 },
  46. { id: "Qwen/Qwen3-VL-235B-A22B-Instruct", maxOutput: 4096, contextWindowTokens: 256000 },
  47. { id: "Qwen/Qwen3-VL-235B-A22B-Thinking", maxOutput: 4096, contextWindowTokens: 256000 },
  48. { id: "deepseek-ai/DeepSeek-V3.1-Terminus", maxOutput: 4096, contextWindowTokens: 163840 },
  49. { id: "Pro/deepseek-ai/DeepSeek-V3.1-Terminus", maxOutput: 4096, contextWindowTokens: 163840 },
  50. { id: "Qwen/Qwen3-VL-8B-Instruct", maxOutput: 4096, contextWindowTokens: 256000, releasedAt: "2025-10-15" },
  51. { id: "Qwen/Qwen3-VL-8B-Thinking", maxOutput: 4096, contextWindowTokens: 256000, releasedAt: "2025-10-15" },
  52. { id: "inclusionAI/Ring-flash-2.0", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-09-19" },
  53. { id: "inclusionAI/Ling-flash-2.0", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-09-17" },
  54. { id: "inclusionAI/Ling-mini-2.0", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-09-09" },
  55. { id: "ByteDance-Seed/Seed-OSS-36B-Instruct", maxOutput: 4096, contextWindowTokens: 256000, releasedAt: "2025-08-20" },
  56. { id: "stepfun-ai/step3", maxOutput: 4096, contextWindowTokens: 65536, releasedAt: "2025-07-31" },
  57. { id: "Qwen/Qwen3-Coder-480B-A35B-Instruct", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2025-07-23" },
  58. { id: "Qwen/Qwen3-Coder-30B-A3B-Instruct", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2025-07-31" },
  59. { id: "zai-org/GLM-4.5V", maxOutput: 4096, contextWindowTokens: 65536, releasedAt: "2025-08-11" },
  60. { id: "zai-org/GLM-4.5-Air", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-07-28" },
  61. { id: "ascend-tribe/pangu-pro-moe", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-06-17" },
  62. { id: "baidu/ERNIE-4.5-300B-A47B", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-06-30" },
  63. { id: "moonshotai/Kimi-K2-Instruct-0905", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2025-09-05" },
  64. { id: "Pro/moonshotai/Kimi-K2-Instruct-0905", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2025-09-05" },
  65. { id: "moonshotai/Kimi-Dev-72B", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-06-17" },
  66. { id: "tencent/Hunyuan-A13B-Instruct", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-06-27" },
  67. { id: "MiniMaxAI/MiniMax-M1-80k", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-06-16" },
  68. { id: "Tongyi-Zhiwen/QwenLong-L1-32B", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-05-26" },
  69. { id: "Qwen/Qwen3-235B-A22B-Thinking-2507", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2025-07-25" },
  70. { id: "Qwen/Qwen3-235B-A22B-Instruct-2507", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2025-07-21" },
  71. { id: "Qwen/Qwen3-30B-A3B-Thinking-2507", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2025-07-30" },
  72. { id: "Qwen/Qwen3-30B-A3B-Instruct-2507", maxOutput: 4096, contextWindowTokens: 262144, releasedAt: "2025-07-29" },
  73. { id: "Qwen/Qwen3-32B", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-04-28" },
  74. { id: "Qwen/Qwen3-14B", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-04-28" },
  75. { id: "Qwen/Qwen3-8B", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-04-28" },
  76. { id: "THUDM/GLM-4.1V-9B-Thinking", maxOutput: 4096, contextWindowTokens: 65536, releasedAt: "2025-07-02" },
  77. { id: "Pro/THUDM/GLM-4.1V-9B-Thinking", maxOutput: 4096, contextWindowTokens: 65536, releasedAt: "2025-07-02" },
  78. { id: "THUDM/GLM-Z1-32B-0414", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-04-14" },
  79. { id: "THUDM/GLM-Z1-9B-0414", maxOutput: 4096, contextWindowTokens: 131072, releasedAt: "2025-04-14" },
  80. { id: "THUDM/GLM-4-32B-0414", maxOutput: 4096, contextWindowTokens: 32768, releasedAt: "2025-04-14" },
  81. { id: "THUDM/GLM-4-9B-0414", maxOutput: 4096, contextWindowTokens: 32768, releasedAt: "2025-04-14" },
  82. { id: "deepseek-ai/DeepSeek-R1-0528-Qwen3-8B", maxOutput: 4096, contextWindowTokens: 131072 },
  83. { id: "deepseek-ai/DeepSeek-R1", maxOutput: 4096, contextWindowTokens: 98304 },
  84. { id: "deepseek-ai/DeepSeek-V3", maxOutput: 4096, contextWindowTokens: 65536 },
  85. { id: "Pro/deepseek-ai/DeepSeek-R1", maxOutput: 4096, contextWindowTokens: 98304 },
  86. { id: "Pro/deepseek-ai/DeepSeek-V3", maxOutput: 4096, contextWindowTokens: 65536 },
  87. { id: "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B", maxOutput: 4096, contextWindowTokens: 131072 },
  88. { id: "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B", maxOutput: 4096, contextWindowTokens: 131072 },
  89. { id: "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B", maxOutput: 4096, contextWindowTokens: 131072 },
  90. { id: "Pro/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B", maxOutput: 4096, contextWindowTokens: 131072 },
  91. { id: "deepseek-ai/DeepSeek-V2.5", maxOutput: 4096, contextWindowTokens: 32768 },
  92. { id: "Qwen/QVQ-72B-Preview", maxOutput: 4096, contextWindowTokens: 32768 },
  93. { id: "Qwen/QwQ-32B", maxOutput: 4096, contextWindowTokens: 131072 },
  94. { id: "Qwen/Qwen2.5-7B-Instruct", maxOutput: 4096, contextWindowTokens: 32768 },
  95. { id: "Pro/Qwen/Qwen2.5-7B-Instruct", maxOutput: 4096, contextWindowTokens: 32768 },
  96. { id: "Qwen/Qwen2.5-14B-Instruct", maxOutput: 4096, contextWindowTokens: 32768 },
  97. { id: "Qwen/Qwen2.5-32B-Instruct", maxOutput: 4096, contextWindowTokens: 32768 },
  98. { id: "Qwen/Qwen2.5-72B-Instruct", maxOutput: 4096, contextWindowTokens: 32768 },
  99. { id: "Qwen/Qwen2.5-72B-Instruct-128K", maxOutput: 4096, contextWindowTokens: 131072 },
  100. { id: "Qwen/Qwen2.5-Coder-32B-Instruct", maxOutput: 4096, contextWindowTokens: 32768 },
  101. { id: "Qwen/Qwen2-VL-72B-Instruct", maxOutput: 4096, contextWindowTokens: 32768 },
  102. { id: "Qwen/Qwen2.5-VL-32B-Instruct", maxOutput: 4096, contextWindowTokens: 131072 },
  103. { id: "Qwen/Qwen2.5-VL-72B-Instruct", maxOutput: 4096, contextWindowTokens: 131072 },
  104. { id: "internlm/internlm2_5-7b-chat", maxOutput: 4096, contextWindowTokens: 32768 },
  105. ],
  106. };