Home / Servers / ElevenLabs API / get_public_llm_expected_cost_calculation
Calculate Expected Llm Usage
An MCP tool from the ElevenLabs API server, hosted on mcp.hjlabs.in.
Calculate Expected Llm Usage Returns a list of LLM models and the expected cost for using them based on the provided values. [POST /v1/convai/llm-usage/calculate]
Name on the gateway: elevenlabs_api__get_public_llm_expected_cost_calculation · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
prompt_length required | integer | Length of the prompt in characters. |
number_of_pages required | integer | Pages of content in PDF documents or URLs in the agent's knowledge base. |
rag_enabled required | boolean | Whether RAG is enabled. |
service_tier | standard | fast | Service tier to price against. Only affects models that offer the tier; others… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "elevenlabs_api__get_public_llm_expected_cost_calculation",
"arguments": {
"prompt_length": 0,
"number_of_pages": 0,
"rag_enabled": true
}
}Or connect the ElevenLabs API server directly, which lists 487 tools including this one:
claude mcp add --transport http hj-elevenlabs-api https://mcp.hjlabs.in/mcp/elevenlabs-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the calculate expected llm usage tool with prompt_length set to ….