An AI agent task is cheap to start and easy to under-think. A one-line request can quietly become hundreds of thousands of tokens — and real electricity, carbon, and water.
At What Cost is a gate-check skill: before a major LLM task, it estimates the toll — tokens, dollar cost, wall-clock time, CO₂, and water — as honest ranges, so accepting that toll becomes a deliberate choice instead of a default. Try the estimator below.
Pick a task shape and a model. The skill carries low / expected / high ranges through every metric — never a single false-precision number.
| Metric | Low | Expected | High |
|---|
It runs only when you ask for it — explicitly (/at-what-cost) or implicitly ("footprint check before we start"). It informs a decision; it never blocks.
Match the task to a shape — quick lookup, single-file edit, multi-file refactor, research report, multi-agent workflow.
Anchor the input on what's already in scope; take the output side from the class band. Carry low / expected / high throughout.
Cost from published rates, then energy → CO₂ → water from cited coefficients. Every metric is a range.
See the table, accept the toll, rescope, or cancel — a conscious choice before any tokens are spent.
After the run, the skill reads the actual token usage, compares it to the estimate, and logs it — calibrating future estimates over time.
Some of these numbers genuinely cannot be precise — and pretending otherwise would be the dishonest move. Here's exactly how much to trust each one.
| Metric | Realistic accuracy | Why |
|---|---|---|
| Cost ($) | firm given tokens | Published rates × tokens — the rates are exact; error is whatever the token estimate's error is. |
| Tokens / time | ±2–5× (directional) | Agentic scope is discovered at runtime — reads, tool calls, retries, and sub-agents aren't knowable up front. |
| CO₂eq / water | order-of-magnitude | No provider publishes per-token energy or water; coefficients are third-party, dated, and region-sensitive. |
Coefficients are cited & tunable: Anthropic pricing (per-MTok), 2025 LLM inference-energy studies (e.g. arXiv:2504.17674), IEA/Ember grid carbon intensity, and Ren et al. “Making AI Less Thirsty” (water). Each value in factors.json carries its own source and date.