GMI Cloud 100刀兑换码
在这里写即可兑换{tieba27}**** Hidden Message *****支持模型 :DeepSeek R1 V3、Qwen3 235B A22B
来源:https://www.gmicloud.ai/blog/gmi-cloud-launches-cost-effective-high-performance-ai-inference-at-scale 9哥 发表于 2025-5-16 18:54
号好像死了挖槽,我都登录不了
KEY:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYxZjk1NWQwLTdmOWMtNGQ2Yy1hNGM4LTBkNjU1NTEyYTIzMCIsInR5cGUiOiJpZV9tb2RlbCJ9.fkIGAAlmcuvRo0RjoNhqAGWphvUTpACTnNvBfPUvFnQ
建议使用模型:
Qwen/Qwen3-235B-A22B-FP8、deepseek-ai/DeepSeek-R1、deepseek-ai/DeepSeek-V3-0324
请求示例:
import requests
import json
api_key = “eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYxZjk1NWQwLTdmOWMtNGQ2Yy1hNGM4LTBkNjU1NTEyYTIzMCIsInR5cGUiOiJpZV9tb2RlbCJ9.fkIGAAlmcuvRo0RjoNhqAGWphvUTpACTnNvBfPUvFnQ”
chat_url = “https://api.gmi-serving.com/v1/chat/completions”
headers = {
“Authorization”: f"Bearer {api_key}",
“Content-Type”: “application/json”
}
user_message_content = input(“请输入消息:”)
payload = {
“model”: “deepseek-ai/DeepSeek-R1”,
“messages”: [
{“role”: “user”, “content”: user_message_content}
],
“max_tokens”: 2000,
“temperature”: 1.0
}
response = requests.post(chat_url, headers=headers, json=payload)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))
返回结果:
请输入消息:hi
{
“id”: “38e9e17fd0a142219a17a10105e9e915”,
“object”: “chat.completion”,
“created”: 1747500437,
“model”: “deepseek-ai/DeepSeek-R1”,
“choices”: [
{
“index”: 0,
“message”: {
“role”: “assistant”,
“content”: “Hi there! :waving_hand: How can I assist you today?”,
“reasoning_content”: “Okay, the user just said "hi". I need to respond friendly and welcome them. Maybe ask how I can assist them today. Keep it open so they feel comfortable to ask anything. Make sure the tone is warm and approachable. Also, check for any specific emojis or punctuation to keep it casual but professional.\n”,
“tool_calls”: null
},
“logprobs”: null,
“finish_reason”: “stop”,
“matched_stop”: 1
}
],
“usage”: {
“prompt_tokens”: 6,
“total_tokens”: 87,
“completion_tokens”: 81,
“prompt_tokens_details”: null
}
} 9哥 发表于 2025-5-14 22:23
呦西,确实可用,已撸3号
playground里面的key能高并发无限用(还是没修啊
aa11 发表于 2025-5-15 01:53
playground里面的key能高并发无限用(还是没修啊
这个我倒没试过 看看 这是啥,看看,感谢分享 本帖最后由 9哥 于 2025-5-14 22:47 编辑
呦西{tieba45},确实可用,已撸3号 66666 看看是什么 马上上车 看看还能不能 我来试试 谢谢分享!!! 谢谢分享
谢谢教程 感谢分享 看看 感谢分享
感谢分享 哇,感谢分享 谢谢分享,看看
页:
[1]
2