Model Ruler Calculate API
The Calculate API from Model Ruler — 12 operation(s) for calculate.
Operations 12
POST
/calculate/token-counter/
Use when a user asks how many tokens a given text will consume, or needs to…
#
POST
/calculate/provider-cost-calculator/
Use when a user asks what an LLM workload costs on a specific provider/model…
#
POST
/calculate/self-host-breakeven-calculator/
Use when a user is deciding between API usage and self-hosted GPU inference at…
#
POST
/calculate/context-window-planner/
Use when a user needs to know whether a document plus prompt plus output fits…
#
POST
/calculate/quantization-calculator/
Use when a user is planning to quantize an LLM to fit on smaller hardware
#
POST
/calculate/fine-tune-roi-calculator/
Use when a user is considering fine-tuning vs prompt engineering
#
POST
/calculate/observability-cost-calculator/
Use when a user needs to budget LLM observability tooling
#
POST
/calculate/rag-pipeline-cost-calculator/
Use when a user needs end-to-end RAG cost estimation (embedding + vector store…
#
POST
/calculate/automation-cost-calculator/
Use for generic or non-agent recurring workflow platform billing across Zapier…
#
POST
/calculate/agent-workflow-cost-calculator/
Use for automation-platform/iPaaS cost of an AI agent workflow, including…
#
POST
/calculate/agent-loop-cost-calculator/
Use for LLM inference/reasoning cost per successful multi-step agent task…
#