Skip to main content
Calcimator

AI Agent Cost Calculator

Estimate per-task cost for AI agents from multi-step reasoning, tool calls, and context accumulation.

Inputs

%

Results

Cost per task ($)

$0.15

Monthly cost ($)

$227.70

≈ 15 movie tickets

LLM cost per task ($)$0.11
Tool cost per task ($)$0.03
Daily cost ($)$7.59
Annual cost ($)$2,770.35
Tokens per task24,000
Daily tokens (millions)1.2
How to Use This Calculator
  1. Enter Tasks per Day — the number of agent jobs your system executes daily.
  2. Set Avg Steps per Task (e.g., 5 for simple tasks, 10–15 for complex reasoning chains) and Tokens per Step.
  3. Enter Tool Calls per Task and Cost per Tool Call to capture external API expenses like web search or code execution.
  4. Set Input Price and Output Price per 1M tokens from your chosen LLM provider's pricing page.
  5. Adjust Retry Rate (%) for expected step failures, then review Cost per Task, Monthly Cost, and Daily Tokens to budget your AI operations.

How the result changes with Avg steps per task

Avg steps per taskCost per task ($)Monthly cost ($)
11$0.45$670.23
36$3.47$5,199.48
65$10.59$15,879.60
90$19.84$29,764.35

What each input means

Tasks per day
Number of agent tasks executed per day.
Avg steps per task
Average number of reasoning/action steps the agent takes per task. Simple tasks: 2-3, complex: 8-15.
Tokens per step
Base tokens consumed per agent step (input + output before context growth).
Tool calls per task
Average number of external tool/API calls per task (web search, code execution, etc.).
Cost per tool call ($)
Average cost per external tool call (API fees, compute, etc.).
Input price per 1M tokens ($)
LLM input token price. GPT-4o: $2.50, Claude Sonnet: $3.
Output price per 1M tokens ($)
LLM output token price. GPT-4o: $10, Claude Sonnet: $15.
Retry rate (%)
Percentage of steps that require retry due to failures, adding to cost.

What each result means

Cost per task ($)
Total cost per agent task including LLM, tools, and retries.
LLM cost per task ($)
Token cost per task (accounts for cumulative context growth across steps).
Tool cost per task ($)
External tool/API call cost per task.
Daily cost ($)
Total daily agent operating cost.
Monthly cost ($)
Projected 30-day agent cost.
Annual cost ($)
Projected 365-day agent cost.
Tokens per task
Total tokens consumed per task (input + output with context growth).
Daily tokens (millions)
Total daily token consumption in millions.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Tasks per day = 50, Avg steps per task = 5, Tokens per step = 2000, Tool calls per task = 3 = 8 input(s) provided
  2. Calculate Cost per task
    Cost per task = (llmCostPerTask + toolCostPerTask) * retryMultiplier
    0.1518 = $0.152
  3. Calculate Monthly cost
    Monthly cost = dailyCost * 30
    227.7 = $227.7
  4. Calculate LLM cost per task
    LLM cost per task = llmInputCostPerTask + llmOutputCostPerTask
    0.108 = $0.108
  5. Calculate Tool cost per task
    Tool cost per task = toolCallsPerTask * toolCallCost
    0.03 = $0.03

Engine last updated .

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Technology & Computing.