Calculate expected LLM usage
Returns a list of LLM models and the expected cost for using them based on the provided values.
Headers
xi-api-key
Request
This endpoint expects an object.
prompt_length
Length of the prompt in characters.
number_of_pages
Pages of content in PDF documents or URLs in the agent’s knowledge base.
rag_enabled
Whether RAG is enabled.
Response
Successful Response
llm_prices