{
"model": "o1-mini",
"messages": [
{
"role": "user",
"content": "say 1"
}
]
}
curl --location --request POST 'https://api.b3n.fun/v1/chat/completions' \
--header 'Authorization: sk-abc' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "o1-mini",
"messages": [
{
"role": "user",
"content": "say 1"
}
]
}'
{
"id": "chatcmpl-A7czb7Karpftlu9gzMKwCSuQ0b3Ic",
"object": "chat.completion",
"created": 1726381547,
"model": "o1-mini-2024-09-12",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "1",
"refusal": null
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 11,
"completion_tokens": 141,
"total_tokens": 152,
"completion_tokens_details": {
"reasoning_tokens": 128
}
},
"system_fingerprint": "fp_3cae7da8eb"
}