C
CostBench
/estimate_llm_cost
estimate llm cost
Estimate the cost of an LLM/API workload (input + output tokens) for a usage-priced provider (OpenAI, Anthropic, AWS Bedrock…) from its real rate card.
liveverifiedunknown~5s typical
mcpprobedcostbench
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-com-costbench-mcp /estimate_llm_cost for me.
Input
| Field | Type | Description |
|---|---|---|
| slug* | string | |
| model | string | |
| inputTokens | number | Input tokens for the workload (e.g. per month). At least one of inputTokens/outputTokens m |
| outputTokens | number | Output tokens for the workload. At least one of inputTokens/outputTokens must be > 0. |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"mcp-com-costbench-mcp","endpoint":"/estimate_llm_cost","input":{"slug":"..."}}'cli
npx cracked-ai run -p mcp-com-costbench-mcp -e /estimate_llm_cost -i '{"slug":"..."}'mcp
run_tool({ provider: "mcp-com-costbench-mcp", endpoint: "/estimate_llm_cost", input: {"slug":"..."} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.