Files
2026-07-13 12:28:55 +08:00

17 lines
884 B
TOML

name = "SiliconFlow (China)"
env = ["SILICONFLOW_CN_API_KEY"]
npm = "@ai-sdk/openai-compatible"
api = "https://api.siliconflow.cn/v1"
# Reasoning HTTP format (accessed 2026-06-25):
# POST /v1/chat/completions uses top-level enable_thinking = true|false only
# for the schema's enumerated models, and thinking_budget = 128..32768 for
# most reasoning models. No zero/negative disable sentinel is documented.
# reasoning_effort is only for deepseek-ai/DeepSeek-V4-Flash: "high"|"max";
# low|medium map to high and xhigh maps to max for compatibility.
# Model-specific listings may document additional controls; GLM-5.2 documents
# multiple thinking effort levels on SiliconFlow CN.
# Source:
# https://docs.siliconflow.cn/cn/api-reference/chat-completions/chat-completions
# https://cloud.siliconflow.cn/open/models?target=zai-org%2FGLM-5.2
doc = "https://cloud.siliconflow.com/models"