Technology

AI Agent Cost Calculator

Estimate what an AI agent costs per workflow and per month using model input and output tokens, paid tool calls, and repeat attempts.

01

Your inputs

02

Your result

Ready when you are.

Adjust the inputs, then calculate to see your result here.

Calculated on your device.

GET MORE FROM YOUR RESULT

Using the AI Agent Cost Calculator

Add up the tokens and paid tool calls across every step in a typical attempt. Enter 0.1 additional attempts per workflow if you expect one retry for every ten workflows.

Worked example

At the example rates, tokens cost 0.016 and tools cost 0.004 per attempt. With 1.1 attempts per workflow and 10,000 workflows, the monthly estimate is 220.

Example inputs

Workflows per month
10000
Input tokens per attempt
4000
Output tokens per attempt
1000
Cost per million input tokens
2
Cost per million output tokens
8
Paid tool calls per attempt
2
Cost per tool call
0.002
Average additional attempts per workflow
0.1

Example result

Total monthly cost
220
Input token cost
88
Output token cost
88
Tool call cost
44
Cost per workflow
0.022
Monthly attempts
11,000

Method and assumptions

Multiply the cost of one attempt by one plus the average additional attempts, then scale by monthly workflows.

Model billable usage

The starting rates are illustrative. For cost estimates, use your provider’s billing units, region and plan, and keep all prices in the same currency.

Common question

How should I model retries that stop early?

The calculator charges each attempt equally. Use average token and tool usage across all attempts if retries often finish early or skip steps.