Agent cost behaves unlike licensed software. A seat has a price; an agent has a consumption pattern that depends on how many actions it takes to finish a job, how many times it retries, and how deep its delegation chain runs. Which pricing model you pick decides which of those you optimize, and picking it late is expensive.
A finance team can model per-seat software from a headcount forecast. Nobody can model an agent from a headcount forecast, because the quantity being bought is work performed rather than access granted. This page sets out the unit mechanics, the three places cost multiplies unexpectedly, the full ownership picture over several years, and the governance that keeps a fleet of agents from quietly outrunning its budget.
Pricing model selection is an architectural decision, not a procurement one
Agentforce offers two consumption models, and an organization selects one for a given agent deployment rather than mixing them. Salesforce’s resource and cost guidance for agentic systems is explicit that this choice determines what you optimize across the entire agent lifecycle.
Flex Credits price per agent action, which makes action efficiency the cost lever. Per-Conversation charges a flat fee per conversation regardless of length or complexity, which makes conversation containment the lever. A Per-User subscription sits apart as an employee-facing add-on providing unmetered usage, which shifts the question from efficiency to adoption, because value then comes from licensed people actually using the agent rather than from trimming each interaction.
So the same engineering effort is valuable under one model and wasted under another. Consolidating three actions into one is a direct saving under Flex Credits and changes nothing under Per-Conversation. Extending a session so a user resolves their issue without starting again saves real money under Per-Conversation and is close to irrelevant under Flex Credits. Teams that choose the model after the architecture is built routinely find they optimized the wrong variable for a year.
Salesforce’s own instruction is to model all three structures against projected usage before committing, because the optimal structure depends on the usage pattern and the wrong choice is expensive to unwind once an agent is in production.
Agent delivery economics is the practice of modeling, attributing, and governing consumption-based AI spend against the business outcomes it produces, rather than against the capacity it consumes.
One action meters as one action, and prompts bill separately
The metering rules contain two details that break most spreadsheet assumptions, and both are worth knowing before you build a model.
First, under Flex Credits each standard or custom action in a text conversation is metered as one action regardless of the tokens it processes, which Salesforce’s billable usage reference sets out alongside the other metered categories. Unlike token-based inference pricing, action credit cost does not vary with prompt length. Engineers arriving from direct model API billing expect the opposite and build cost models keyed to token counts that then fail to predict the invoice.
Second, prompt usage is billed separately in 2,000-token chunks, rounded up, with the category depending on the model used. So prompt size does not change the action’s cost and does affect the bill through a different line. A prompt at 2,100 tokens meters as two chunks. Trimming it to 1,900 halves that component.
Composition is where the real number comes from. An interaction that retrieves data, reasons over it, and updates a record consumes the credits of three actions, and retrieval-augmented grounding adds further actions through vector search and document retrieval before reasoning even begins. Which is why Salesforce names the prerequisite for any Flex Credits model directly: understanding the average number of actions per business transaction. Without that figure, a cost estimate is a guess with a currency symbol attached.
Salesforce’s published rationale for moving to per-action pricing makes the arithmetic concrete. A conversation cost two dollars regardless of task complexity. That same work handled as an SDR answering a product question and booking a meeting runs three to six actions at thirty to sixty cents. One action consumes 20 Flex Credits, or ten cents, and credits sell in packs of 100,000 for five hundred dollars. Voice actions meter at 30 credits rather than 20.
| Cost component | How it meters | What reduces it |
|---|---|---|
| Agent action | One action per standard or custom action, token-independent | Fewer actions per business outcome |
| Prompt usage | 2,000-token chunks, rounded up, by model category | Shorter prompts and tighter grounding payloads |
| Grounding | Vector search and document retrieval meter as additional actions | Retrieving only when reasoning requires it |
| Voice action | 30 credits against 20 for text | Channel selection by use case |
| Retried action | Re-consumes credits on each attempt | Bounded retries and idempotent action design |
Delegation chains multiply every budget they touch
This is the finding that most changes architecture decisions, and it is stated plainly in Salesforce’s guidance: governor limits apply per agent, not once per conversation. Every agent in a chain draws its own SOQL, DML, and CPU budget.
A chain of an orchestrator and three subagents therefore consumes each of those limits four times over, and deeper chains multiply further. The same multiplication drives cost, which is why the guidance concludes that unbounded chain depth is a cost risk more than a governor-limit one. Its recommendation is to cap chain depth unless a use case clearly requires nesting deeper than orchestrator-to-subagent.
That reframes a design pattern many teams adopt for cleanliness. Decomposing a task across specialist agents reads as good separation of concerns, and it is, but each boundary you add is another full allocation of platform budget and another set of billed actions. Four agents handling what one could handle is not four times tidier. It is four times the consumption.
Two further rules travel with the pattern. Pass only the state the receiving agent needs through a structured handoff of record IDs, task summary, and relevant fields, rather than forwarding raw conversation history, which keeps token budget across the chain controlled. And treat each subagent response as untrusted input, validating its shape and compliance with business rules before acting, exactly as you would an external API response.
The orchestration prompt itself should stay narrow, limited to classifying intent and routing. Asking the orchestrator to also reason about the underlying task duplicates work that belongs in the subagent holding the relevant context, and you pay for the reasoning twice. We examine how these chains behave at depth in recursive agent workflows.
Retries re-bill work that already failed
Under consumption pricing, a failure costs money and a retry costs money again. A retried action re-consumes credits, and in a multi-agent chain that compounds with the number of failed downstream agents.
The distinction that saves the most budget is between transient and logical failures. A callout timeout or lock contention may be worth one bounded retry. A validation error or malformed input will fail identically on repetition, so retrying it only burns budget for a guaranteed repeat failure that should escalate immediately instead. Retry logic that does not make this distinction pays full price to learn nothing, twice.
Salesforce’s guidance sets a concrete ceiling: cap in-conversation retry attempts at two or three, with exponential backoff rather than immediate re-invocation, because a tight-loop retry on a query-heavy or DML-heavy action can exhaust synchronous limits inside one transaction or burn cumulative credit spend across a multi-agent conversation.
Idempotency is the other half. Design actions so a retried call produces the same end state as a single successful call, using an idempotency key such as a request ID or external ID with upsert logic rather than insert. An action lacking idempotency forces a retry to either double resource consumption through duplicate downstream records or double the billed actions for work that already happened once.
There is a human version of the same leak. A user who sees silence and repeats their request starts an entirely new conversation and a new set of actions, so the original attempt’s cost is compounded by a duplicate. Surfacing retry or in-progress status while a bounded retry is in flight is a cost control before it is a courtesy.
And the failure mode that governance exists to prevent: an agent reasoning in an unbounded loop can burn credits faster than human oversight can intervene. Stopping conditions are a budget control before they are an engineering nicety.
Six categories make up total cost, and teams underestimate the last one
Modeling inference alone produces a number that is wrong by a wide margin. Salesforce’s framework spans six categories, and running all six is what turns a credit estimate into an investment decision.
Development covers agent design, prompt engineering, integration work, and testing, ranging widely between a single-purpose agent and a multi-agent system with complex orchestration. Inference depends on the selected pricing model and requires modeling expected action volumes, conversation volumes, or licensed user counts accordingly.
Infrastructure covers Data 360 and MuleSoft licensing, additional sandboxes, and monitoring, and is predominantly fixed or step-function by capacity tier. One detail here deserves emphasis, because it inverts an assumption: for agents grounded in large knowledge bases, the Data 360 infrastructure powering that grounding can rival or exceed the inference cost. Organizations budgeting grounding as a rounding error against model spend have it backwards.
Operational covers monitoring, prompt refinement, incident response, and user support, which for mature agent programs commonly equals a meaningful fraction of development cost annually. Governance covers safety review, human oversight, audit logging, and compliance validation, growing with autonomy and risk.
Change covers user training, business-process adaptation, and organizational change management, and Salesforce names it directly as the category teams most often underestimate. That ranking is worth taking seriously, because it is the one category where the spend is unavoidable and the overrun is invisible until adoption stalls. An agent nobody trusts is a fully funded asset producing nothing.
Build these as spreadsheet models projecting three to five years, document the assumptions for interaction volumes, action counts, and growth, then run sensitivity analysis to find which assumptions most affect the total and validate those specifically. Most agent business cases are dominated by two or three assumptions, and the remaining dozen are precision theater.
Digital Wallet shows how much, and tracing shows why
These are different questions, and conflating them produces a monitoring stack that reports a problem without locating it.
Salesforce Digital Wallet is the built-in mechanism for monitoring consumption-based products including Flex Credits, delivering near-real-time consumption data with action-level usage insight, per-agent breakdown, proactive alerts, and historical trends for forecasting. The guidance is to establish it as the primary cost-monitoring mechanism rather than rebuilding its functionality in custom dashboards.
What it does not do is explain causation. Digital Wallet shows how many credits or conversations an agent consumed. Session-level tracing shows why they were consumed, at the level of the individual query, DML row, or action. When a cost anomaly appears, the first tool tells you which agent and the second tells you which action inside it, and you need both to close the loop.
Alerting should fire before a limit rather than at it, with thresholds such as 70 and 85 percent of budget, and should be configured per agent and per use case rather than only org-wide, so a spike localizes to its source instead of showing up as an aggregate that someone has to decompose manually.
Anomaly detection catches the specific failure that consumption monitoring exists for: a sudden spike signalling an unexpected usage pattern or a reasoning loop that needs investigation.
Per-outcome attribution is what makes return computable
The step that converts cost monitoring into a business case is attribution. Per-interaction cost attribution connects consumption to business transactions and produces the cost per resolved case, per qualified lead, or per processed order.
Those are the only figures a sponsor can act on. “The agent consumed 400,000 credits last quarter” invites no decision. “Resolution costs us ninety cents against four dollars through the previous path” is a decision, and it also makes agents comparable against each other and against the manual process they replaced.
Salesforce’s financial governance guidance requires a business case covering four things before spend is committed: projected total cost over three to five years under the selected pricing model, the expected business outcomes with a measurement method attached, a comparison against alternatives including manual processes and traditional automation, and a risk assessment covering quality, safety, and operational risk.
The comparison requirement is the one most often skipped and the most clarifying. Traditional automation is frequently the right answer, and the same guidance says so: fall back to it for deterministic scenarios where rules-based logic suffices, letting Flows handle deterministic paths at lower cost while agents handle the ambiguous situations that genuinely need reasoning. A triage agent that routes with simple logic and escalates to a specialist only when complexity warrants keeps the expensive invocation rare.
Three governance mechanisms then keep the fleet honest. Approval thresholds separate departmental authority from executive sign-off so scrutiny matches investment. Portfolio review examines all agents together on cost, usage, value, and strategic alignment, which surfaces consolidation a single-agent review cannot see. And sunsetting criteria retire agents with low adoption, poor return, superseded functionality, or excessive cost.
Cost allocation decides who feels the number. Showback reports costs by business unit without an internal charge, creating awareness without the friction of internal billing. Chargeback allocates actual costs and drives stronger optimization behavior because it hits a departmental budget, at the price of needing an allocation method accurate enough to survive disputes. A hybrid applies chargeback to high-volume production agents and showback to experimental ones.
Build cost is the half a delivery partner controls
Agent consumption is one half of the economics. Build cost is the other, and it is the half a delivery partner actually controls.
GetGenerative.ai prices on credits, with a Pro tier at two hundred dollars per month carrying ten thousand credits, where a credit maps to five dollars of platform work and bulk usage discounts toward twenty percent. The reason that structure matters for a cost model is the same reason Salesforce moved to per-action billing: a consumption unit tied to work performed is comparable across projects, while a day rate is not.
On the build side, the seven agents handle the stages where estimation usually fails. The Discovery and Design Agents produce the requirement and design artifacts that scope a statement of work, which is where most overruns originate rather than in the build itself. The Metadata Agent grounds everything in the actual org, so an estimate reflects the environment being changed rather than a generic Salesforce. The Governance Agent holds the gates, and Architectural Logs give a sponsor the decision trail behind a number.
Before an agent reaches the audience that generates real consumption, the staged rollout controls are what keep a cost surprise contained to a canary. For organizations that would rather hold the run cost against a contracted outcome than carry the forecasting risk themselves, an ongoing managed arrangement moves that exposure.
Recap
Pricing model selection decides your cost lever: action efficiency under Flex Credits, conversation containment under Per-Conversation, adoption under Per-User. Actions meter token-independently while prompts bill in 2,000-token chunks. Delegation chains multiply every budget per agent. Retries re-bill failed work. Total cost spans six categories, with change management the most underestimated. Attribution per outcome makes return computable.
Frequently Asked Questions
How do you estimate what an AI agent will cost to run?
Start with the average number of actions per business transaction, which is the prerequisite figure under per-action pricing. Then layer prompt billing in 2,000-token chunks, grounding retrievals as additional actions, and a retry allowance. Model it across three to five years and run sensitivity analysis on the volume assumptions.
Which Agentforce pricing model is cheaper?
Neither in general, because they reward different architectures. Flex Credits favor workflows that finish in few actions. Per-Conversation favors long multi-turn sessions that resolve in one go. Model both against your projected usage pattern before committing, since switching after production is expensive.
Why does a multi-agent design cost more than a single agent?
Governor limits and billing apply per agent rather than per conversation. An orchestrator with three subagents consumes each limit four times over and bills each agent’s actions separately. Delegation boundaries are real cost, so cap chain depth unless a use case requires deeper nesting.
What is the most underestimated cost in an agent program?
Change management: user training, business-process adaptation, and organizational change. Salesforce names it as the category teams most often underestimate. It is also the one where overspend stays invisible until adoption stalls, at which point a fully funded agent is producing nothing.
How do you stop an agent from running away with the budget?
Bounded retries capped at two or three attempts with backoff, stopping conditions on reasoning loops, capped delegation depth, and alerting at 70 and 85 percent of budget configured per agent rather than org-wide. An agent in an unbounded loop can consume credits faster than a human can intervene.
Does prompt length change what an action costs?
Not the action itself, which meters as one action regardless of tokens processed. Prompt usage bills separately in 2,000-token chunks, rounded up, so a 2,100-token prompt meters as two. Trimming below a chunk boundary produces a real saving on that component.
ChatGPT
Claude
Perplexity