阿里云百炼平台deepseek-r1,10Mtoken免费额度,180天有效期【暂不可用】

18 个赞

免费免费,都免费起来

1 个赞

这个部署的是多少B的模型

不知道,还没试,阿里的应该是完整版吧

必须赞一个 :+1:

我要去试试 :grimacing:

要实名么

阿里真有钱!

我不知道,是我们群友发的,哈哈哈

1 个赞

tieba_025

有时候想qwen团队最近得多大压力啊

1 个赞

阿里也是上了

贴一个网址

2 个赞

为防止推销骚扰,之前把阿里云账号注销了 :smiling_face_with_tear:
只能放弃了。

阿里慎用,我还记得我那次用百炼微调消耗了我几百块钱。

静候教程

感谢分享!

等大佬喂饭

不会是用的deepseek api吧

import os
from openai import OpenAI

client = OpenAI(
    # 若没有配置环境变量,请用百炼API Key将下行替换为:api_key="sk-xxx",
    api_key=os.getenv("DASHSCOPE_API_KEY"), # 如何获取API Key:https://help.aliyun.com/zh/model-studio/developer-reference/get-api-key
    base_url="https://dashscope.aliyuncs.com/compatible-mode/v1",
)

completion = client.chat.completions.create(
    model="deepseek-r1", 
    messages=[
        {'role': 'system', 'content': 'You are a helpful assistant.'},
        {'role': 'user', 'content': '你是谁?'}
        ]
)
print(completion.choices[0].message.content)

你们懂了吧,很简单的(等喂饭就不至于)

2 个赞