Model pricing
generate_pricingA model's price per unit, which generate bills against your credits.
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": {
"endpoint_id": "<endpoint_id>"
},
"name": "generate_pricing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_id | Yes | A model's endpoint id, as generate models lists it, e.g. `fal-ai/flux/dev` |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The upstream response body, or null when it had none. |