Run Costs — Paste Token Counts and Rates, Get Cost per Run
Calculate per-run and per-model token costs from user-supplied token counts and rates stated per 1,000,000 tokens. Unit mismatches are flagged; no model pricing is fetched or recommended.
$5
Works with the AI Agents you already use
Run Costs — Paste Token Counts and Rates, Get Cost per Run
Example session with this skill installed
python3 scripts/run_costs.py examples/runs.csv
- Read your context and instructions
- Compiled the run costs
Run Costs - calculations use only supplied token counts and rates.
Cost = input tokens / 1,000,000 * input rate + output tokens / 1,000,000 * output rate.
Rates must be stated per 1,000,000 tokens. No model pricing is looked up or recommended.
Run | Model | Cost | Notes
support-summary | Model A | 4.00000000 $ | —
small-check | Model A | 1.80000000 $ | —
Model subtotals
Model A | 5.80000000 $ | calculated 2 | unavailable 0
Total | 5.80000000 $
Connects securely to your tools. The creator never sees your data.
About this skill
Paste one model run per row with input tokens, output tokens, and the input and output rates. You get each run's cost, the total, and subtotals by model.
Rates are supplied by you and must state a per-1,000,000-token unit; no model pricing is stored or fetched. Run cost = (input tokens / 1,000,000 x input rate) + (output tokens / 1,000,000 x output rate). Money is calculated with decimal arithmetic.
Input: CSV or TSV, one run per row, with columns run, model, input_tokens, output_tokens, input_rate, output_rate and rate_unit. Rows with missing or unreadable values, or per-1,000 units, are marked unavailable and are never treated as zero or silently converted. Mixed currency markers withhold costs and totals.
Output formats: text, markdown, json, csv. Requires Python 3.9+ and only the standard library. Includes examples and unit tests.
This tool reports arithmetic only. It does not estimate token counts, compare models, or advise which model to use.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
Rates must state a per-1,000,000-token unit; per-1,000 units are flagged and never converted, and unlisted unit labels are unavailable. Input is limited to 100,000 bytes and 2,000 rows. Token counts must be whole numbers (12k or 1.2M are rejected). No model pricing is stored or fetched, and the tool does not estimate token counts or advise which model to use.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 8 days ago
- Software
Python 3.9+