Text To Embedding Price
text_to_embedding_priceCalculates the cost of generating text embeddings from one or more input strings before you run the request.
Instructions
Calculate price for text embedding generation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>"
},
"name": "text_to_embedding_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text string or list of text strings for price calculation | |
| model | No | Embedding model name | Bge_M3_FP16 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||