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

NameTypeDescription
prompt_length requiredintegerLength of the prompt in characters.
number_of_pages requiredintegerPages of content in PDF documents or URLs in the agent's knowledge base.
rag_enabled requiredbooleanWhether RAG is enabled.
service_tierstandard | fastService 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from ElevenLabs API