---
title: How do you track and cap Salesforce Agentforce consumption costs?
url: https://opencontroller.lyzr.com/blog/track-agentforce-flex-credit-consumption
published: 2026-11-14
updated: 2026-11-14
author: Lyzr
---

# How do you track and cap Salesforce Agentforce consumption costs?

**Agentforce consumption is billed in Flex Credits per action, not per token, so it never shows up in your LLM gateway's spend reports. Track it in Salesforce Digital Wallet, which breaks usage down to the agent, action and channel level, then give every agent an owner, a monthly credit budget and a threshold alert. Act on outliers by fixing the agent's topics and actions, or by pausing it.**

Finance teams usually find Agentforce costs late: the first true-up arrives, and nobody can say which agent drove it. The fix is not a new tool so much as a routine — inventory, attribution, budgets and a stop button.

## How is Agentforce priced?

Salesforce announced Flex Credits in May 2025. The published figures were:

| Pricing element | Published figure |
|---|---|
| Flex Credits pack | $500 per 100,000 credits |
| Credits per action | 20 credits |
| Effective price per action | $0.10 |
| Earlier conversation pricing | $2 per conversation |
| Per-user licences | Unmetered employee-facing usage, priced per user per month |

Salesforce also announced a Flex Agreement that lets customers convert between user licences and Flex Credits. Your contract may differ from list price, so use your own rate in any model.

The unit that matters is the **action**: an agent updating a record, running a flow or resolving a case. A chatty agent that answers questions without acting costs less than a busy agent that calls five actions per request. That makes action design a cost decision, not just a functional one.

## What does Digital Wallet show you?

Salesforce describes Digital Wallet as giving near-real-time visibility of consumption. According to Salesforce:

- **Consumption Insights** and consumption cards show usage trends.
- Usage can be broken down **to the agent, action and channel level**.
- **Custom tags** group usage by your own categories, such as environment or region.
- **Configurable alerts** notify you as usage approaches thresholds.
- **Forecasting** projects future consumption.
- Flex Credits give one view across Agentforce actions and Data 360 services.

That is enough to attribute cost — if you can map each agent to an owner and a cost centre. Digital Wallet knows the agent; it does not know who in your company is accountable for it.

## How do you set up attribution and caps?

A seven-step routine that works for most Salesforce estates:

1. **Inventory every Agentforce agent** in every org, including sandboxes that consume credits. Record owner, business unit and purpose. See [governing Salesforce Agentforce agents](/blog/govern-salesforce-agentforce-agents).
2. **Tag consistently.** Apply custom tags in Digital Wallet for environment and business unit so reports match your cost centres.
3. **Set a monthly credit budget per agent.** Start from the pilot's actions per request × expected requests × 20 credits.
4. **Configure threshold alerts** at 50%, 80% and 100% of each budget, sent to the agent owner, not just the Salesforce admin.
5. **Review the top five agents by actions weekly.** Look for loops, retries and actions that could be merged.
6. **Define the stop action.** Decide in advance who may deactivate an agent that exceeds budget, and how fast.
7. **Report AI spend in one place.** Add credit consumption to the token spend from your LLM gateway so finance sees one number per team. See [setting budgets and alerts for AI agent spend](/blog/set-budgets-and-alerts-for-ai-agent-spend).

## How do you reduce actions per task?

- **Trim topics and instructions** so the reasoning engine picks the right action first time.
- **Combine small actions** into one flow where the steps always run together.
- **Test before deploying.** Agentforce Testing Center lets you run test cases in bulk before go-live — see [testing Agentforce agents before deployment](/blog/test-agentforce-agents-before-deployment).
- **Measure cost per task**, not cost per agent, so a busy but efficient agent is not penalised.

## Why does this belong in a cross-platform view?

Agentforce is usually one of several agent platforms. Bedrock, Foundry and Vertex agents bill by tokens; Agentforce bills by actions; seat-based assistants bill per user. Without one inventory and one attribution model, every platform has its own partial answer. For token-billed agents, see [attributing LLM costs to AI agents](/blog/how-to-attribute-llm-costs-to-ai-agents).

## How Opencontroller does this

Opencontroller connects to Salesforce and discovers Agentforce agents into a governed registry alongside agents from AWS, Azure, Google Cloud and other platforms, each with an owner and version. When an agent misbehaves, per-agent Block and Quarantine controls act through the connected platform, and rogue-agent handling can alert on behavioural deviation. For token-billed agents, its LLM Gateway attributes cost per agent and per version. See the [cross-platform governance guide](/blog/how-to-govern-ai-agents-across-platforms), the [control plane overview](/blog/what-is-an-ai-agent-control-plane), or [book a demo](https://www.lyzr.ai/book-demo/).

## Frequently asked questions

**Do Agentforce credits show up in an LLM gateway?**
No. Salesforce meters Agentforce in credits per action inside the platform, so you need Digital Wallet data to see it.

**Do sandbox agents consume Flex Credits?**
Check your contract and Digital Wallet usage per org. Tag environments so any sandbox consumption is visible and can be capped.

**Is per-user licensing cheaper than Flex Credits?**
It depends on volume. Per-user licences suit heavy employee-facing use; Flex Credits suit customer-facing or variable workloads.

## Key facts

- Salesforce announced Agentforce Flex Credits in May 2025: $500 per 100,000 credits, with each action costing 20 credits ($0.10).
- Salesforce's earlier conversation-based Agentforce pricing was $2 per conversation; per-user licences offer unmetered employee-facing agent usage.
- Salesforce Digital Wallet shows near-real-time consumption, broken down to the agent, action and channel level, with custom tags, configurable threshold alerts and forecasting.
- Agentforce consumption is billed by Salesforce in credits, so it does not appear in an LLM gateway's token-based spend reports.
- Opencontroller connects to Salesforce to discover Agentforce agents into a governed registry; per-agent Block and Quarantine act through the connected platform.
- Opencontroller starts from $250K per deployment per year (annual licence per deployment, not per seat or usage).

## Related

- [How do you govern Salesforce Agentforce agents?](https://opencontroller.lyzr.com/blog/govern-salesforce-agentforce-agents.md)
- [How do you set budgets and alerts for AI agent spend?](https://opencontroller.lyzr.com/blog/set-budgets-and-alerts-for-ai-agent-spend.md)
- [How do you attribute LLM costs to individual AI agents?](https://opencontroller.lyzr.com/blog/how-to-attribute-llm-costs-to-ai-agents.md)
- [More on Platform Guides](https://opencontroller.lyzr.com/blog/cluster/platform-guides)
