DeepSeek-R1-0528 在 SiliconFlow 上

2025年5月29日

目录

DeepSeek-R1-0528 现已在 SiliconFlow 上线:

增强的吞吐量,减少的幻觉,以及改进的推理——专为高性能、高可靠性的生成式 AI 任务而构建。

  • 高并发支持:最多支持 30K RPM / 5M TPM

  • 智能输出:幻觉减少 50%,推理更佳

  • 更强的生成能力:创意写作、代码、数学——全面升级

  • 有竞争力的价格:$0.58/百万 tokens (Input),$2.29/百万 tokens (Output)

快速开始

SiliconFlow 模型广场上尝试 DeepSeek-R1-0528。

快速访问 API

以下 Python 示例演示了如何通过 SiliconFlow 的 API 端点调用 DeepSeek-R1-0528 模型。要查看完整的 API 规范,请参阅 开发者文档

import requests

url = "https://api.siliconflow.com/v1/chat/completions"

payload = {
    "model": "Pro/deepseek-ai/DeepSeek-R1-0528",
    "messages": [
        {
            "role": "user",
            "content": "What opportunities and challenges will the Chinese large model industry face in 2025?"
        }
    ],
    "stream": False,
    "max_tokens": 512,
    "enable_thinking": False,
    "thinking_budget": 4096,
    "min_p": 0.05,
    "stop": None,
    "temperature": 0.7,
    "top_p": 0.7,
    "top_k": 50,
    "frequency_penalty": 0.5,
    "n": 1,
    "response_format": {"type": "text"}
}

headers = {
    "Authorization": "Bearer YOUR_SILICONFLOW_API_KEY",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
import requests

url = "https://api.siliconflow.com/v1/chat/completions"

payload = {
    "model": "Pro/deepseek-ai/DeepSeek-R1-0528",
    "messages": [
        {
            "role": "user",
            "content": "What opportunities and challenges will the Chinese large model industry face in 2025?"
        }
    ],
    "stream": False,
    "max_tokens": 512,
    "enable_thinking": False,
    "thinking_budget": 4096,
    "min_p": 0.05,
    "stop": None,
    "temperature": 0.7,
    "top_p": 0.7,
    "top_k": 50,
    "frequency_penalty": 0.5,
    "n": 1,
    "response_format": {"type": "text"}
}

headers = {
    "Authorization": "Bearer YOUR_SILICONFLOW_API_KEY",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
import requests

url = "https://api.siliconflow.com/v1/chat/completions"

payload = {
    "model": "Pro/deepseek-ai/DeepSeek-R1-0528",
    "messages": [
        {
            "role": "user",
            "content": "What opportunities and challenges will the Chinese large model industry face in 2025?"
        }
    ],
    "stream": False,
    "max_tokens": 512,
    "enable_thinking": False,
    "thinking_budget": 4096,
    "min_p": 0.05,
    "stop": None,
    "temperature": 0.7,
    "top_p": 0.7,
    "top_k": 50,
    "frequency_penalty": 0.5,
    "n": 1,
    "response_format": {"type": "text"}
}

headers = {
    "Authorization": "Bearer YOUR_SILICONFLOW_API_KEY",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)

DeepSeek-R1-0528 提升了生成式 AI 应用的速度、准确性和可扩展性。在 SiliconFlow 上探索、比较和结合模型以满足您的使用需求。

现在,去 SiliconFlow 上构建一些精彩的东西吧!

准备好 加速您的人工智能开发吗?

准备好 加速您的人工智能开发吗?

准备好 加速您的人工智能开发吗?