# AI agent cost calculator

Updated November 22, 2026. Prices are API list prices in US dollars. The interactive calculator is at https://rakazo.com/ai-agent-cost-calculator/.

An AI agent that runs 20 medium tasks a day costs about $116 a month on Claude Sonnet 5.5 with Rakazo Cloud: $101 of model tokens plus the $15 plan. The same work costs about $203 in tokens on Claude Opus 5.5, or about $47 in total on DeepSeek Flash with a self-hosted server. Subscriptions such as Grok Bot, Claude Duet and OpenAI dots cost a flat $20 to $500 a month instead, with usage limits.

## How the estimate works

Monthly cost = tasks per day × model calls per task × 30 days × cost per model call + hosting.

- Cost per model call = 40,000 tokens split by the observed token mix, at the model's list prices.
- Hosting is $15/mo on Rakazo Cloud (Standard plan, your own model), or your server's monthly cost when self-hosted (default $35).

Signing in with a ChatGPT plan, or with Claude Pro or Max on a self-hosted source checkout, replaces the model token cost with that plan's flat fee, within its limits. See [Rakazo pricing](https://rakazo.com/pricing/).

## Worked example

20 medium tasks a day on Claude Sonnet 5.5, hosted on Rakazo Cloud:

1. Model calls: 20 tasks × 10 calls × 30 days = 6,000 calls a month.
2. Tokens per call: 40,000, split into 35,520 cache reads, 2,320 uncached input, 1,720 cache writes and 440 output.
3. Cost per call at Claude Sonnet 5.5 list prices: $0.003552 + $0.00464 + $0.0043 + $0.0044 = $0.01689.
4. Model tokens: 6,000 calls × $0.01689 = $101.35 a month.
5. Total: $101.35 + the $15 Rakazo Cloud plan = $116.35 a month. Self-hosted on a $35 server, it is $136.35.

## Monthly model cost by model and task size

Model tokens only, at 20 tasks a day. Add $15 for Rakazo Cloud, or your server's cost.

| Model | Small (3 calls) | Medium (10 calls) | Large (30 calls) | Price per million tokens |
| --- | --- | --- | --- | --- |
| Claude Opus 5.5 | $60.81 | $202.70 | $608.11 | $4 in, $0.20 cached, $20 out. [Anthropic API pricing](https://platform.claude.com/docs/en/about-claude/pricing), checked November 22, 2026 |
| Claude Sonnet 5.5 | $30.41 | $101.35 | $304.06 | $2 in, $0.10 cached, $10 out. [Anthropic API pricing](https://platform.claude.com/docs/en/about-claude/pricing), checked November 22, 2026 |
| Claude Haiku 5.5 | $1.84 | $6.13 | $18.40 | $0.10 in, $0.01 cached, $0.50 out (Prompts up to 100,000 tokens). [Anthropic API pricing](https://platform.claude.com/docs/en/about-claude/pricing), checked November 22, 2026 |
| GPT-6.1 Sol | $28.86 | $96.19 | $288.58 | $2 in, $0.10 cached, $10 out (Prompts up to 272,000 tokens). [OpenAI API pricing](https://developers.openai.com/api/docs/pricing), checked November 22, 2026 |
| GPT-6 Astra | $176.26 | $587.52 | $1,763 | $10 in, $1 cached, $50 out (Prompts up to 272,000 tokens). [OpenAI API pricing](https://developers.openai.com/api/docs/pricing), checked November 22, 2026 |
| Grok 4.7 | $51.26 | $170.88 | $512.64 | $2 in, $0.50 cached, $6 out (Prompts under 200,000 tokens). [xAI models and pricing](https://docs.x.ai/docs/models), checked November 22, 2026 |
| DeepSeek Flash | $3.52 | $11.72 | $35.16 | $0.30 in, $0.006 cached, $1.20 out (Peak-hour price; off-peak is half). [DeepSeek API pricing](https://api-docs.deepseek.com/quick_start/pricing), checked November 22, 2026 |

## Subscription prices

These assistants charge a flat monthly fee for a plan that includes the agent, with usage limits instead of a token bill. Their limits are not published in tokens, so the calculator does not say which plan your usage needs.

| Assistant | Plans that include it | Source | Compare |
| --- | --- | --- | --- |
| Grok Bot | Premium $30/mo, Super $100/mo, Ultra $200/mo, Teams $30/mo. | [The X Subscription: plans and usage](https://docs.x.ai/x-subscription/pricing), checked November 16, 2026 | [Grok Bot alternative](https://rakazo.com/grok-bot-alternative/) |
| Claude Duet | Claude Pro $20/mo, Claude Max $100/mo, Claude Ultra $200/mo. Research preview for US subscribers, by waitlist invite. | [Claude pricing](https://claude.com/pricing), checked November 8, 2026 | [Claude Duet alternative](https://rakazo.com/claude-duet-alternative/) |
| OpenAI dots | ChatGPT Pro 100 $100/mo, ChatGPT Pro 200 $200/mo, ChatGPT Pro 500 $500/mo. Not offered in the EEA, the UK or Switzerland. | [ChatGPT pricing](https://chatgpt.com/pricing), checked November 16, 2026 | [OpenAI dots alternative](https://rakazo.com/dots-alternative/) |

## Assumptions and sources

- **Observed on Rakazo:** about 40,000 tokens per model call, of which 88.8% are cache reads, 5.8% uncached input, 4.3% cache writes and 1.1% output. Aggregated over every Rakazo model call from August 14 to November 20, 2026, across all providers.
- **Assumption:** calls per task. Small is about 3 calls (answer a question, add a calendar event, look one thing up); Medium is about 10 calls (triage an inbox, research a topic and write a summary); Large is about 30 calls (multi-step browser work, a coding change with tests).
- **Assumption:** 30 days a month, and every call priced at the model's standard rate with no batch discount.
- **Assumption:** where a vendor lists no cache-write price (OpenAI, xAI, DeepSeek), cache writes are billed as input.
- **Assumption:** a $35/mo server by default, rounded up from [Hetzner Cloud CPX32: 4 vCPU, 8 GB RAM, from €30.49/month before VAT](https://www.hetzner.com/cloud/regular-performance/) (checked November 22, 2026). The [self-hosting guide](https://rakazo.com/self-hosted-ai-agent/) sizes the database for an 8 GB host.
- **Source:** Rakazo Cloud's Standard plan with your own model is $15/mo. [Rakazo pricing](https://rakazo.com/pricing/)

## FAQ

### How much does it cost to run an AI agent per month?

It depends mostly on the model and on how many model calls your tasks take. At 20 medium tasks a day, the token bill is about $12 on DeepSeek Flash, $101 on Claude Sonnet 5.5 and $203 on Claude Opus 5.5 at API list prices. Hosting adds $15 a month on Rakazo Cloud, or what your server costs if you self-host.

### Why does an agent use so many tokens per task?

An agent works in steps. Each step sends the conversation so far, the tool definitions and the latest tool results back to the model, so a 10-step task sends the same context 10 times. Prompt caching makes the repeated part cheap: on Rakazo, 89% of all tokens are cache reads, billed at a small fraction of the input price.

### Is a subscription like Grok Bot, Claude Duet or OpenAI dots cheaper?

For heavy use on a frontier model, often yes: a flat fee can cover more tokens than they would cost on the API. For light use or a cheaper model, paying per token usually costs less. Subscriptions also have usage limits the vendors don't publish in tokens, and each runs one vendor's models in that vendor's app.

### Can I use a ChatGPT or Claude subscription with Rakazo instead of paying per token?

Yes. Sign in with ChatGPT on an eligible plan, on Rakazo Cloud or self-hosted. To use Claude Pro or Max, self-host Rakazo from a source checkout and run it through the official Claude Code CLI signed in with your account. Your model cost is then that plan's flat fee, within its limits.

### What does self-hosting an AI agent cost?

The software is free and open source. You pay for a server and for the model. The self-hosting guide sizes the database for an 8 GB host, which costs about €30 a month before VAT at Hetzner; the calculator uses $35 and lets you change it. A machine you already own costs nothing extra.

### How accurate is this estimate?

It is a rough guide. Model prices are list prices from each vendor's page on the date shown. The tokens per call and their split come from Rakazo's own usage across all providers, and the calls per task are our assumption. Long prompts can move a model into a higher price tier, and reasoning-heavy models write more output.

## Related

- [Rakazo pricing](https://rakazo.com/pricing/)
- [Grok Bot alternative](https://rakazo.com/grok-bot-alternative/)
- [Claude Duet alternative](https://rakazo.com/claude-duet-alternative/)
- [OpenAI dots alternative](https://rakazo.com/dots-alternative/)
- [Self-hosted AI agent guide](https://rakazo.com/self-hosted-ai-agent/)
- [AI assistant price index](https://rakazo.com/ai-assistant-price-index/)
- [All alternatives](https://rakazo.com/alternatives/)
