Skip to content
Agent Economics

Free tool · runs in your browser

LLM cost per task calculator

Token prices are the easy part. The bill is decided by steps per task, output length and how much of the prompt the provider can serve from cache. This calculator does that arithmetic for Amazon Ergo, Kimi K3.1 Pro and Inkling 2 Small.

No sign-up No upload Prices as of 2026-12-03

Calculator

Token profile → monthly bill

Change any field and every number below updates. The URL keeps your settings, so you can send the result to a colleague.

One model call = 1 step

Prompt + tools + context

Includes reasoning tokens

Stable prefix reused across steps

Across all your agents

Amazon Ergo · global

receipt

$0.21 per task

Per 1,000 tasks
$209
Per day
$21
Per month
$626
Output share of bill
35%

Artificial Analysis pays $1.67 for one Intelligence Index task. That task is much larger than a normal agent step — different scope, same model.

Cost of the same task on three open-weight models
Model Per task Per month AA index $ / AA point
Amazon Ergo $1 / $3 $0.21 $626 38 $0.044
Kimi K3.1 Pro $2 / $10 $0.54 $1,615 47 $0.078
Inkling 2 Small $0.3 / $1 $0.07 $206 31 $0.038

At these settings Ergo costs 2.6× less per task than Kimi K3.1 Pro — and scores 9 points lower on the AA index.

Formula and assumptions

perTask = steps × [ in × (1 − hit) × Pin + in × hit × Pread + out × Pout ] / 1e6
         + in × hit × Pwrite / 1e6

The cache write is charged once per task on the reused prefix, at 1.25× input for a 30 minute cache. Cache reads are 97% cheaper than list input on Ergo.

Kimi K3.1 Pro and Inkling 2 Small do not publish a cache-write price; both are modelled at 1.25× input. Everything runs in your browser — no numbers leave this page.

Prices are global cross-Region Bedrock rates as of 2026-12-03. US cross-Region is 10% higher ($1.10 / $3.30 for Ergo).

How to use it

1. Pick a shape

Start from one API call, a 20-step agent task, or a heavy 40-step run. Presets only fill the numbers — change any of them.

2. Set your tokens

Input per step is prompt, tools and retrieved context. Output per step includes reasoning tokens, which Amazon Ergo always spends.

3. Read three models at once

The table keeps the same token profile and swaps the price sheet, so the difference you see is pricing, not workload.

What moves the number most

  • Output length. Output is the expensive side on every model here; at $3/1M, 2,000 tokens per step costs more than 20,000 cached input tokens.
  • Cache hit rate. A stable system prompt and tool schema keep hit rates high. Dynamic context resets the cache every 30 minutes.
  • Steps per task. Cost scales linearly with steps, which is why a 20-step agent task costs about 10× a two-step one.

Compare the same token profile across two models: Ergo vs Kimi K3.1 Pro at the same token profile . Background on the $1.67 default is on Amazon Ergo cost per task .

Calculator questions

Why include the cache write price?

Bedrock charges 1.25× input for a 30 minute cache write, then about 3% of input for cache reads. Calculators that only use input and output prices understate long agent loops, where the first step writes the cache and every later step reads it.

Is the number a quote?

No. It is arithmetic on published list prices. Your invoice also depends on reasoning length, retries, batch discounts, region and any negotiated rate. Use it to compare models, not to reconcile a bill.