Prompt cache savings USD — local calculator
Ein einzelner lokaler Rechner: Prompt cache savings USD — local calculator. Formel vor dem Kauf: cached_tokens*(uncached_rate_per_million-cached_rate_per_million)/1000000. Enthält bearbeitbare Eingaben, CSV-Messprotokoll und ein synthetisches Rechenbeispiel. Anleitung, Felder und Code sind Englisch; russische Kurzanleitung liegt bei. Kein Online-Dienst.
Python 3.10+ locally; no paid libraries. A small single-purpose calculator, not a complete business platform. English workbook/code; Russian quickstart.
49 XTR
- README.md
- formula.md
- workbook.md
- QUICKSTART-RU.md
- worksheet.csv
- tool.py
- example-input.json
- example-output.json
- acceptance-checklist.md
- LICENSE.txt
Preise in Telegram Stars (XTR). Einnahmen oder Kundenergebnisse werden nicht garantiert.
Formula / input / worked example (English)
# Prompt cache savings USD
`cached_tokens*(uncached_rate_per_million-cached_rate_per_million)/1000000`
Input semantics and units:
- `cached_rate_per_million`: numeric input; units are part of the field name where applicable.
- `cached_tokens`: numeric input; units are part of the field name where applicable.
- `uncached_rate_per_million`: numeric input; units are part of the field name where applicable.
Result uses the unit stated in the product title, or a dimensionless ratio. Check cohort membership and aggregation boundaries independently.
example-input.json
{
"cached_rate_per_million": 12.0,
"cached_tokens": 15.0,
"uncached_rate_per_million": 18.0
}
example-output.json
{
"product_id": "ai-cache-benefit",
"result": 9e-05,
"scope": "Arithmetic estimate from supplied inputs; no forecast or service"
}