Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

feat: add SiliconFlow model catalog entries (#20596)

buua436fceacbfb2718
diff --git a/conf/models/siliconflow.json b/conf/models/siliconflow.json
index 1af429e661..58caa25a81 100644
--- a/conf/models/siliconflow.json
+++ b/conf/models/siliconflow.json
@@ -2,7 +2,8 @@
"name": "SILICONFLOW",
"rank": 980,
"url": {
- "default": "https://api.siliconflow.cn/v1"
+ "default": "https://api.siliconflow.cn/v1",
+ "intl": "https://api.siliconflow.com/v1"
},
"url_suffix": {
"chat": "chat/completions",
@@ -76,7 +77,7 @@
}
},
{
- "name": "qwen/qwen3-8b",
+ "name": "Qwen/Qwen3-8B",
"context_length": 131072,
"max_output": 32768,
"model_types": [
@@ -87,7 +88,7 @@
}
},
{
- "name": "qwen/qwen3.5-4b",
+ "name": "Qwen/Qwen3.5-4B",
"context_length": 262144,
"max_output": 32768,
"model_types": [
@@ -98,7 +99,7 @@
}
},
{
- "name": "tencent/hunyuan-mt-7b",
+ "name": "tencent/Hunyuan-MT-7B",
"context_length": 32768,
"max_output": 8192,
"model_types": [
@@ -153,6 +154,1188 @@
"model_types": [
"asr"
]
+ },
+ {
+ "name": "BAAI/bge-large-en-v1.5",
+ "model_types": [
+ "embedding"
+ ],
+ "max_tokens": 512,
+ "max_dimension": 1024,
+ "max_batch_size": 2048,
+ "tokenizer": "bert-wordpiece"
+ },
+ {
+ "name": "BAAI/bge-large-zh-v1.5",
+ "model_types": [
+ "embedding"
+ ],
+ "max_tokens": 512,
+ "max_batch_size": 2048,
+ "tokenizer": "bert-wordpiece"
+ },
+ {
+ "name": "ByteDance-Seed/Seed-OSS-36B-Instruct",
+ "context_length": 256000,
+ "max_output": 256000,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-OCR",
+ "model_types": [
+ "ocr"
+ ]
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-R1",
+ "context_length": 131072,
+ "max_output": 32768,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-R1-0528-Qwen3-8B",
+ "context_length": 131072,
+ "max_output": 131072,
+ "model_types": [
+ "chat"
+ ]
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-V3",
+ "context_length": 131072,
+ "max_output": 8192,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-V3.1",
+ "context_length": 131072,
+ "max_output": 8192,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-V3.1-Terminus",
+ "context_length": 131072,
+ "max_output": 8192,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-V3.2",
+ "context_length": 131072,
+ "max_output": 8192,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-V3.2-Exp",
+ "context_length": 131072,
+ "max_output": 8192,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-V4-Flash",
+ "context_length": 1048576,
+ "max_output": 393216,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-V4-Flash-0731",
+ "context_length": 1048576,
+ "max_output": 393216,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-V4-Flash-Vision-Exp",
+ "context_length": 1048576,
+ "max_output": 393216,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-V4-Pro",
+ "context_length": 1048576,
+ "max_output": 393216,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-V4-Pro-0813",
+ "context_length": 1048576,
+ "max_output": 393216,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "deepseek-ai/DeepSeek-V4.1-Flash",
+ "context_length": 1048576,
+ "max_output": 393216,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "fishaudio/fish-speech-1.5",
+ "model_types": [
+ "tts",
+ "asr"
+ ]
+ },
+ {
+ "name": "google/gemma-4-12B-it",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "google/gemma-4-26B-A4B-it",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "google/gemma-4-31B-it",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ]
+ },
+ {
+ "name": "inclusionAI/Ling-flash-2.0",
+ "context_length": 128000,
+ "max_output": 128000,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "inclusionAI/Ling-mini-2.0",
+ "context_length": 128000,
+ "max_output": 128000,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "IndexTeam/IndexTTS-2",
+ "model_types": [
+ "tts"
+ ],
+ "max_tokens": 1000
+ },
+ {
+ "name": "LoRA/Qwen/Qwen2.5-14B-Instruct",
+ "context_length": 32768,
+ "max_output": 4096,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "LoRA/Qwen/Qwen2.5-32B-Instruct",
+ "context_length": 32768,
+ "max_output": 4096,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "LoRA/Qwen/Qwen2.5-72B-Instruct",
+ "context_length": 32768,
+ "max_output": 4096,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "LoRA/Qwen/Qwen2.5-7B-Instruct",
+ "context_length": 32768,
+ "max_output": 4096,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "meituan-longcat/LongCat-2.0",
+ "context_length": 1048576,
+ "max_output": 131072,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "MiniMaxAI/MiniMax-M3",
+ "context_length": 1048576,
+ "max_output": 131072,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "moonshotai/Kimi-K2.5",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "moonshotai/Kimi-K2.6",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "moonshotai/Kimi-K2.7-Code",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "moonshotai/Kimi-K3",
+ "context_length": 1048576,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "openai/gpt-oss-120b",
+ "context_length": 131072,
+ "max_output": 131072,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "openai/gpt-oss-20b",
+ "context_length": 131072,
+ "max_output": 131072,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "PaddlePaddle/PaddleOCR-VL-1.5",
+ "context_length": 131072,
+ "model_types": [
+ "chat",
+ "vision"
+ ]
+ },
+ {
+ "name": "Pro/BAAI/bge-m3",
+ "model_types": [
+ "embedding"
+ ],
+ "max_tokens": 8192,
+ "max_dimension": 1024,
+ "max_batch_size": 32,
+ "dimensions": [],
+ "tokenizer": "xlmr-spm"
+ },
+ {
+ "name": "Pro/BAAI/bge-reranker-v2-m3",
+ "model_types": [
+ "rerank"
+ ],
+ "max_tokens": 8192,
+ "tokenizer": "xlmr-spm"
+ },
+ {
+ "name": "Pro/deepseek-ai/DeepSeek-R1",
+ "context_length": 131072,
+ "max_output": 65536,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Pro/deepseek-ai/DeepSeek-V3",
+ "context_length": 163840,
+ "max_output": 163840,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Pro/deepseek-ai/DeepSeek-V3.1-Terminus",
+ "context_length": 131072,
+ "max_output": 8192,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Pro/deepseek-ai/DeepSeek-V3.2",
+ "context_length": 131072,
+ "max_output": 8192,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Pro/Qwen/Qwen2.5-7B-Instruct",
+ "context_length": 32000,
+ "max_output": 32000,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen2.5-14B-Instruct",
+ "context_length": 32768,
+ "max_output": 4096,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen2.5-32B-Instruct",
+ "context_length": 32768,
+ "max_output": 4096,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen2.5-72B-Instruct",
+ "context_length": 32768,
+ "max_output": 4096,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen2.5-72B-Instruct-128K",
+ "context_length": 128000,
+ "max_output": 128000,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen2.5-7B-Instruct",
+ "context_length": 32768,
+ "max_output": 4096,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-14B",
+ "context_length": 131072,
+ "max_output": 131072,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-30B-A3B-Instruct-2507",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-32B",
+ "context_length": 131072,
+ "max_output": 131072,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-ASR-1.7B",
+ "model_types": [
+ "asr"
+ ]
+ },
+ {
+ "name": "Qwen/Qwen3-Coder-30B-A3B-Instruct",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-Embedding-4B",
+ "model_types": [
+ "embedding"
+ ],
+ "max_tokens": 32000,
+ "max_dimension": 2560,
+ "max_batch_size": 1024,
+ "dimensions": [],
+ "tokenizer": "qwen-bpe"
+ },
+ {
+ "name": "Qwen/Qwen3-Embedding-8B",
+ "model_types": [
+ "embedding"
+ ],
+ "max_tokens": 32000,
+ "max_dimension": 4096,
+ "max_batch_size": 32,
+ "dimensions": [],
+ "tokenizer": "qwen-bpe"
+ },
+ {
+ "name": "Qwen/Qwen3-Omni-30B-A3B-Captioner",
+ "context_length": 65536,
+ "max_output": 65536,
+ "model_types": [
+ "asr",
+ "vision",
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-Omni-30B-A3B-Instruct",
+ "context_length": 65536,
+ "max_output": 65536,
+ "model_types": [
+ "chat",
+ "vision",
+ "asr",
+ "tts"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-Omni-30B-A3B-Thinking",
+ "context_length": 65536,
+ "max_output": 65536,
+ "model_types": [
+ "chat",
+ "vision",
+ "asr"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-Reranker-0.6B",
+ "model_types": [
+ "rerank"
+ ],
+ "max_tokens": 32000,
+ "tokenizer": "qwen-bpe"
+ },
+ {
+ "name": "Qwen/Qwen3-Reranker-4B",
+ "model_types": [
+ "rerank"
+ ],
+ "max_tokens": 32000,
+ "tokenizer": "qwen-bpe"
+ },
+ {
+ "name": "Qwen/Qwen3-Reranker-8B",
+ "model_types": [
+ "rerank"
+ ],
+ "max_tokens": 32000,
+ "tokenizer": "qwen-bpe"
+ },
+ {
+ "name": "Qwen/Qwen3-VL-30B-A3B-Instruct",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision",
+ "ocr"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-VL-30B-A3B-Thinking",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-VL-32B-Instruct",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-VL-32B-Thinking",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-VL-8B-Instruct",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-VL-8B-Thinking",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3-VL-Embedding-8B",
+ "model_types": [
+ "embedding"
+ ],
+ "max_tokens": 32000,
+ "max_dimension": 4096,
+ "max_batch_size": 2048,
+ "dimensions": []
+ },
+ {
+ "name": "Qwen/Qwen3-VL-Reranker-8B",
+ "model_types": [
+ "rerank"
+ ],
+ "max_tokens": 32000
+ },
+ {
+ "name": "Qwen/Qwen3.5-122B-A10B",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3.5-27B",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3.5-35B-A3B",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3.5-9B",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3.6-27B",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3.6-35B-A3B",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3.8-2.4T-A95B",
+ "context_length": 1048576,
+ "max_output": 131072,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "Qwen/Qwen3.8-27B",
+ "context_length": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "stepfun-ai/Step-3.5-Flash",
+ "context_length": 262144,
+ "max_output": 32768,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "tencent/Hunyuan-A13B-Instruct",
+ "context_length": 262144,
+ "max_output": 8192,
+ "model_types": [
+ "chat"
+ ]
+ },
+ {
+ "name": "tencent/Hy3",
+ "context_length": 262144,
+ "max_output": 262144,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "tencent/Hy4-preview",
+ "context_length": 1048576,
+ "max_output": 262144,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "THUDM/GLM-4-32B-0414",
+ "context_length": 128000,
+ "max_output": 128000,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "THUDM/GLM-4-9B-0414",
+ "context_length": 32000,
+ "max_output": 32000,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "THUDM/GLM-Z1-9B-0414",
+ "context_length": 128000,
+ "max_output": 128000,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "XingChenAGI/Xing4.0-29B",
+ "context_length": 262144,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "XingChenAGI/XingChenASR-Diarize-V3.0",
+ "model_types": [
+ "asr"
+ ]
+ },
+ {
+ "name": "XingChenAGI/XingChenASR-V3.2",
+ "model_types": [
+ "asr"
+ ]
+ },
+ {
+ "name": "XingChenAGI/XingChenASR-V3.2-Ultra",
+ "model_types": [
+ "asr"
+ ]
+ },
+ {
+ "name": "XingChenAGI/XingChenGSR-V1.0",
+ "model_types": [
+ "asr"
+ ]
+ },
+ {
+ "name": "zai-org/GLM-4.5-Air",
+ "context_length": 128000,
+ "max_output": 96000,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "zai-org/GLM-4.5V",
+ "context_length": 65536,
+ "max_output": 16384,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "zai-org/GLM-5",
+ "context_length": 200000,
+ "max_output": 128000,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "zai-org/GLM-5.1",
+ "context_length": 200000,
+ "max_output": 128000,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "zai-org/GLM-5.2",
+ "context_length": 1048576,
+ "max_output": 262144,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "zai-org/GLM-5.3",
+ "context_length": 1048576,
+ "max_output": 128000,
+ "model_types": [
+ "chat"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "zai-org/GLM-5.3-Flash",
+ "context_length": 1048576,
+ "max_output": 262144,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
+ },
+ {
+ "name": "zai-org/GLM-5V-Turbo",
+ "context_length": 204800,
+ "max_output": 131072,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ },
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ }
}
]
}
diff --git a/internal/entity/models/model_test.go b/internal/entity/models/model_test.go
index 7ada1845e3..1dc1ee5397 100644
--- a/internal/entity/models/model_test.go
+++ b/internal/entity/models/model_test.go
@@ -433,7 +433,7 @@ func TestPPIOProviderConfigLoadsIntoProviderManager(t *testing.T) {
}
}
-func TestSiliconFlowProviderConfigLoadsLatestProModels(t *testing.T) {
+func TestSiliconFlowProviderConfigLoadsCNAndIntlModelUnion(t *testing.T) {
dir, restore := setupProviderTestDir(t, "siliconflow.json")
defer restore()
@@ -450,6 +450,9 @@ func TestSiliconFlowProviderConfigLoadsLatestProModels(t *testing.T) {
if provider.URL["default"] != "https://api.siliconflow.cn/v1" {
t.Errorf("default URL=%q", provider.URL["default"])
}
+ if provider.URL["intl"] != "https://api.siliconflow.com/v1" {
+ t.Errorf("intl URL=%q", provider.URL["intl"])
+ }
if provider.URLSuffix.Chat != "chat/completions" {
t.Errorf("chat suffix=%q", provider.URLSuffix.Chat)
}
@@ -459,8 +462,118 @@ func TestSiliconFlowProviderConfigLoadsLatestProModels(t *testing.T) {
if provider.ModelDriver.Name() != "SILICONFLOW" {
t.Errorf("ModelDriver.Name()=%q", provider.ModelDriver.Name())
}
- if len(provider.Models) != 13 {
- t.Fatalf("SILICONFLOW model count=%d, want 13", len(provider.Models))
+ if len(provider.Models) != 111 {
+ t.Fatalf("SILICONFLOW model count=%d, want 111", len(provider.Models))
+ }
+
+ for _, modelName := range []string{
+ "tencent/Hy4-preview",
+ "XingChenAGI/XingChenASR-V3.2",
+ "Qwen/Qwen3-Reranker-8B",
+ "IndexTeam/IndexTTS-2",
+ } {
+ if _, err := pm.GetModelByName("SILICONFLOW", modelName); err != nil {
+ t.Errorf("GetModelByName %q: %v", modelName, err)
+ }
+ }
+
+ asrModel, err := pm.GetModelByName("SILICONFLOW", "XingChenAGI/XingChenASR-V3.2")
+ if err != nil {
+ t.Fatalf("GetModelByName XingChenASR: %v", err)
+ }
+ if !asrModel.ModelTypeMap["asr"] {
+ t.Errorf("XingChenASR model types=%v, want asr", asrModel.ModelTypes)
+ }
+
+ rerankModel, err := pm.GetModelByName("SILICONFLOW", "Qwen/Qwen3-Reranker-8B")
+ if err != nil {
+ t.Fatalf("GetModelByName Qwen3-Reranker: %v", err)
+ }
+ if !rerankModel.ModelTypeMap["rerank"] {
+ t.Errorf("Qwen3-Reranker model types=%v, want rerank", rerankModel.ModelTypes)
+ }
+
+ ttsModel, err := pm.GetModelByName("SILICONFLOW", "IndexTeam/IndexTTS-2")
+ if err != nil {
+ t.Fatalf("GetModelByName IndexTTS: %v", err)
+ }
+ if !ttsModel.ModelTypeMap["tts"] {
+ t.Errorf("IndexTTS model types=%v, want tts", ttsModel.ModelTypes)
+ }
+
+ visionModel, err := pm.GetModelByName("SILICONFLOW", "Qwen/Qwen3.6-27B")
+ if err != nil {
+ t.Fatalf("GetModelByName Qwen3.6: %v", err)
+ }
+ if !visionModel.ModelTypeMap["chat"] || !visionModel.ModelTypeMap["vision"] {
+ t.Errorf("Qwen3.6 model types=%v, want chat+vision", visionModel.ModelTypes)
+ }
+
+ glm53, err := pm.GetModelByName("SILICONFLOW", "zai-org/GLM-5.3")
+ if err != nil {
+ t.Fatalf("GetModelByName GLM-5.3: %v", err)
+ }
+ if glm53.ContextLength == nil || *glm53.ContextLength != 1048576 || glm53.MaxOutput == nil || *glm53.MaxOutput != 128000 {
+ t.Errorf("GLM-5.3 context_length=%v max_output=%v, want 1048576 and 128000", glm53.ContextLength, glm53.MaxOutput)
+ }
+ if glm53.Tools == nil || !glm53.Tools.Support || glm53.Thinking == nil || !glm53.Thinking.DefaultValue || !glm53.Thinking.ClearThinking {
+ t.Errorf("GLM-5.3 tools=%+v thinking=%+v, want tools and default/clear thinking support", glm53.Tools, glm53.Thinking)
+ }
+
+ qwen38, err := pm.GetModelByName("SILICONFLOW", "Qwen/Qwen3.8-27B")
+ if err != nil {
+ t.Fatalf("GetModelByName Qwen3.8-27B: %v", err)
+ }
+ if qwen38.ContextLength == nil || *qwen38.ContextLength != 262144 {
+ t.Errorf("Qwen3.8-27B context_length=%v, want 262144", qwen38.ContextLength)
+ }
+ if !qwen38.ModelTypeMap["chat"] || !qwen38.ModelTypeMap["vision"] {
+ t.Errorf("Qwen3.8-27B model types=%v, want chat+vision", qwen38.ModelTypes)
+ }
+
+ for _, limits := range []struct {
+ name string
+ contextSize int
+ maxOutput int
+ }{
+ {"moonshotai/Kimi-K2.5", 262144, 262144},
+ {"moonshotai/Kimi-K2.6", 262144, 262144},
+ {"Qwen/Qwen3-14B", 131072, 131072},
+ {"Qwen/Qwen3-30B-A3B-Instruct-2507", 262144, 262144},
+ {"Qwen/Qwen3-32B", 131072, 131072},
+ {"Qwen/Qwen3-VL-30B-A3B-Instruct", 262144, 262144},
+ {"Qwen/Qwen3-VL-30B-A3B-Thinking", 262144, 262144},
+ {"Qwen/Qwen3.5-35B-A3B", 262144, 262144},
+ {"Qwen/Qwen3.6-27B", 262144, 262144},
+ {"zai-org/GLM-5.2", 1048576, 262144},
+ {"zai-org/GLM-5V-Turbo", 204800, 131072},
+ } {
+ model, err := pm.GetModelByName("SILICONFLOW", limits.name)
+ if err != nil {
+ t.Errorf("GetModelByName %q: %v", limits.name, err)
+ continue
+ }
+ if model.ContextLength == nil || *model.ContextLength != limits.contextSize || model.MaxOutput == nil || *model.MaxOutput != limits.maxOutput {
+ t.Errorf("%s context_length=%v max_output=%v, want %d and %d", limits.name, model.ContextLength, model.MaxOutput, limits.contextSize, limits.maxOutput)
+ }
+ }
+
+ qwen25, err := pm.GetModelByName("SILICONFLOW", "Qwen/Qwen2.5-7B-Instruct")
+ if err != nil {
+ t.Fatalf("GetModelByName Qwen2.5-7B: %v", err)
+ }
+ if qwen25.ContextLength == nil || *qwen25.ContextLength != 32768 || qwen25.MaxOutput == nil || *qwen25.MaxOutput != 4096 {
+ t.Errorf("Qwen2.5-7B context_length=%v max_output=%v, want 32768 and 4096", qwen25.ContextLength, qwen25.MaxOutput)
+ }
+
+ if _, err := pm.GetModelByName("SILICONFLOW", "black-forest-labs/FLUX.2-pro"); err == nil {
+ t.Error("FLUX.2-pro should not be listed because it has no supported RAGFlow model type")
+ }
+
+ for _, model := range provider.Models {
+ if model.ModelTypeMap["chat"] && model.ContextLength == nil {
+ t.Errorf("chat model %q has no context_length", model.Name)
+ }
}
deepSeekV4Pro, err := pm.GetModelByName("SILICONFLOW", "Pro/deepseek-ai/DeepSeek-V4-Pro")
diff --git a/internal/ingestion/component/dispatch_model.go b/internal/ingestion/component/dispatch_model.go
index f0244c44c5..ed8640512e 100644
--- a/internal/ingestion/component/dispatch_model.go
+++ b/internal/ingestion/component/dispatch_model.go
@@ -332,11 +332,7 @@ func resolveModelConfigFromProviderInstance(ctx context.Context, db *gorm.DB, te
return nil, "", nil, 0, fmt.Errorf("model %q lookup failed: %w", modelName, modelErr)
}
- targetFactoryName := providerName
- if region == "intl" && strings.EqualFold(providerName, "siliconflow") {
- targetFactoryName = "siliconflow_intl"
- }
- targetProvider := dao.GetModelProviderManager().FindProvider(targetFactoryName)
+ targetProvider := dao.GetModelProviderManager().FindProvider(providerName)
if targetProvider == nil {
return nil, "", nil, 0, fmt.Errorf("model provider config not found: %s", providerName)
}
diff --git a/internal/service/model_factory.go b/internal/service/model_factory.go
index c470b24742..d631d9472e 100644
--- a/internal/service/model_factory.go
+++ b/internal/service/model_factory.go
@@ -936,11 +936,7 @@ func (s *ModelFactory) resolveProviderInstanceModel(ctx context.Context, tenantI
if providerInfo == nil {
return nil, fmt.Errorf("%w: model provider config not found: %s", errModelConfigUnavailable, providerName)
}
- targetFactoryName := providerName
- if region == "intl" && strings.EqualFold(providerName, "siliconflow") {
- targetFactoryName = "siliconflow_intl"
- }
- targetProvider := dao.GetModelProviderManager().FindProvider(targetFactoryName)
+ targetProvider := dao.GetModelProviderManager().FindProvider(providerName)
if targetProvider == nil {
return nil, fmt.Errorf("%w: model provider config not found: %s", errModelConfigUnavailable, providerName)
}
diff --git a/internal/service/model_service.go b/internal/service/model_service.go
index 54e3eb49b2..4853d5cd5d 100644
--- a/internal/service/model_service.go
+++ b/internal/service/model_service.go
@@ -425,13 +425,7 @@ func (m *ModelProviderService) addModelsToNewInstance(ctx context.Context, tenan
return nil
}
// model_info not provided — add all factory default models.
- // Mirrors Python's create_provider_instance
- // (api/apps/services/provider_api_service.py:506-531).
- targetFactoryName := providerName
- if region == "intl" && strings.EqualFold(providerName, "siliconflow") {
- targetFactoryName = "siliconflow_intl"
- }
- factoryProvider := dao.GetModelProviderManager().FindProvider(targetFactoryName)
+ factoryProvider := dao.GetModelProviderManager().FindProvider(providerName)
if factoryProvider == nil {
return nil
}