How to use this tool
- Enter your values in the labelled fields or load the worked example.
- Review the assumptions below, then run the tool.
- Review the result, then copy or download it.
Try this example
{"inputTokens": 10000, "cachedTokens": 4000, "outputTokens": 1500, "requests": 1000, "providers": [{"name": "Scenario A", "inputRate": 2, "cachedRate": 0.5, "outputRate": 8, "factor": 1}, {"name": "Scenario B batch", "inputRate": 3, "cachedRate": 0.3, "outputRate": 10, "factor": 0.5}]}Accuracy and scope
All prices are user-entered per million tokens. Example rates are hypothetical, not current provider prices.
Is my data uploaded?
This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.