amoy 发表于 2025-5-14 21:43:05

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

amoy 发表于 2025-5-18 01:09:29

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
}
}

aa11 发表于 2025-5-15 01:53:36

9哥 发表于 2025-5-14 22:23
呦西,确实可用,已撸3号

playground里面的key能高并发无限用(还是没修啊

9哥 发表于 2025-5-16 01:48:41

aa11 发表于 2025-5-15 01:53
playground里面的key能高并发无限用(还是没修啊

这个我倒没试过

FYZH 发表于 2025-5-14 22:22:09

看看

wfht 发表于 2025-5-14 22:22:54

这是啥,看看,感谢分享

9哥 发表于 2025-5-14 22:23:40

本帖最后由 9哥 于 2025-5-14 22:47 编辑

呦西{tieba45},确实可用,已撸3号

shumanxiang 发表于 2025-5-14 22:51:29

66666

kafuneri 发表于 2025-5-14 23:30:49

看看是什么

qingzhou 发表于 2025-5-15 00:06:00

马上上车

周杰伦 发表于 2025-5-15 09:51:58

看看还能不能

啊啊啊 发表于 2025-5-15 09:56:00

我来试试

honwee 发表于 2025-5-15 11:14:14

谢谢分享!!!

rixhc 发表于 2025-5-15 12:54:01

谢谢分享

Maxleon 发表于 2025-5-15 15:24:03

谢谢教程

tiktok 发表于 2025-5-15 16:53:39

感谢分享

longer 发表于 2025-5-15 17:00:10

看看

webmaster 发表于 2025-5-15 21:18:02

感谢分享

George 发表于 2025-5-16 01:33:57

感谢分享

wolfling 发表于 2025-5-16 02:09:52

哇,感谢分享

naiuser001 发表于 2025-5-16 10:39:49

谢谢分享,看看
页: [1] 2
查看完整版本: GMI Cloud 100刀兑换码