Skip to main content
All tools
Free tool · No account needed

AI agent cost per task calculator

What a multi-step agent costs for each task it completes, including the tasks that have to be retried.

Model

One task

Each tool call usually needs one call before it and one after

System prompt, tool definitions and the request

Tool results and the model's own messages

Use 0 unless you have prompt caching set up

Failed or abandoned runs still cost money

Volume

Cost on GPT-6.1 Sol

Per completed task
including retries
₹13.39
One attempt
₹12.17
Per month
₹13,389
Tokens per attempt
3,200 out
46,400 in

Rupee prices are read from the live catalog, last updated 2026-11-22. They follow the USD/INR rate, so a real bill can differ slightly.

Get an API key

How an agent task is priced

An agent calls the model, runs a tool, and calls the model again with the result added to the conversation. Every call re-sends what came before, so call 8 costs more than call 1. The calculator adds up each call at its own size.

The levers

Fewer calls per task and smaller tool results cut cost fastest. A smaller model for routing or extraction steps helps next; compare models on the models page. For chat-style workloads without tools, use the LLM cost calculator.

Stop loops from costing you

Set a maximum number of steps in your agent framework and a budget on the API key it uses: spend limits per key. For coding agents there is a separate calculator.