AI Infrastructure•Pre-Configured Scenario (2026-11-05)

AI Coding Agent & Multi-Turn Tool Call Cost Calculator

Calculate multi-turn context accumulation and file inspection API token costs for autonomous AI coding agents like Claude Code, Cline, and Roo Code.

17 models, prices checked 5 Nov 2026Per-token list prices from the OpenRouter models API
Step 1

Describe Your Workload

/ day

= 15,000 requests a month (30 days)

System prompt + chat history + retrieved documents + the user's message.

Count too: they bill as output.

Rule of thumb for English: is roughly 750 words.

75%

With , the repeated start of each prompt is billed at the cheaper cache-read rate.

How fast do you need answers? ()
Result

Claude Sonnet 5.5

Estimated monthly cost$249.00
Per request$0.02
Per 1k requests$16.60
Per year$2,988.00
Input: 30M tokens @ $2/M
$60.00
Cached input: 90M tokens @ $0.1/M
$9.00
Output: 18M tokens @ $10/M
$180.00
Total per month
$249.00

Cost = tokens ÷ 1,000,000 × price per 1M, summed for input, cached input and output

Cheapest mid-tier model for this workload: Mistral Large 4 at $65.10/month (74% less). Cheapest overall: DeepSeek V4.1 Flash at $11.97/month. Cheaper models can be weaker, so test them on your own prompts before switching.

This Workload on Every Model

120M input and 18M output tokens a month at real-time prices. Cheapest first; tap a model to load it above.

ModelTierInput / 1MCached / 1MOutput / 1MContextMonthly costvs Claude Sonnet 5.5
DeepSeekBudget$0.045$0.018$0.51M$11.97-95%
AnthropicBudget$0.1$0.01$0.51M$12.90-95%
OpenAIBudget$0.1$0.01$0.51.1M$12.90-95%
Alibaba QwenBudget$0.15$0.016$0.471M$14.40-94%
GoogleBudget$0.25$0.025$1.51M$36.75-85%
Meta (open weights)Budget$0.35$0.17$1524.3K$43.80-82%
MistralMid$0.7$0.07$2.11M$65.10-74%
DeepSeekMid$0.103$0.098$4.111M$85.89-66%
GoogleMid$0.825$0.0825$4.1251M$106.43-57%
OpenAIMid$1$0.05$51.1M$124.50-50%
xAIFlagship$2$0.5$6500K$213.00-14%
AnthropicMid$2$0.1$101M$249.00selected
GoogleFlagship$2$0.1$101M$249.000%
OpenAIMid$2$0.1$101.1M$249.000%
AnthropicFlagship$4$0.2$201M$498.00+100%
AnthropicFlagship$10$0.25$501M$1,222.50+391%
OpenAIFlagship$10$1$501.1M$1,290.00+418%

Prices are the per-token rates OpenRouter listed on 5 Nov 2026. Buying direct from a provider can be priced differently, and some providers charge more for very long prompts, so check the provider's pricing page before you commit a budget. Cache-write charges (paid the first time a prefix is cached) are not included; with a high cache share they add little. A month is 30 days.

SK
Sushant KhatriMaintainer

Vsurge Media • AI Products & Web Software

Builds AI chatbots, agents and web software for clients. The prices on this page come from OpenRouter's public models API and are refreshed with a script; the maths is shown under every result so you can check it.

Prices Synced From OpenRouter
Last Checked:5 Nov 2026
Models:17 from 8 providers
Price Source:OpenRouter public API
The date at the top of the calculator is the last time every price was re-checked.

Notes for This Preset

A coding agent that makes 500 model calls a day (15,000 requests/month), using example inputs of 8,000 input tokens (file context, terminal output and tool definitions) and 1,200 output tokens per call, costs $249.00/month ($16.60 per 1,000 calls) on Claude Sonnet 5.5 with 75% of the input served from cache, at the OpenRouter prices of 5 November 2026. Without caching the same workload costs $420.00/month. Output tokens cost 5 times as much as input on this model ($10.00 vs $2.00 per 1M), so shorter answers lower the bill too. Real agent traffic varies a lot: replace the example token counts with your own.

How can I lower the API bill for this workload?

Three levers, in order of effort: cache the repeated start of the prompt (system prompt, documents, tool definitions), move work that can wait to the Batch API, and test a cheaper model on your own prompts. Shorter answers help too, because output tokens cost several times more than input tokens.

Building an AI Chatbot, Agent or RAG App?

Vsurge Media builds production AI assistants, RAG search and automation for businesses, and helps keep the monthly API bill under control.

Talk to Our Team