Managed Agents Compared 2026: Claude, OpenAI, Gemini, AWS, or LangChain — Who Runs What, and What You Still Pay For
Key takeaways
- Five vendors now sell a hosted agent runtime. Each one runs the loop, the sandbox, and the session state for you — and none of them knows who your customers are.
- Claude is the only one with a flat hourly rate: $0.08 per session-hour, idle time free. OpenAI charges no platform fee and bills hosted containers; Google bills no sandbox compute during its preview; AWS bills CPU and memory per second; LangChain bills reserved capacity even when idle.
- The spend cap you can actually set is different on each: Claude caps one session, OpenAI caps the org or project, Google's project caps are experimental, AWS caps one invocation, LangChain publishes no per-customer cap.
- Pick by the model and cloud you already run on, then by the control you need. Approvals, caps, and per-customer isolation are still mostly your code.
Five vendors now sell the same promise: hand us the agent, we run it. You define the model, the instructions, and the tools. The vendor runs the loop that calls the model, the sandbox where code executes, the session state that survives a pause, and the stream of events you read back. Anthropic, OpenAI, Google, AWS, and LangChain each ship one, most of them still in beta or preview as of November 2026.
The promise is the same. The bill is not. One charges a flat rate per running hour, one charges nothing for the harness and bills the container, one bills nothing for the sandbox while it is in preview, one bills every moving part by the second, and one bills the capacity you reserve whether the agent works or waits. The approval step and the spend cap differ just as much — and that is where most teams get surprised, because a runtime counts its costs per session, and a product has to count them per customer.
| Vendor | Status | What you pay | The control to check first |
|---|---|---|---|
| Claude Managed Agents | Public beta since Apr 8, 2026 | Tokens plus $0.08 per session-hour, idle free | A hard dollar cap per session |
| OpenAI Agents API | Public beta since Sep 10, 2026 | Tokens and tools, plus hosted containers from $0.03 per 20-minute session | Spend caps at org or project level |
| Managed Agents in the Gemini API | Public preview since May 19, 2026 | Tokens and tools; sandbox compute free in preview | A token budget per run; project caps are experimental |
| Amazon Bedrock AgentCore | Generally available | CPU and memory per second from $0.0895 per vCPU-hour, plus per-call services | Cost limits per invocation |
| LangChain (Managed Deep Agents + LangSmith) | Deep Agents in public beta since Aug 7, 2026; LangSmith Agent Server generally available | No published price for Deep Agents; LangSmith Plus $39 per seat per month plus reserved capacity | Interrupts for approvals; no published per-customer cap |
What “managed” actually runs for you
Strip away the brand names and the five products do the same job: they run the loop that calls the model and hands work to tools, they give the agent a sandbox to run code in, they keep session state alive between turns, and they stream the events back so you can see what happened. Most of them add web search, connections to Model Context Protocol (MCP) servers, and a place to store credentials. What changes between them is the edge: which model you can use, whose cloud the sandbox sits in, whether a session can run for days, and what happens when the agent wants to do something expensive or irreversible.
None of the five knows who your customers are. Your API key is the only identity the vendor sees — not the small business on your Starter plan, not the team on Enterprise. So four jobs stay in your code: deciding which customer owns which session, credential, and memory; adding up what each customer spent in their billing period; getting an approval from the right person inside your product; and keeping receipts a customer can read. The prices below are the easy part. Those four jobs are where the offerings differ most, and they are the reason this page spends as much time on caps and approvals as on prices.
Claude Managed Agents — one flat hourly rate
Claude Managed Agents launched in public beta on April 8, 2026, and is still in beta as of November 2026. You define an agent — model, system prompt, tools, MCP servers, skills — and an environment: Anthropic’s cloud sandbox or a self-hosted one on your own infrastructure. Sessions stream events, come with built-in bash, file, and web tools, and resume cleanly after a pause.
The bill has two lines, as of November 2026. Model tokens at the standard API rates, plus $0.08 per session-hour, counted only while a session is running. Time spent idle, waiting for your next message or for a tool approval, is free. Anthropic’s own example puts a number on it: a one-hour session on Opus 5.5, at $4 per million input tokens and $20 per million output tokens, using 50,000 input and 15,000 output tokens, costs $0.58 — $0.20 of input, $0.30 of output, $0.08 of runtime. Sonnet 5.5 lists at $2 and $10 per million tokens. Web search adds $10 per 1,000 searches. A session running every hour of a 30-day month costs $57.60 in runtime before a single token.
The controls are the strongest per-session set here. A session budget puts a hard dollar cap on one session — when the session’s list-price cost reaches the limit, it pauses. The always_ask permission policy pauses a tool call until your application sends back a confirmation, which is the real human checkpoint; the auto policy is not one. A vault holds one end user’s credentials, and Anthropic’s cookbook recommends one memory store per end user.
Know the edges before you build on it. Vaults are workspace-scoped, so any API key with workspace access can reference any user’s vault — the boundary between your customers is your mapping code. Permission policies do not cover custom tools. A budget caps one session. It says nothing about a customer who starts forty sessions in a month: each one gets its own budget, and your cheapest plan pays for all forty. And Managed Agents is not eligible for Zero Data Retention or HIPAA coverage. Every request still carries the managed-agents-2026-04-01 beta header, and token rates are the same ones on our Claude Code pricing page.
OpenAI Agents API — no platform fee, the container is the bill
OpenAI released the Agents API in public beta on September 10, 2026. It gives your application the Codex harness through an OpenAI-managed API: OpenAI handles sessions, orchestration, context compaction, and recovery, and you choose the environment — none, OpenAI-hosted, or self-hosted — plus sandbox partners such as E2B, Daytona, Modal, and Vercel. Computer use joined the API at DevDay on September 29.
There is no platform fee. You pay for the tokens and tools you use, plus hosted containers when you use an OpenAI-hosted sandbox. The containers bill at OpenAI’s standard container rates — $0.03 for 1 GB, $0.12 for 4 GB, and $0.48 for 16 GB per 20-minute session, billed by the minute with a five-minute minimum — although the docs do not say which size an Agents API session gets. An hour in the smallest box is nine cents before a single token; an hour in the 16 GB box is $1.44. The model in OpenAI’s examples, GPT-6-astra, lists at $10 per million input tokens and $50 per million output tokens as of November 2026; GPT-5.5 lists at $5 and $30.
The approval story needs reading twice. With auto_review, an OpenAI-managed reviewer — a model, not a person — approves or denies risky actions. With none, the docs say actions are not sent to your application for manual approval. For a human decision, put the action behind a function tool: the session waits on required_actions until your code answers. Spend limits are organization and project hard caps, added July 22, 2026. Sessions accept metadata and vault IDs but no user or budget field, and tracing is on by default.
Two limits matter for regulated work. The Agents API supports US data residency only, and it does not support Zero Data Retention — state is kept until you delete it. Choosing a self-hosted sandbox does not change that.
Do not confuse the Agents API with the two products around it. Agent Builder, the visual canvas, shuts down Nov 30, 2026 — the Agents API is the hosted path that stays. And ChatGPT dots pricing is a different product again: dots is the always-on agent inside ChatGPT, billed through Pro or Business plans, not through the API.
Managed Agents in the Gemini API — the preview that does not bill the sandbox
Managed Agents in the Gemini API launched on May 19, 2026, and is in public preview. One API call provisions a Linux sandbox, driven through the Interactions API, and the agent inside it is Google’s Antigravity agent — the same harness as the Antigravity IDE. A July update added background runs, remote MCP, and custom functions. The current base agent is antigravity-preview-09-2026, released September 17, 2026, replacing the May preview.
Environment compute is not billed during the preview, so you pay for tokens and tool fees. The agent runs on Gemini models — the docs name Gemini 3.8 Flash, which lists at $0.75 per million input tokens and $3.75 per million output tokens through December 31, 2026, then $1.50 and $7.50 from January 1, 2027. The model Google points Flash users to now is Gemini 4 Hydrogen, which lists at $1.50 and $7.50 from day one — the Gemini 4 Hydrogen guide works through when the cheaper model is enough and when it is not. Google describes the agent as pay-as-you-go on model tokens and tools, and says a single interaction typically consumes roughly 100,000 to 3 million tokens — budget for that, not for a tidy per-call price.
The controls are the thinnest here for multi-tenant use. Credentials are project-wide, there is no end-user concept, and project spend caps are experimental and limited in scope — agent sessions can overrun them. What does work: a token budget on every run, and a custom function that pauses the interaction in requires_action for your code. Hooks can block built-in sandbox tools but skip custom functions and MCP tools, and a hook that crashes or times out counts as allow. Interactions are kept up to 55 days on the paid tier. The preview carries no SLA and is not intended for production use or sensitive data — run one workflow as a pilot before rolling it out company-wide.
Google has a second, more tenant-aware offering under the same roof. Agent Runtime — the April 2026 name for Vertex AI Agent Engine, inside what is now the Gemini Enterprise Agent Platform — hosts agent code you deploy, with managed Sessions and Memory Bank. Every session must have a user ID, memories are isolated per scope, and IAM conditions can limit users to their own sessions. It bills CPU and memory per second, from about $0.085 per vCPU-hour plus $0.009 per GB-hour, with 50 vCPU-hours and 100 GB-hours free each month, and Sessions and Memory Bank at $0.25 per 1,000 events. No approval step or spend cap specific to Agent Runtime shows up in its docs.
Amazon Bedrock AgentCore — the itemised bill
AgentCore is the only generally available offering on this page — the services went generally available October 13, 2025, and the managed harness that runs the loop for you followed on June 17, 2026. It is a set of separate services — Runtime, Gateway, Identity, Memory, Policy, Observability — plus the harness, and it works with any framework and several model providers. The original Bedrock Agents, now called Agents Classic, closed to new customers on July 30, 2026.
The pricing page lists a rate for every moving part, and none of them has a monthly base fee. Runtime microVMs bill CPU and memory per second, with a one-second minimum, as of November 2026: v1 at $0.0895 per vCPU-hour plus $0.00945 per GB-hour, with no CPU charge during I/O wait — an agent spends most of its wall-clock time waiting on the model, a tool call, or a human, and during that wait you pay for memory, not CPU. Runtime v2, generally available September 18, 2026, costs more per unit — $0.1276 per vCPU-hour and $0.0169 per GB-hour — and buys you idle memory reclaimed automatically after 120 seconds, so you stop paying for the 2.5 GB your agent grabbed during one tool call once that call is done. Browser and Code Interpreter bill at the same v1 rates.
The per-call services add up quietly. Gateway API invocations are $0.005 per 1,000, Gateway search $0.025 per 1,000, web search $7 per 1,000 queries. Short-term Memory changed how it bills on October 6, 2026: it used to be $0.25 per 1,000 new events, and is now $1.00 per GB ingested, $0.20 per GB retrieved, and $0.10 per GB-month stored. Long-term memory storage is $0.75 per 1,000 records a month for built-in strategies. Observability bills at standard CloudWatch rates.
AWS’s own example shows what the shape means at volume: a customer-support agent, one million sessions a month, ten minutes of wall-clock each, 90% of it I/O wait, memory climbing from 1 GB to 2.5 GB — $0.006703 per session in runtime only, or $6,703 a month, before a single token. And watch the line that is not on the AgentCore page at all: if your agent runs in private subnets, a NAT gateway bills about $32.85 a month in us-east-1 whether anything runs or not. On a small dev account that gateway alone can be most of the bill.
Isolation is AgentCore’s strongest card: each session gets its own dedicated microVM, and memory can be scoped per actor. But AgentCore does not enforce session-to-user mappings, so your backend keeps them. Inline functions hand a tool call back to your code, which AWS calls the pattern for human-in-the-loop approvals. Cost limits are per invocation — iterations, timeout, tokens — with attribution by resource tags, and audit goes to CloudWatch and CloudTrail.
One more AWS offering sits beside AgentCore. Bedrock Managed Agents, powered by OpenAI, runs the Codex harness on AWS. Announced in April 2026 as a limited preview, it opened in preview on September 29, 2026, with no extra charge during preview beyond the AWS resources it uses. It is the AWS-hosted version of the OpenAI runtime above — same harness, AWS billing and identity around it.
LangChain — two products, one bill you reserve
LangChain ships two hosted products, and they bill differently. Managed Deep Agents entered public beta on August 7, 2026. You define an agent as a folder, and it runs the open-source Deep Agents harness with a sandbox per durable thread. It is the only offering here with end-user identity in the agent definition: identity.py verifies your users’ tokens, threads and stored credentials are keyed to that user, and cross-user requests get a 403. Interrupts pause sensitive tool calls so a person can approve, edit, or reject them. LangChain publishes no price for it and no per-customer cap — the pricing page does not list it.
LangSmith Deployment is the generally available option for your own LangGraph code, now renamed LangSmith Agent Server. Since October 1, 2026, it bills in LangChain Standard Units at $1 each, on top of seats: Plus is $39 per seat per month as of November 2026, with 10,000 base traces, then $0.005 per extra trace, and one free small serverless deployment. Agent Server runtime costs 0.0675 units per vCPU-hour and 0.0090 per GiB-hour, plus database compute and memory. A Serverless Small deployment — 1 vCPU, 2 GiB — runs 0.0855 units an hour, about $61.56 a month, and the first one is free on Plus. A Dedicated Small deployment runs 0.5335 units an hour, about $384.12 a month. The catch is in how it is measured: you pay for the resources you request, sampled every five minutes, even if the agent sits idle. A dedicated deployment that waits all month costs the same as one that works all month. Serverless deployments scale to zero and suit background agents; LangChain recommends always-on dedicated servers for customer-facing ones.
The free tier is Developer: $0, one seat, 5,000 base traces a month. The library itself stays free — LangGraph is MIT-licensed, and you can run it anywhere without LangSmith. The Agent Server behind it is licensed Elastic-2.0, source-available rather than open source, and the standalone server guide lists a LangSmith licence key among the settings for self-hosting it. Self-hosted and hybrid deployment are Enterprise-only.
Approvals and spend caps, side by side
Look at the table one column at a time. Isolation attaches to a session, a microVM, or a thread. Caps attach to a session, an invocation, or a project. An approval is a pause that your code has to answer — the vendor stops the agent and waits for you. No vendor here hands you the four things a product needs on top of that: a customer record that owns everything, a ledger that reserves money before it is spent, an approval queue tied to your users, and receipts per customer.
| Offering | Human approval | Spend cap | Audit trail |
|---|---|---|---|
| Claude Managed Agents | always_ask pauses for your app | Per session, hard dollar cap | Event history, OpenTelemetry |
| OpenAI Agents API | Through your function tools | Per org or project | Traces on by default |
| Managed Agents in the Gemini API | Custom functions pause for your code | Experimental, per project | Interactions kept up to 55 days (paid tier) |
| AWS Bedrock AgentCore | Inline functions return to your code | Per invocation | CloudWatch, CloudTrail |
| LangChain Managed Deep Agents | Interrupts | None found | LangSmith traces |
A model checking another model’s work is a filter, not a sign-off. When an action reaches a third party or deletes data, the person on the customer’s side should be the one who decides, and the record should say it was them. The WorkOS breach in October showed what happens when the network, credential, rate-limit, and detection controls are all missing at once — the hardening checklist is on the AI agent security after the WorkOS escape page. Keep your customer records, your ledger, and your receipts outside any one vendor’s session objects, too — if they live inside the runtime, switching models later means migrating your billing history with it.
How to pick
The choice is rarely about the harness. All five run the loop, the sandbox, and the session state, and the feature lists converge with every release. Choose on what is least likely to differ next year: the model you already run, the cloud you already pay, and the control you cannot build yourself.
- Claude is the model, and you want the most session controls: Claude Managed Agents. The flat $0.08 hourly rate is the easiest runtime bill on this page to forecast, and the session budget plus
always_askis the most complete approval-and-cap pair a vendor ships. - OpenAI is the model, and you want the Codex harness without the container work: the Agents API. No platform fee, and the container is the only runtime line — but budget for US-only residency and no Zero Data Retention.
- Google is the cloud, and the agent is a pilot: Managed Agents in the Gemini API while it is in preview, because the sandbox is free and a token budget caps each run. Move to Agent Runtime when the agent needs per-user sessions and memory that survives.
- AWS is the cloud, and isolation is the requirement: AgentCore. A microVM per session, IAM, and CloudTrail are the strongest isolation story here — and the itemised bill is the one you can actually audit line by line.
- Already on LangGraph, and the agent serves your customers: LangChain. Per-user threads through
identity.pyare the only end-user identity on this page, and the LangSmith Agent Server is the supported way to host the graph — just remember the dedicated bill runs whether the agent works or waits. - The agent serves many customers inside your product: whichever runtime you pick, budget the per-customer layer as its own build. If isolation, plan-tied caps, in-app approvals, and per-customer receipts are most of the work, evaluate a hosted platform built per customer before building that layer yourself.
If the choice is a tool to build on rather than a runtime to host, that is a different shortlist — the best AI agents page sorts by job, from hosted canvas to a runtime you own.
Wrong fits
Picking on the harness feature list. The loop, the sandbox, and the tool dispatch are close to a commodity now, and the vendor that looks most complete this quarter is the one most likely to change its pricing or its preview terms next quarter. Pick on the model, the cloud, and the controls.
Treating a session cap as a customer cap. A cap on one session says nothing about a customer who runs a hundred ordinary sessions in a month, and a project-level cap only helps if you run one project per customer. The expensive surprise is not usually one session that runs away — it is one customer quietly running far more sessions than their plan was priced for.
Shipping a preview agent to production users on the strength of a free sandbox. Google’s Managed Agents carry no SLA and are not intended for production or sensitive data, Claude’s are still in beta with a header that can change, and OpenAI’s are in public beta with US-only residency. Pilot on the preview, sign the contract on the generally available product.
How I checked this
This page compares the five hosted agent runtimes — Claude, OpenAI, Gemini, AWS, and LangChain — on what each one runs, what it bills, and what control it gives you over approvals and spend. The gap it is built to fill is the per-customer layer: isolation, caps, approvals, and receipts for each customer, which none of the five ships complete.
I used each vendor’s own documentation and pricing pages — Anthropic’s Managed Agents docs and pricing page, OpenAI’s Agents API announcement and docs, Google’s Antigravity agent docs and pricing, AWS’s AgentCore pricing page, and LangChain’s LangSmith pricing page — plus the independent comparison from OpenLegion that first mapped the per-customer gap, and builder writeups that re-verified the AWS and LangSmith rates against the live pages in September and October 2026. I shortlist by the model and cloud you already run on, then by the approval and cap controls you cannot build yourself.
Products in this guide
- Claude Managed Agents Anthropic's hosted agent runtime — tokens plus $0.08 per session-hour, in public beta since April 8, 2026. Visit site
- OpenAI Agents API OpenAI's managed Codex harness — no platform fee, tokens plus tools and hosted container rates, in public beta since September 10, 2026. Visit site
- Gemini Managed Agents Google's hosted Antigravity agent in the Gemini API — tokens and tools, sandbox compute free during the public preview since May 19, 2026. Visit site
- Amazon Bedrock AgentCore AWS's agent services — Runtime, Gateway, Memory, and a managed harness, billed per second and per call. Visit site
- LangSmith LangChain's platform for tracing, evaluation, and hosting LangGraph agents — Plus from $39 per seat per month. Visit site
FAQ
What is a managed agent?
A hosted agent runtime. You define the agent — model, instructions, tools — and the vendor runs the loop, the sandbox, session state, and tool execution. An agent SDK is different: it is a library that runs the loop inside your own application, on your own infrastructure.
How much do managed agents cost?
Model tokens plus a runtime charge, and the runtime charge is different on each. As of November 2026: Claude adds $0.08 per running session-hour; OpenAI bills hosted containers from $0.03 per 20-minute session; Google bills no sandbox compute during its preview; AWS bills CPU and memory per second from $0.0895 per vCPU-hour; LangChain bills reserved capacity in LangSmith units at $1 each.
Which managed agent is cheapest for a long-running session?
It depends on what the session does. A Claude session running every hour of a 30-day month costs $57.60 in runtime before tokens, because idle time is free. An AWS session that mostly waits on the model pays for memory, not CPU. A LangChain dedicated deployment bills the full reserved capacity whether the agent works or waits — about $384 a month for the small dedicated size.
Can managed agents run for my customers?
Yes, but the per-customer layer is mostly yours to build. Anthropic offers per-user vaults and memory, AWS isolates each session in its own microVM, and LangChain keys threads to a verified user — but each one expects your backend to decide which customer owns which session, and none of them has a built-in spending cap per end customer per billing period.
What is the difference between a managed agent and an agent SDK?
An agent SDK is a library that runs the agent loop inside your own process, so you host and operate it. A managed agent runs the loop on the vendor’s infrastructure, with the sandbox, state, and event history handled for you. You trade some control over the loop for no operations work.