DeepSeek免费福利限时开启,AI界的“薅羊毛”机会来了!

作者:京东科技 张新磊

背景

最近一直在关注deepseek的动态,现在看到一则好消息,分享给大家;国家超算中心目前上线了deepseek且免费调用DeepSeek-R1:7B、DeepSeek-R1:14B、DeepSeek-R1:32B三个模型,具体操作如下

操作步骤

  • 通过如下导航栏进入,进行购买
  • 购买完成后,我们点击去使用,获取密钥

测试代码

python 复制代码
import requests
import json

url = "http://activity.scnet.cn:61080/v1/chat/completions"

payload = json.dumps({
  "messages": [
    {
      "role": "user",
      "content": "写一首诗"
    }
  ],
  "stream": True,
  "model": "DeepSeek-R1-Distill-Qwen-32B",  
  "temperature": 0.5,
  "presence_penalty": 0,
  "frequency_penalty": 0,
  "top_p": 1
}, ensure_ascii=False).encode('utf-8')
headers = {
  'Accept': 'application/json, text/event-stream',
  'Accept-Language': 'zh-CN,zh;q=0.9',
  'Authorization': 'Bearer',  # 插入访问密钥
  'Connection': 'keep-alive',
  'Content-Type': 'application/json',
  'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36',
}

response = requests.request("POST", url, headers=headers, data=payload, stream=True)

for line in response.iter_lines():
    if line:
        print(line.decode('utf-8'))

查看效果

相关推荐
深蓝AI4 小时前
12000 名工程师的高盛,只用四个月就收回了交易员的 AI 编程权限
人工智能·程序员
深蓝AI10 小时前
为什么 agent 的 demo 都很惊艳,上了生产就不靠谱
人工智能·程序员
深蓝AI11 小时前
一个项目五个 AI 同时干活,Claude Code 怎么让它们不互相打架
人工智能·程序员
程序员cxuan3 天前
讲真,智能路由这事儿,还得看基元律动
人工智能·后端·程序员
AI前端工程狮3 天前
用户点了「取消」,我的服务进程退出了
人工智能·程序员
得物技术3 天前
压测AI Agent 治理与评测调优实践
程序员·架构·测试
SimonKing3 天前
Workbuddy太占C盘空间了,写个迁移工具迁走10G的数据
java·后端·程序员
挖掘狂人3 天前
Token 都上双十一货架了,AI 电脑的账该怎么算?
大数据·程序员·ai编程
深蓝AI3 天前
26.1% 的 Agent 技能带漏洞:skills 霸榜 GitHub 当天,NVIDIA 和 OpenAI 同时掏出安检仪
人工智能·程序员
程序员cxuan4 天前
离谱,AI 大佬顺手搓了个 YouTube ,而我顺手给他搓了个中文插件
人工智能·后端·程序员