Separate managed-agent charges from model-token prices

A managed agent is not priced just by the prompt you send and the answer you receive. Before comparing it with a model API plus your own orchestration, separate billable consumption from the rate attached to each unit.

The Gemini Developer API pricing page, captured on September 10, 2026, provides a useful example. Its “Pricing for agents” section says managed-agent inference uses standard Gemini list rates, including input, output, and intermediate input/reasoning tokens generated during agentic loops. The same row says environment compute—CPU, memory, and sandbox execution—is not billed during the preview period.

That is a preview compute waiver, not a free-agent promise. It also does not establish a permanent zero compute price or a separate surcharge for every reasoning token.

Build the estimate around units, not one token headline

The page’s paid-tier tool rows introduce several accounting dimensions:

Component What to count or verify
Model inference across the agent loop Billable input and output categories for the selected model, including intermediate work—not just the visible final exchange
Google Search The applicable model-family unit: the page distinguishes grounded prompts for Gemini 2.5 from search requests for Gemini 3; allowances also differ
URL context Input tokens at the model’s rate
File search Embedding tokens and retrieved document tokens, with the latter charged at regular model token rates
Code execution Generated code and results as output tokens when created, then input tokens when reused in reasoning; the tool row says there is no session-runtime charge
Managed environment compute A separate assumption marked “not billed during preview,” to revisit when the preview terms change

These are billing dimensions to check, not a claim that every agent or model supports every listed tool. The pricing page explicitly directs readers to model documentation for availability. Nor should one agent’s retrieval treatment be copied to another: the Deep Research row, for example, explicitly distinguishes Search Grounding’s excluded retrieved tokens from the included retrieved tokens of other tools.

Avoid both missing charges and double counting

My suggested worksheet is:

task cost = inference charges + separately billed tool charges + applicable environment charges

Keep those categories non-overlapping. If a tool’s generated or retrieved tokens are already included in the inference usage totals, do not add those same tokens again as a separate tool fee. Conversely, a request-based search charge cannot be represented by counting model tokens alone.

For each row, record the exact model or agent, billing tier, rate unit, allowance scope, pricing URL, and capture date. An allowance shared across models should not be treated as a fresh allowance for every task. Leave unestablished future compute rates explicitly unknown rather than inserting an invented price.

To compare managed execution with your own orchestration, I would run the same bounded task set with the same acceptance criteria, collect usage across all steps and retries, and reconcile it against billing data. Divide total measured spend—including unsuccessful attempts—by accepted tasks, then report completion quality and latency beside that result. Track separately any infrastructure cost in the self-managed option.

This is a proposed measurement method, not a benchmark or a savings claim. The immediate decision is whether your estimate contains every applicable unit. Until it does, a lower token rate alone is not enough to conclude that one agent setup is cheaper.