Back to Tools

AI Agent Cost Calculator

An agent run is more than one prompt. Each step can send the task again plus tool output, then write another reply. This calculator prices that loop and the month of tasks.

An agent run is more than one prompt. Each step can send the task again plus tool output, then write another reply. This calculator prices that loop and the month of tasks.

Sample rates are planning examples, not official prices. Confirm the current price on the provider’s pricing page. This page is not affiliated with OpenAI, Anthropic, Google, or DeepSeek, and it is not financial advice.

How to use the AI Agent Cost Calculator

  1. Enter the tokens in the original task.
  2. Enter the average extra input and the average output on one step, then how many steps a finished task takes.
  3. Enter how many tasks run per day and choose a model rate.
  4. Read tokens per run, cost per finished task, and the 30-day spend.

How token math works

Providers bill input tokens and output tokens separately, usually per 1 million tokens. This suite estimates English prose at 1 token per 4 characters (about 0.75 words per token), code and JSON at 1 token per 3 characters, and multilingual text at 1 token per 2 characters. Dollar figures use the rate you select. They update in the browser and are not a quote from a model provider.

Practical notes

  • Input per run = initial task + steps × input per step. Output per run = steps × output per step.
  • A loop that rereads the whole history costs more than these averages. Use the chatbot context calculator when history grows every step.
  • Next: Chatbot Context Growth Calculator.
  • Also compare with the AI SaaS API Bill Forecaster.
  • Browse AI products in the AI tools directory when you want a tool listing rather than a token estimate.

FAQ

What is a step?

One reasoning or tool pass: the agent sends input, the model returns output, and the loop either stops or continues. A 6-step task has six of those passes.

Does this include the tool vendor’s fee?

No. It prices model tokens only. A search API, a browser, or a database has its own bill.

How is the monthly spend calculated?

Cost per task times tasks per day times 30. Change the daily task count if weekends are quiet.