AI Tools
What does Claude Managed Agents cost per month?
Claude Managed Agents pricing is $0.08 per session-hour plus normal token charges, so Anthropic's own example, a one-hour Opus 5.5 session with 50,000 input and 15,000 output tokens, bills $0.58. Runtime accrues only while a session's status is running, which makes idle agents free and long autonomous runs expensive.
What matters
- Session runtime bills $0.08 per hour only while a session is running; idle waits, rescheduling and terminated sessions are free, per Anthropic's pricing docs checked on November 29, 2026.
- At Anthropic's example token profile, 176 session-hours a month costs $102.08 on Opus 5.5, $58.08 on Sonnet 5.5 and $16.28 on Haiku 5.5.
- Session runtime replaces container-hour billing, and the Batch API discount cannot help because sessions have no batch mode.
- Models from Claude 4.7 onward tokenize the same text into roughly 30% more tokens, so cost estimates carried over from older models understate the bill.
- The runtime fee alone reaches $60 a month at 750 session-hours, which is the volume where building your own runtime starts to make sense.
What Claude Managed Agents is, in one paragraph
Claude Managed Agents is Anthropic's hosted agent harness: a pre-built runtime where Claude reads files, runs shell commands, browses the web and calls MCP servers inside a managed sandbox. You define four things and the service handles the rest: an agent (model, system prompt, tools, MCP servers, skills), an environment (Anthropic's cloud sandbox or a self-hosted one), a session (one running instance doing a task) and events (messages and tool results exchanged with your app).
Per Anthropic's overview, it is aimed at long-running and asynchronous work: sessions persist filesystem state and conversation history, resume after pauses, and can be scheduled on a cron through scheduled deployments. The alternative it competes with is your own agent loop on the Messages API.
The beta status matters for budgeting. All endpoints need the managed-agents-2026-04-01 beta header, behavior can change between releases, and the service is not eligible for zero data retention or HIPAA coverage. Transcripts persist until you delete the session, which is a compliance cost even when it is not a dollar cost.
The bill has two lines, and only one is tokens
Anthropic bills Claude Managed Agents on tokens and session runtime. The token line is the same rate card you pay on the Messages API. The runtime line is new: $0.08 USD per session-hour, measured to the millisecond, accruing only while a session's status is running.
- Time spent idle while waiting for your next message or a tool confirmation does not count.
- Rescheduled sessions and terminated sessions do not count.
- Session runtime replaces the older code execution container-hour model, so you are not billed twice for containers.
- There is no batch mode for sessions, so the Batch API's 50% discount does not apply here.
The clock is the design decision that matters. A session that spends 40 minutes waiting on a browser fetch and 5 minutes generating is billed for roughly 5 minutes of runtime, but every minute Claude is actively grinding through a tool loop is billed. Work that used to look cheap because it ran on free code-execution hours now carries a per-hour meter.
For contrast, the standalone code execution tool on the Messages API gives each organization 1,550 free container hours a month and charges $0.05 per hour after that. Managed Agents starts charging at hour one, at $0.08. What you buy with the difference is orchestration: session state, resumption, scheduled runs and tool plumbing you would otherwise write.
What a month of sessions actually costs
Anthropic's published example is a one-hour Opus 5.5 session using 50,000 input tokens and 15,000 output tokens: $0.20 of input, $0.30 of output and $0.08 of runtime, for $0.58. I used that same token profile for every hour in the table below, so the runtime fee is the only difference between rows and the token cost scales with the model.
Three checkpoints matter: 40 hours is a daily scheduled job, 176 hours is one agent working eight hours on each of 22 weekdays, and 730 hours is one agent running continuously for a month.
On Opus 5.5 ($4 input / $20 output per million tokens) that profile costs $0.50 an hour in tokens. On Sonnet 5.5 ($2 / $10) it costs $0.25. On Haiku 5.5 ($0.10 / $0.50 for prompts up to 100,000 tokens) it costs $0.0125, and the runtime fee becomes the largest line, which flips the usual advice to pick the cheapest model.
Three things that move the bill more than the runtime fee
Tokenizer drift. Anthropic states that Claude 4.7 and later models, plus Claude Mythos Preview, use a newer tokenizer that produces roughly 30% more tokens for the same text than earlier models. A prompt budget measured on Sonnet 4.5 is therefore about a third short on Fable 5.2 or Opus 5.5, and the error lands on both input and output.
Cache reads, not cache writes. Prompt caching is the biggest lever available. Cache hits price at 0.025x base input on Fable 5.2 and Mythos 5.2, 0.05x on Opus 5.5 and Sonnet 5.5, and 0.1x on everything else. Anthropic's cached variant of the same example, where 40,000 of the 50,000 input tokens are cache reads, drops from $0.58 to $0.428. Cache writes cost more than base input ($10 per million on Fable 5.2 for a 5-minute cache), so caching pays only when the same context is reused inside the cache window.
Haiku's prompt-length step. Haiku 5.5 is priced by prompt length rather than a flat rate: $0.10 input and $0.50 output up to 100,000 prompt tokens, then $0.50 and $2.50 above it. Prompt length counts cache reads and cache writes too. An agent that drags a 120,000-token context through every turn pays the higher tier on the whole request, not just the overflow.
Managed Agents versus building your own runtime
The break-even is arithmetic, not opinion. At $0.08 a session-hour, the runtime fee alone reaches $60 a month at 750 hours, and $175 at 2,190 hours. Below roughly 750 hours a month, the fee is small next to the engineering time it replaces, especially because a self-built loop still needs sandboxing, tool execution, retries and session storage.
Above that, the math changes, and Anthropic has two escape hatches. Self-hosted sandboxes keep Anthropic's orchestration but run the environment on your infrastructure, which is the only route to zero data retention. Self-hosted Claude Managed Agents takes the whole service in-house. Both trade dollars for operational work and, in the second case, for a deployment you now own.
Two budgeting caveats come straight from the docs. Volume discounts are negotiated case by case rather than published, and enterprise pricing needs a sales conversation. The docs also state that new API users get free credits to test, but there are no free runtime hours for Managed Agents, so a pilot is not free at any meaningful volume.
How to keep the bill down
- End sessions instead of parking them. Idle time is free, but a running session is not, so close a session when the task is done rather than leaving it open for a follow-up next week.
- Route by task: Haiku 5.5 for classification, extraction and routing, Sonnet 5.5 for production work, Opus 5.5 only where reasoning quality pays for itself, Fable 5.2 at $8/$40 for the hardest long-horizon jobs.
- Keep reusable context inside the cache window and check the write cost against the read savings before assuming caching helps.
- Compact long sessions. The harness supports compaction, and a session that carries its entire history into every turn pays for that history on every turn.
- Watch output tokens. Output is five times input price on every current model, so verbose tool output and long explanations cost more than a bigger context.
At a glance
| Session-hours / month | Runtime fee | Opus 5.5 total | Sonnet 5.5 total | Haiku 5.5 total |
|---|---|---|---|---|
| 40 (daily job) | $3.20 | $23.20 | $13.20 | $3.70 |
| 176 (8h x 22 weekdays) | $14.08 | $102.08 | $58.08 | $16.28 |
| 730 (always on) | $58.40 | $423.40 | $240.90 | $67.53 |
FAQ
Does Claude Managed Agents charge per token or per hour?
Both. Tokens bill at standard Claude model rates, and session runtime adds $0.08 per hour while a session is running, metered to the millisecond. Anthropic's one-hour Opus 5.5 example with 50,000 input and 15,000 output tokens totals $0.58.
Is idle time billed on a Managed Agents session?
No. Runtime accrues only while the session status is running. Waiting for your next message, waiting on a tool confirmation, rescheduling and termination do not count, so a parked session costs storage and nothing else.
Is there a free trial for Claude Managed Agents?
Not in the sense of free runtime hours. New API users receive free credits to test the API, and volume discounts exist on request, but the $0.08 session-hour fee applies from the first running hour.
Related reading
Omnara vs Claude Managed Agents, Claude API pricing, OpenAI Agents API pricing, self-hosted AI agents