Understanding the Root Cause
The confusion often arises from the fact that LLMs are involved in the process, leading to questions about whether additional Prompt Usage credits are charged. However, as clarified, the 20 credits per action cover the use of LLMs.
The root cause of this confusion is the complexity of the Agentforce pricing model, which can lead to misunderstandings about how credits are charged. It is essential to carefully review the official documentation to ensure accurate understanding and planning of flex credit usage.
To further illustrate this, consider a scenario where a user asks a question, and an action is executed. In this case, only the Action Usage credits are charged, without any additional Prompt Usage credits.
Best Practices for Managing Flex Credits
To ensure efficient management of flex credits, it is essential to monitor usage closely and plan accordingly. This includes understanding the different usage types and their corresponding credits, as well as being aware of any additional costs that may be incurred.
example.js
// Example code for monitoring flex credit usage// This is a hypothetical example and may not reflect actual implementation
Heads up: It is crucial to review the official documentation regularly, as pricing models and usage types may be subject to change.
Checklist for Flex Credit Management
Flex Credit Management Checklist
- Review the official Agentforce documentation to understand usage types and credits
- Monitor flex credit usage closely to avoid unexpected costs
- Plan and budget for flex credit usage accordingly
- Be aware of any additional costs that may be incurred
- Regularly review and update flex credit management strategies as needed
Frequently Asked Questions
What are flex credits in Agentforce?
Flex credits are a usage-based pricing model for Agentforce, where credits are charged based on specific actions or prompts.
How are flex credits charged for actions and prompts?
Only Action Usage credits are charged for actions, which is 20 credits per action. Prompt Usage credits are token-based and only charged if prompts are executed outside of actions.
Can I monitor my flex credit usage in real-time?
Yes, you can monitor your flex credit usage through the Agentforce dashboard or by using custom monitoring tools.
What happens if I exceed my allocated flex credits?
If you exceed your allocated flex credits, you may incur additional costs or experience service disruptions. It is essential to monitor and manage your flex credit usage closely to avoid these issues.
Need help shipping this in production?
Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.