Evaluation token cost USD — local calculator
Una calculadora local para una tarea: Evaluation token cost USD — local calculator. Fórmula antes de comprar: test_cases*(input_tokens*input_rate_per_million+output_tokens*output_rate_per_million)/1000000. Incluye entradas editables, registro CSV y un ejemplo sintético. Manual, campos y código en inglés; guía breve en ruso. No es un servicio en línea.
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
Precios en Telegram Stars (XTR). No se garantizan ingresos ni resultados.
Formula / input / worked example (English)
# Evaluation token cost USD
`test_cases*(input_tokens*input_rate_per_million+output_tokens*output_rate_per_million)/1000000`
Input semantics and units:
- `input_rate_per_million`: numeric input; units are part of the field name where applicable.
- `input_tokens`: numeric input; units are part of the field name where applicable.
- `output_rate_per_million`: numeric input; units are part of the field name where applicable.
- `output_tokens`: numeric input; units are part of the field name where applicable.
- `test_cases`: 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
{
"input_rate_per_million": 12.0,
"input_tokens": 15.0,
"output_rate_per_million": 18.0,
"output_tokens": 21.0,
"test_cases": 24.0
}
example-output.json
{
"product_id": "ai-evaluation-budget",
"result": 0.013392,
"scope": "Arithmetic estimate from supplied inputs; no forecast or service"
}