Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

✨ feat: add StreamLake Provider support (#13651)

Zhijie He6d731dd1167e
diff --git a/locales/en-US/providers.json b/locales/en-US/providers.json
index 09562a402bb..4af374aabb1 100644
--- a/locales/en-US/providers.json
+++ b/locales/en-US/providers.json
@@ -60,6 +60,7 @@
"spark.description": "iFLYTEK Spark provides powerful multilingual AI across domains, enabling innovations in smart hardware, healthcare, finance, and other verticals.",
"stepfun.description": "Stepfun models offer leading multimodal and complex reasoning capabilities, with long-context understanding and powerful autonomous search orchestration.",
"straico.description": "Straico simplifies AI integration by providing a unified workspace that brings together top text, image, and audio generative AI models, empowering marketers, entrepreneurs, and enthusiasts with seamless access to diverse AI tools.",
+ "streamlake.description": "StreamLake is an enterprise-level model service and AI computing cloud platform, integrating high-performance model inference, low-cost model customization, and fully-managed services to help enterprises focus on AI application innovation without worrying about the complexity and cost of underlying computing resources.",
"taichu.description": "A next-generation multimodal model from CASIA and the Wuhan Institute of AI, supporting multi-turn QA, writing, image generation, 3D understanding, and signal analysis with stronger cognition and creativity.",
"tencentcloud.description": "LLM Knowledge Engine Atomic Power provides end-to-end knowledge QA for enterprises and developers, with modular services like document parsing, chunking, embeddings, and multi-turn rewriting to assemble custom AI solutions.",
"togetherai.description": "Together AI delivers leading performance with innovative models, broad customization, rapid scaling, and straightforward deployment for enterprise needs.",
diff --git a/locales/zh-CN/providers.json b/locales/zh-CN/providers.json
index 9c3c64dc3d8..e472eb6baaf 100644
--- a/locales/zh-CN/providers.json
+++ b/locales/zh-CN/providers.json
@@ -60,6 +60,7 @@
"spark.description": "讯飞星火提供强大的多语言 AI 能力,广泛应用于智能硬件、医疗、金融等垂直领域,推动创新发展。",
"stepfun.description": "Stepfun 模型具备领先的多模态与复杂推理能力,支持长文本理解与强大的自主搜索编排。",
"straico.description": "Straico 致力于简化 AI 集成,通过提供一个整合了顶尖文本、图像和音频生成式 AI 模型的统一工作空间,赋能营销人员、企业家及爱好者等各类用户,实现对多样化 AI 工具的无缝访问。",
+ "streamlake.description": "快手万擎是企业级模型服务与AI算力云平台,集成高性能模型推理、低成本模型定制与全托管服务,助力企业专注于AI应用创新,无需担忧底层算力的复杂性与成本。",
"taichu.description": "太初是中科院自动化所与武汉人工智能研究院联合研发的新一代多模态模型,支持多轮问答、写作、图像生成、3D 理解与信号分析,具备更强的认知与创造力。",
"tencentcloud.description": "腾讯云大模型知识引擎原子能力为企业与开发者提供端到端知识问答服务,支持文档解析、切分、向量化、多轮重写等模块化服务,助力构建定制 AI 方案。",
"togetherai.description": "Together AI 提供领先性能的创新模型,支持广泛定制、快速扩展与简便部署,满足企业需求。",
diff --git a/packages/model-bank/package.json b/packages/model-bank/package.json
index fe8ddeb778b..84eaf6feca5 100644
--- a/packages/model-bank/package.json
+++ b/packages/model-bank/package.json
@@ -67,6 +67,7 @@
"./spark": "./src/aiModels/spark.ts",
"./stepfun": "./src/aiModels/stepfun.ts",
"./straico": "./src/aiModels/straico.ts",
+ "./streamlake": "./src/aiModels/streamlake.ts",
"./taichu": "./src/aiModels/taichu.ts",
"./tencentcloud": "./src/aiModels/tencentcloud.ts",
"./togetherai": "./src/aiModels/togetherai.ts",
diff --git a/packages/model-bank/src/aiModels/index.ts b/packages/model-bank/src/aiModels/index.ts
index 2480d870976..10eb16b0950 100644
--- a/packages/model-bank/src/aiModels/index.ts
+++ b/packages/model-bank/src/aiModels/index.ts
@@ -62,6 +62,7 @@ import { default as siliconcloud } from './siliconcloud';
import { default as spark } from './spark';
import { default as stepfun } from './stepfun';
import { default as straico } from './straico';
+import { default as streamlake } from './streamlake';
import { default as taichu } from './taichu';
import { default as tencentcloud } from './tencentcloud';
import { default as togetherai } from './togetherai';
@@ -161,6 +162,7 @@ export const LOBE_DEFAULT_MODEL_LIST = buildDefaultModelList({
spark,
stepfun,
straico,
+ streamlake,
taichu,
tencentcloud,
togetherai,
@@ -241,6 +243,7 @@ export { default as siliconcloud } from './siliconcloud';
export { default as spark } from './spark';
export { default as stepfun } from './stepfun';
export { default as straico } from './straico';
+export { default as streamlake } from './streamlake';
export { default as taichu } from './taichu';
export { default as tencentcloud } from './tencentcloud';
export { default as togetherai } from './togetherai';
diff --git a/packages/model-bank/src/aiModels/minimax.ts b/packages/model-bank/src/aiModels/minimax.ts
index ed8a045acba..c7e8ff44666 100644
--- a/packages/model-bank/src/aiModels/minimax.ts
+++ b/packages/model-bank/src/aiModels/minimax.ts
@@ -5,55 +5,6 @@ import {
} from '../types/aiModel';
const minimaxChatModels: AIChatModelCard[] = [
- {
- abilities: {
- functionCall: true,
- reasoning: true,
- search: true,
- },
- contextWindowTokens: 204_800,
- description:
- 'Beginning the journey of recursive self-improvement. Optimized for top real-world engineering, professional office delivery, and character-rich interaction.',
- displayName: 'MiniMax M2.7',
- enabled: true,
- id: 'MiniMax-M2.7',
- maxOutput: 131_072,
- pricing: {
- currency: 'CNY',
- units: [
- { name: 'textInput_cacheRead', rate: 0.42, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheWrite', rate: 2.625, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 8.4, strategy: 'fixed', unit: 'millionTokens' },
- ],
- },
- releasedAt: '2026-03-18',
- type: 'chat',
- },
- {
- abilities: {
- functionCall: true,
- reasoning: true,
- search: true,
- },
- contextWindowTokens: 204_800,
- description:
- 'Same performance as M2.7, with significantly faster inference for low-latency coding and refactoring.',
- displayName: 'MiniMax M2.7 highspeed',
- id: 'MiniMax-M2.7-highspeed',
- maxOutput: 131_072,
- pricing: {
- currency: 'CNY',
- units: [
- { name: 'textInput_cacheRead', rate: 0.42, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheWrite', rate: 2.625, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput', rate: 4.2, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 16.8, strategy: 'fixed', unit: 'millionTokens' },
- ],
- },
- releasedAt: '2026-03-18',
- type: 'chat',
- },
{
abilities: {
functionCall: true,
diff --git a/packages/model-bank/src/aiModels/streamlake.ts b/packages/model-bank/src/aiModels/streamlake.ts
new file mode 100644
index 00000000000..19ae2828bd0
--- /dev/null
+++ b/packages/model-bank/src/aiModels/streamlake.ts
@@ -0,0 +1,418 @@
+import type { AIChatModelCard } from '../types/aiModel';
+
+const streamlakeModels: AIChatModelCard[] = [
+ {
+ abilities: {
+ functionCall: true,
+ structuredOutput: true,
+ },
+ contextWindowTokens: 262_144,
+ description:
+ 'The latest high-performance model from the Kuaishou Kwaipilot team, designed for complex enterprise projects and SaaS integration. It excels in code-related scenarios and is compatible with various types of agent frameworks (Claude Code, OpenCode, KiloCode), natively supports OpenClaw, and is optimized specifically for front-end page aesthetics.',
+ displayName: 'KAT-Coder-Pro-V2',
+ enabled: true,
+ id: 'KAT-Coder-Pro-V2',
+ maxOutput: 81_920,
+ pricing: {
+ units: [
+ { name: 'textInput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.42, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 8.4, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-03-25',
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ structuredOutput: true,
+ },
+ contextWindowTokens: 262_144,
+ description:
+ 'Designed for Agentic Coding, it comprehensively covers programming tasks and scenarios, achieving intelligent behavior emergence through large-scale reinforcement learning, significantly outperforming similar models in code writing performance.',
+ displayName: 'KAT-Coder-Pro-V1',
+ id: 'KAT-Coder-Pro-V1',
+ maxOutput: 32_768,
+ pricing: {
+ units: [
+ { name: 'textInput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.42, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 8.4, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2025-10-23',
+ type: 'chat',
+ },
+ {
+ abilities: {
+ structuredOutput: true,
+ },
+ contextWindowTokens: 131_072,
+ description:
+ 'KAT-Coder-Exp-72B is the RL innovation experimental version in the KAT-Coder series, achieving a remarkable performance of 74.6% on the SWE-Bench verified benchmark, setting a new record for open-source models. It focuses on Agentic Coding and currently only supports the SWE-Agent scaffold, but can also be used for simple conversations.',
+ displayName: 'KAT-Coder-Exp-72B-1010',
+ id: 'KAT-Coder-Exp-72B-1010',
+ maxOutput: 32_768,
+ pricing: {
+ units: [
+ { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2025-10-15',
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ structuredOutput: true,
+ },
+ contextWindowTokens: 131_072,
+ description:
+ 'A lightweight version within the KAT-Coder series. Specifically designed for Agentic Coding, it comprehensively covers programming tasks and scenarios. Leveraging large-scale agent-based reinforcement learning, it enables emergent intelligent behaviors and significantly outperforms comparable models in coding performance.',
+ displayName: 'KAT-Coder-Air-V1',
+ enabled: true,
+ id: 'KAT-Coder-Air-V1',
+ maxOutput: 32_768,
+ pricing: {
+ units: [
+ { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2025-10-15',
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ },
+ contextWindowTokens: 200_000,
+ description:
+ 'GLM-5-Turbo is a foundation model deeply optimized for agentic scenarios. It has been specifically optimized for core requirements of agent tasks from the training phase, enhancing key capabilities such as tool invocation, command following, and long-chain execution. It is ideal for building high-performance agent assistants.',
+ displayName: 'GLM-5-Turbo',
+ id: 'GLM-5-Turbo',
+ maxOutput: 131_072,
+ pricing: {
+ currency: 'CNY',
+ units: [
+ {
+ lookup: {
+ prices: {
+ '[0, 0.032]': 1.2,
+ '[0.032, infinity]': 1.8,
+ },
+ pricingParams: ['textInput'],
+ },
+ name: 'textInput_cacheRead',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ {
+ lookup: {
+ prices: {
+ '[0, 0.032]': 5,
+ '[0.032, infinity]': 7,
+ },
+ pricingParams: ['textInput'],
+ },
+ name: 'textInput',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ {
+ lookup: {
+ prices: {
+ '[0, 0.032]': 22,
+ '[0.032, infinity]': 26,
+ },
+ pricingParams: ['textInput'],
+ },
+ name: 'textOutput',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ ],
+ },
+ releasedAt: '2026-03-15',
+ settings: {
+ extendParams: ['enableReasoning'],
+ },
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ },
+ contextWindowTokens: 200_000,
+ description:
+ 'GLM-5 is Zhipu’s next-generation flagship foundation model, purpose-built for Agentic Engineering. It delivers reliable productivity in complex systems engineering and long-horizon agentic tasks. In coding and agent capabilities, GLM-5 achieves state-of-the-art performance among open-source models. In real-world programming scenarios, its user experience approaches that of Claude Opus 4.5. It excels at complex systems engineering and long-horizon agent tasks, making it an ideal foundation model for general-purpose agent assistants.',
+ displayName: 'GLM-5',
+ id: 'GLM-5',
+ maxOutput: 131_072,
+ pricing: {
+ currency: 'CNY',
+ units: [
+ {
+ lookup: {
+ prices: {
+ '[0, 0.032]': 1,
+ '[0.032, infinity]': 1.5,
+ },
+ pricingParams: ['textInput'],
+ },
+ name: 'textInput_cacheRead',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ {
+ lookup: {
+ prices: {
+ '[0, 0.032]': 4,
+ '[0.032, infinity]': 6,
+ },
+ pricingParams: ['textInput'],
+ },
+ name: 'textInput',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ {
+ lookup: {
+ prices: {
+ '[0, 0.032]': 18,
+ '[0.032, infinity]': 22,
+ },
+ pricingParams: ['textInput'],
+ },
+ name: 'textOutput',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ ],
+ },
+ releasedAt: '2026-02-12',
+ settings: {
+ extendParams: ['enableReasoning'],
+ },
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ },
+ contextWindowTokens: 204_800,
+ description:
+ 'First self-evolving model with top-tier coding and agentic performance (~60 tps).',
+ displayName: 'MiniMax M2.7',
+ id: 'MiniMax-M2.7',
+ maxOutput: 131_072,
+ pricing: {
+ currency: 'CNY',
+ units: [
+ { name: 'textInput_cacheRead', rate: 0.42, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 2.625, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 8.4, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-03-18',
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ },
+ contextWindowTokens: 204_800,
+ description:
+ 'Top-tier performance and ultimate cost-effectiveness, easily handling complex tasks (approx. 60 tps).',
+ displayName: 'MiniMax M2.5',
+ id: 'MiniMax-M2.5',
+ maxOutput: 131_072,
+ pricing: {
+ currency: 'CNY',
+ units: [
+ { name: 'textInput_cacheRead', rate: 0.21, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 2.625, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 8.4, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-02-12',
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ vision: true,
+ video: true,
+ },
+ contextWindowTokens: 262_144,
+ description:
+ 'Kimi K2.5 is the most capable Kimi model, delivering open-source SOTA in agent tasks, coding, and vision understanding. It supports multimodal inputs and both thinking and non-thinking modes.',
+ displayName: 'Kimi K2.5',
+ id: 'Kimi-K2.5',
+ maxOutput: 32_768,
+ pricing: {
+ currency: 'CNY',
+ units: [
+ { name: 'textInput', rate: 4, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.7, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 21, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-01-27',
+ settings: {
+ extendParams: ['enableReasoning'],
+ },
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ video: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_000_000,
+ description:
+ 'Qwen3.5 Plus supports text, image, and video input. Its performance on pure text tasks is comparable to Qwen3 Max, with better performance and lower cost. Its multimodal capabilities are significantly improved compared to the Qwen3 VL series.',
+ displayName: 'Qwen3.5 Plus',
+ id: 'Qwen3.5-Plus',
+ maxOutput: 65_536,
+ organization: 'Qwen',
+ pricing: {
+ currency: 'CNY',
+ units: [
+ {
+ lookup: {
+ prices: {
+ '[0, 0.128]': 0.8,
+ '[0.128, 0.256]': 2,
+ '[0.256, infinity]': 4,
+ },
+ pricingParams: ['textInputRange'],
+ },
+ name: 'textInput',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ {
+ lookup: {
+ prices: {
+ '[0, 0.128]': 4.8,
+ '[0.128, 0.256]': 12,
+ '[0.256, infinity]': 24,
+ },
+ pricingParams: ['textInputRange'],
+ },
+ name: 'textOutput',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ ],
+ },
+ releasedAt: '2026-02-15',
+ settings: {
+ extendParams: ['enableReasoning'],
+ },
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ structuredOutput: true,
+ },
+ contextWindowTokens: 1_000_000,
+ description:
+ 'MiMo-V2-Pro is specifically designed for high-intensity agent workflows in real-world scenarios. It features over 1 trillion total parameters (42B activated parameters), adopts an innovative hybrid attention architecture, and supports an ultra-long context length of up to 1 million tokens. Built on a powerful foundational model, we continuously scale computational resources across a broader range of agent scenarios, further expanding the action space of intelligence and achieving significant generalization—from coding to real-world task execution (“claw”).',
+ displayName: 'MiMo-V2 Pro',
+ id: 'MiMo-V2-Pro',
+ maxOutput: 131_072,
+ pricing: {
+ currency: 'CNY',
+ units: [
+ {
+ name: 'textInput',
+ strategy: 'tiered',
+ tiers: [
+ { rate: 7, upTo: 0.256 },
+ { rate: 14, upTo: 'infinity' },
+ ],
+ unit: 'millionTokens',
+ },
+ {
+ name: 'textOutput',
+ strategy: 'tiered',
+ tiers: [
+ { rate: 21, upTo: 0.256 },
+ { rate: 42, upTo: 'infinity' },
+ ],
+ unit: 'millionTokens',
+ },
+ ],
+ },
+ releasedAt: '2026-03-18',
+ settings: {
+ extendParams: ['enableReasoning'],
+ },
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ },
+ contextWindowTokens: 131_072,
+ description:
+ 'deepseek-v3.2 introduces sparse attention mechanism, aiming to improve training and inference efficiency when processing long texts, priced lower than deepseek-v3.1.',
+ displayName: 'DeepSeek V3.2',
+ id: 'DeepSeek-V3.2',
+ maxOutput: 65_536,
+ pricing: {
+ currency: 'CNY',
+ units: [
+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2025-12-01',
+ settings: {
+ extendParams: ['enableReasoning'],
+ },
+ type: 'chat',
+ },
+ {
+ abilities: {
+ vision: true,
+ },
+ contextWindowTokens: 8192,
+ description:
+ 'DeepSeek-OCR is a vision-language model from DeepSeek AI focused on OCR and "context optical compression." It explores compressing context from images, efficiently processes documents, and converts them to structured text (e.g., Markdown). It accurately recognizes text in images, suited for document digitization, text extraction, and structured processing.',
+ displayName: 'DeepSeek OCR',
+ id: 'DeepSeek-OCR',
+ pricing: {
+ currency: 'CNY',
+ units: [
+ { name: 'textInput', rate: 0.216, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 0.216, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2025-10-20',
+ type: 'chat',
+ },
+];
+
+export const allModels = [...streamlakeModels];
+
+export default allModels;
diff --git a/packages/model-bank/src/const/modelProvider.ts b/packages/model-bank/src/const/modelProvider.ts
index d254324bd8d..95b66c321c3 100644
--- a/packages/model-bank/src/const/modelProvider.ts
+++ b/packages/model-bank/src/const/modelProvider.ts
@@ -60,6 +60,7 @@ export enum ModelProvider {
Spark = 'spark',
Stepfun = 'stepfun',
Straico = 'straico',
+ StreamLake = 'streamlake',
Taichu = 'taichu',
TencentCloud = 'tencentcloud',
TogetherAI = 'togetherai',
diff --git a/packages/model-bank/src/modelProviders/index.ts b/packages/model-bank/src/modelProviders/index.ts
index c6727611c36..34064ffbd76 100644
--- a/packages/model-bank/src/modelProviders/index.ts
+++ b/packages/model-bank/src/modelProviders/index.ts
@@ -63,6 +63,7 @@ import SiliconCloudProvider from './siliconcloud';
import SparkProvider from './spark';
import StepfunProvider from './stepfun';
import StraicoProvider from './straico';
+import StreamLakeProvider from './streamlake';
import TaichuProvider from './taichu';
import TencentcloudProvider from './tencentcloud';
import TogetherAIProvider from './togetherai';
@@ -216,6 +217,7 @@ export const DEFAULT_MODEL_PROVIDER_LIST = [
StraicoProvider,
XiaomiMiMoProvider,
LongCatProvider,
+ StreamLakeProvider,
];
export const filterEnabledModels = (provider: ModelProviderCard) => {
@@ -290,6 +292,7 @@ export { default as SiliconCloudProviderCard } from './siliconcloud';
export { default as SparkProviderCard } from './spark';
export { default as StepfunProviderCard } from './stepfun';
export { default as StraicoProviderCard } from './straico';
+export { default as StreamLakeProviderCard } from './streamlake';
export { default as TaichuProviderCard } from './taichu';
export { default as TencentCloudProviderCard } from './tencentcloud';
export { default as TogetherAIProviderCard } from './togetherai';
diff --git a/packages/model-bank/src/modelProviders/streamlake.ts b/packages/model-bank/src/modelProviders/streamlake.ts
new file mode 100644
index 00000000000..0bddaa4d162
--- /dev/null
+++ b/packages/model-bank/src/modelProviders/streamlake.ts
@@ -0,0 +1,22 @@
+import { type ModelProviderCard } from '@/types/llm';
+
+const StreamLake: ModelProviderCard = {
+ chatModels: [],
+ checkModel: 'KAT-Coder-Air-V1',
+ description:
+ 'StreamLake is an enterprise-level model service and AI computing cloud platform, integrating high-performance model inference, low-cost model customization, and fully-managed services to help enterprises focus on AI application innovation without worrying about the complexity and cost of underlying computing resources.',
+ id: 'streamlake',
+ modelsUrl: 'https://www.streamlake.com/document/WANQING/mdrax1ixkgpgh1ms1na',
+ name: 'StreamLake',
+ settings: {
+ //disableBrowserRequest: false,
+ proxyUrl: {
+ placeholder: 'https://wanqing.streamlakeapi.com/api/gateway/v1/endpoints',
+ },
+ sdkType: 'openai',
+ showModelFetcher: false,
+ },
+ url: 'https://www.streamlake.com/product/wanqing',
+};
+
+export default StreamLake;
diff --git a/packages/model-runtime/src/index.ts b/packages/model-runtime/src/index.ts
index 8da1703656e..8cabd366aef 100644
--- a/packages/model-runtime/src/index.ts
+++ b/packages/model-runtime/src/index.ts
@@ -38,6 +38,7 @@ export { LobePerplexityAI } from './providers/perplexity';
export { LobeQwenAI } from './providers/qwen';
export { LobeStepfunAI } from './providers/stepfun';
export { LobeStraicoAI } from './providers/straico';
+export { LobeStreamLakeAI } from './providers/streamlake';
export { LobeTogetherAI } from './providers/togetherai';
export { LobeVolcengineAI } from './providers/volcengine';
export { LobeVolcengineCodingPlanAI } from './providers/volcengineCodingPlan';
diff --git a/packages/model-runtime/src/providers/streamlake/index.ts b/packages/model-runtime/src/providers/streamlake/index.ts
new file mode 100644
index 00000000000..8451fce5d7d
--- /dev/null
+++ b/packages/model-runtime/src/providers/streamlake/index.ts
@@ -0,0 +1,22 @@
+import { ModelProvider } from 'model-bank';
+
+import { createOpenAICompatibleRuntime } from '../../core/openaiCompatibleFactory';
+
+export const LobeStreamLakeAI = createOpenAICompatibleRuntime({
+ baseURL: 'https://wanqing.streamlakeapi.com/api/gateway/v1/endpoints',
+ chatCompletion: {
+ handlePayload: (payload) => {
+ const { thinking, ...rest } = payload;
+
+ return {
+ ...rest,
+ enable_thinking:
+ thinking?.type === 'enabled' ? true : thinking?.type === 'disabled' ? false : undefined,
+ } as any;
+ },
+ },
+ debug: {
+ chatCompletion: () => process.env.DEBUG_STREAMLAKE_CHAT_COMPLETION === '1',
+ },
+ provider: ModelProvider.StreamLake,
+});
diff --git a/packages/model-runtime/src/runtimeMap.ts b/packages/model-runtime/src/runtimeMap.ts
index 94cfa3c6b0e..53530614b83 100644
--- a/packages/model-runtime/src/runtimeMap.ts
+++ b/packages/model-runtime/src/runtimeMap.ts
@@ -59,6 +59,7 @@ import { LobeSiliconCloudAI } from './providers/siliconcloud';
import { LobeSparkAI } from './providers/spark';
import { LobeStepfunAI } from './providers/stepfun';
import { LobeStraicoAI } from './providers/straico';
+import { LobeStreamLakeAI } from './providers/streamlake';
import { LobeTaichuAI } from './providers/taichu';
import { LobeTencentCloudAI } from './providers/tencentcloud';
import { LobeTogetherAI } from './providers/togetherai';
@@ -139,6 +140,7 @@ export const providerRuntimeMap = {
spark: LobeSparkAI,
stepfun: LobeStepfunAI,
straico: LobeStraicoAI,
+ streamlake: LobeStreamLakeAI,
taichu: LobeTaichuAI,
tencentcloud: LobeTencentCloudAI,
togetherai: LobeTogetherAI,
diff --git a/src/envs/llm.ts b/src/envs/llm.ts
index 74066cf5329..555966a8252 100644
--- a/src/envs/llm.ts
+++ b/src/envs/llm.ts
@@ -227,6 +227,9 @@ export const getLLMConfig = () => {
ENABLED_LONGCAT: z.boolean(),
LONGCAT_API_KEY: z.string().optional(),
+
+ ENABLED_STREAMLAKE: z.boolean(),
+ STREAMLAKE_API_KEY: z.string().optional(),
},
runtimeEnv: {
API_KEY_SELECT_MODE: process.env.API_KEY_SELECT_MODE,
@@ -453,6 +456,9 @@ export const getLLMConfig = () => {
ENABLED_LONGCAT: !!process.env.LONGCAT_API_KEY,
LONGCAT_API_KEY: process.env.LONGCAT_API_KEY,
+
+ ENABLED_STREAMLAKE: !!process.env.STREAMLAKE_API_KEY,
+ STREAMLAKE_API_KEY: process.env.STREAMLAKE_API_KEY,
},
});
};