curl --request POST \
--url http://localhost:8000/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 http://localhost:8000/api/v1/client/txt2embedding/price-calculation \
--header 'Content-Type: application/json' \
--data '
{
"input": "<string>",
"model": "Bge_M3_FP16"
}
'{
"data": {
"price": 0.000068
}
}