由于资源紧张,网站正在卸载和退款昂贵的gpu,并购入更多4090和5090,以至于更好的为大家免费提供服务,请耐心等待
您可以在自己的应用中使用以下代码调用此模型。
curl http://pumpkinai.it.com/api/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY_PLACEHOLDER" \ -d '{ "model": "deepseek-ai/DeepSeek-V3.2-Exp", "messages": [ {"role": "user", "content": "Hello!"} ], "stream": true, "max_tokens": 512 }'
from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY_PLACEHOLDER", base_url="http://pumpkinai.it.com/api/v1" ) response = client.chat.completions.create( model="deepseek-ai/DeepSeek-V3.2-Exp", messages=[ {"role": "user", "content": "Hello!"} ], stream=True, max_tokens=512 ) for chunk in response: if chunk.choices[0].delta.content: print(chunk.choices[0].delta.content, end="")