curl --request POST \
--url https://api.modelbeam.srv1069417.hstgr.cloud/api/v1/client/txt2embedding/price-calculation \
--header 'Content-Type: application/json' \
--data '
{
"input": "<string>",
"model": "Bge_M3_FP16"
}
'{
"data": {
"price": 0.000068
}
}Calculate the cost of generating text embeddings.
curl --request POST \
--url https://api.modelbeam.srv1069417.hstgr.cloud/api/v1/client/txt2embedding/price-calculation \
--header 'Content-Type: application/json' \
--data '
{
"input": "<string>",
"model": "Bge_M3_FP16"
}
'{
"data": {
"price": 0.000068
}
}