Salesforce Flex Credit Estimator
Estimate your Salesforce AI consumption costs for LLM prompts, Agentforce conversations, and vector database chunking.
Prompt Cost Estimator
Estimate flex credits and cost for individual LLM prompt calls based on token count and model tier.
Results
Conversation Cost Estimator (Agentforce)
Estimate monthly flex credits and costs for ongoing Agentforce agent conversations. Each agent action consumes 20 credits and costs $0.10.
Inputs
How many users or agents will be having conversations
Average number of conversations each user has per month
Average actions the agent takes in each conversation (searches, updates, API calls, etc.)
Results
- Each standard action = 20 flex credits = $0.10 USD
- Each bundle costs $500 and provides 100,000 Flex Credits
- Each standard action includes processing of up to 10,000 tokens
- Actions exceeding this limit count as separate actions for each 10,000 tokens
- Example: 20,001 tokens = 3 standard actions
- Actions with lengthy prompts may count as multiple actions if the 10,000-token limit is exceeded
Vector DB Chunk Estimator
Estimate the number of chunks generated when preparing text for a vector database. Experiment with different chunking strategies to optimize storage and retrieval costs.
Input & Configuration
Or paste text below to count automatically
No text pasted
Chunking Parameters
Metadata or context added to each chunk (e.g., document title, section header)
Results
How it's calculated?
units = ceil(characters / 4)- Calculate prepended units:
prependUnits = ceil(prependChars / 4) - First chunk content:
contentInFirstChunk = chunkSize - prependUnits - If
totalUnits ≤ contentInFirstChunk, return 1 chunk - Subsequent chunk content:
contentInSubsequentChunks = chunkSize - prependUnits - overlap - Remaining units:
remainingUnits = totalUnits - contentInFirstChunk - Additional chunks:
additionalChunks = ceil(remainingUnits / contentInSubsequentChunks) - Total:
1 + additionalChunks
| Characters | Estimated Units |
|---|---|
| 1,000 | 250 |
| 5,000 | 1,250 |
| 10,000 | 2,500 |