Request URL https://api.deepinfra.com/v1/openai/chat/completions ---…
- User
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Request URL https://api.deepinfra.com/v1/openai/chat/completions
{"model":"deepseek-ai/DeepSeek-V3-0324","messages":[{"role":"system","content":"Be a helpful assistant please"},{"role":"user","content":"hi"}],"stream":true,"stream_options":{"include_usage":true,"continuous_usage_stats":true},"temperature":0.6,"max_tokens":1024,"top_p":0.91,"min_p":0.7,"top_k":1,"repetition_penalty":1.5,"stop":["kill","stop"],"presence_penalty":0.3,"frequency_penalty":0.3,"user":"AUser","seed":546534676547}
data: {"id": "chatcmpl-R7vpYd8YG21VNwJF50xS3kKu", "object": "chat.completion.chunk", "created": 1752597302, "model": "deepseek-ai/DeepSeek-V3-0324", "choices": [{"index": 0, "delta": {"role": "assistant", "content": "", "tool_calls": null, "logprobs": null}, "finish_reason": null}], "usage": null}
data: {"id": "chatcmpl-R7vpYd8YG21VNwJF50xS3kKu", "object": "chat.completion.chunk", "created": 1752597302, "model": "deepseek-ai/DeepSeek-V3-0324", "choices": [{"index": 0, "delta": {"role": "assistant", "content": "Hello", "tool_calls": null, "logprobs": null}, "finish_reason": null}], "usage": {"prompt_tokens": 9, "total_tokens": 10, "completion_tokens": 1, "estimated_cost": null}}
data: {"id": "chatcmpl-R7vpYd8YG21VNwJF50xS3kKu", "object": "chat.completion.chunk", "created": 1752597302, "model": "deepseek-ai/DeepSeek-V3-0324", "choices": [{"index": 0, "delta": {"role": "assistant", "content": "! How", "tool_calls": null, "logprobs": null}, "finish_reason": null}], "usage": {"prompt_tokens": 9, "total_tokens": 12, "completion_tokens": 3, "estimated_cost": null}}
data: {"id": "chatcmpl-R7vpYd8YG21VNwJF50xS3kKu", "object": "chat.completion.chunk", "created": 1752597302, "model": "deepseek-ai/DeepSeek-V3-0324", "choices": [{"index": 0, "delta": {"role": "assistant", "content": " can I", "tool_calls": null, "logprobs": null}, "finish_reason": null}], "usage": {"prompt_tokens": 9, "total_tokens": 14, "completion_tokens": 5, "estimated_cost": null}}
data: {"id": "chatcmpl-R7vpYd8YG21VNwJF50xS3kKu", "object": "chat.completion.chunk", "created": 1752597302, "model": "deepseek-ai/DeepSeek-V3-0324", "choices": [{"index": 0, "delta": {"role": "assistant", "content": " assist you", "tool_calls": null, "logprobs": null}, "finish_reason": null}], "usage": {"prompt_tokens": 9, "total_tokens": 16, "completion_tokens": 7, "estimated_cost": null}}
data: {"id": "chatcmpl-R7vpYd8YG21VNwJF50xS3kKu", "object": "chat.completion.chunk", "created": 1752597302, "model": "deepseek-ai/DeepSeek-V3-0324", "choices": [{"index": 0, "delta": {"role": "assistant", "content": " today?", "tool_calls": null, "logprobs": null}, "finish_reason": null}], "usage": {"prompt_tokens": 9, "total_tokens": 18, "completion_tokens": 9, "estimated_cost": null}}
data: {"id": "chatcmpl-R7vpYd8YG21VNwJF50xS3kKu", "object": "chat.completion.chunk", "created": 1752597302, "model": "deepseek-ai/DeepSeek-V3-0324", "choices": [{"index": 0, "delta": {"role": "assistant", "content": " \ud83d\ude0a", "tool_calls": null, "logprobs": null}, "finish_reason": null}], "usage": {"prompt_tokens": 9, "total_tokens": 20, "completion_tokens": 11, "estimated_cost": null}}
data: {"id": "chatcmpl-R7vpYd8YG21VNwJF50xS3kKu", "object": "chat.completion.chunk", "created": 1752597302, "model": "deepseek-ai/DeepSeek-V3-0324", "choices": [{"index": 0, "delta": {"role": "assistant", "content": "", "tool_calls": null, "logprobs": null}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 9, "total_tokens": 21, "completion_tokens": 12, "estimated_cost": 1.3080000000000002e-05}}
data: [DONE]
Deepinfra has an open API (just an URL and no key needed) from their Playground. Please give me a command that use curl on windows cmd to test it.
Here’s a one-liner you can paste straight into Windows CMD to hit the DeepInfra playground endpoint with curl (no key needed):
curl -X POST "https://api.deepinfra.com/v1/openai/chat/completions" ^
-H "Content-Type: application/json" ^
-d "{\"model\":\"deepseek-ai/DeepSeek-V3-0324\",\"messages\":[{\"role\":\"system\",\"content\":\"Be a helpful assistant please\"},{\"role\":\"user\",\"content\":\"hi\"}],\"stream\":false,\"temperature\":0.6,\"max_tokens\":1024,\"top_p\":0.91,\"min_p\":0.7,\"top_k\":1,\"repetition_penalty\":1.5,\"stop\":[\"kill\",\"stop\"],\"presence_penalty\":0.3,\"frequency_penalty\":0.3,\"user\":\"AUser\",\"seed\":546534676547}"
(The ^ lets you break the line in CMD; if you prefer, remove the ^ and put everything on one line.)