BurnRate
Estimate execution cost
Estimates total LLM cost for a multi-step agent plan. Returns per-step cost breakdown, total, and optimization suggestions. Costs 1 credit.
post/api/burnrate/estimate
Request
- Base URL: https://plith.ai
- URL: https://plith.ai/api/burnrate/estimate
- Auth: none required
Request body
Example request
{
"plan": [
{
"provider": "anthropic",
"model": "claude-sonnet-4-6",
"estimated_input_tokens": 1000,
"estimated_output_tokens": 500
}
]
}Response
Cost estimate with per-step breakdown
Example response
{
"estimate": {
"steps": [
{
"cost_usd_formatted": "$0.03"
}
],
"total_cost_usd_formatted": "$1.47",
"pricing_source": "litellm"
},
"credits_used": 1,
"fallback_behavior": "proceed_without_estimate"
}Changes
No recorded changes to this operation across all 1 revision of this API.