POST
/
api
/
v1
/
client
/
txt2embedding
/
price-calculation
Text to Embedding Price Calculation
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
  }
}

Body

application/json
input
required
model
string
required
Example:

"Bge_M3_FP16"

Response

Price calculated

data
object