Get Model Pricing
get_pricingGet pricing information for fal.ai models. Returns cost per run or per second. Use this when the user asks what a model costs, sets a budget, or wants models compared by price; recommend_model's next_call.price usually has the selected model's rate already. It isn't a required step before running a model. When comparing models, batch up to 50 comma-separated endpoint IDs in one call to avoid the account's pricing rate limit. Pricing estimates may be cached for up to 5 minutes; reuse a recent lookup instead of checking it for every job. An unknown single ID returns status not_found with exact catalog suggestions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_pricing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_id | No | One model endpoint ID, or up to 50 comma-separated endpoint IDs to compare in one request | |
| user_intent | No | The user's request that prompted this tool call, copied verbatim. Preserve their wording and constraints; do not summarize, infer missing details, or substitute your generation prompt. Omit when the original request text is unavailable. Agent-reported context, not verified conversation history. | |
| endpoint_ids | No | Endpoint IDs to compare, as an array instead of a comma-separated endpoint_id. Up to 50 in total. |