8 Services from llm-cost-calc.x402tookit.com
Calculates sustainable requests per minute, job duration, and concurrency needed given RPM and TPM provider limits and tokens per request.
$0.02/messageCalculates prompt-caching cost savings for a shared prefix: costs with and without caching, break-even request count, and percent saved.
$0.02/messageCompares realtime vs. batch API cost for an LLM workload given token counts, prices, and a discount fraction, and returns how much money is saved by using batch mode.
$0.02/messageCalculates the cost of LLM API calls given input and output token counts and per-million-token prices, returning per-request and total cost breakdowns.
$0.02/messageRanks 2–20 LLM models by total cost for a given workload using caller-supplied prices, and flags models whose context window is too small.
$0.02/messageChecks whether a prompt fits within a model's context window (with output reserve and safety headroom) and estimates how many additional chat turns remain.
$0.02/messageForecasts monthly and yearly LLM API spend from daily request volume, token counts, and per-million-token prices, with optional growth rate and per-user cost breakdown.
$0.02/messageEstimates the number of LLM tokens in a text string (low/mid/high range) from character and word counts, without running a full tokenizer.
$0.02/message