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

Coding agent cost calculator

What a task in Claude Code, Cline, Roo Code or OpenCode costs in rupees, from the number of steps and how much context each step re-sends.

Model

One task

One model call per step: read, edit, run, check

System prompt, tool definitions and the first files

File contents and command output that stay in the session

Edits and explanations the model writes

Context already sent in the previous step

How much you use it

Cost on Claude Sonnet 5.5

Per task
₹118.43
Per day
₹592.13
Per month
₹13,027
Per task without caching
₹251.15
Tokens per task
37,500 out
11,00,000 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

Why input dominates

A coding agent re-sends the session on every step, so the context is paid for again each time. With 25 steps the model reads 11,00,000 input tokens to write 37,500. Starting a fresh session for a new task keeps that context small.

What caching changes

Context that was already sent in the previous step can be read from the prompt cache at the cached-input price. The first step is never cached. See the prompt caching calculator for the details.

Cap it before you run it

Give the agent its own API key with a budget so a long session stops at a limit you chose: spend limits per key. Setup for Claude Code, Cline and OpenCode is in the docs.