Models
Calculate expected LLM usage for an agent
Reserved compatibility endpoint. Authorized requests return HTTP 503 while LLM cost estimates are unavailable.
POST
Calculate Expected Llm Usage For An Agent
Headers
Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.
Path Parameters
Body
application/json
Length of the prompt in characters.
Pages of content in pdf documents OR urls in agent's Knowledge Base.
Whether RAG is enabled.
Service tier to price against. Only affects models that offer the tier; others fall back to their standard price.
Available options:
standard, fast Response
Successful Response