Tokens to the Maxx
Learn how AI prompts turn into tokens which turn into real costs for your organization and ways to keep those costs under control.

What’s a token?
When you use an AI tool, you type your instruction or question (i.e., the prompt) and hit enter. Once you hit enter, a meter starts running. Instead of a taxi meter counting minutes and miles, this meter, called a tokenizer, is evaluating the text you submitted and how the words are broken down. The tokenizer then converts those broken-down words into tokens.
A token represents just a few characters of text. In English, a token may contain 4 or so characters up to the total number of characters in a short word and takes capitalization, spaces, and punctuation into account. The tokenizer converts the broken-down text into a string of numbers. It’s these number strings, not the actual text, which are then sent to an AI model before generating a response.
For example, “hello world” could be broken down into two tokens: “hello” and “ world”. Each AI tool has its own unique way of breaking text into tokens, meaning Anthropic (Claude) will have one breakdown and OpenAI (ChatGPT) another. Salesforce’s Agentforce is agnostic by design, so depending on your scenario, you could be working with a different model.
Here’s an example of how a theoretical AI tool could return “hello world”:
- 9381 would represent "hello"
- 2253 would represent " world" (retaining the preceding space)
However, “Hello, World!” would return something different, such as:
- 15339 represents “Hello” (notice it’s a different number from above)
- 11 represents the comma
- 2454 represents “ World” (retaining the preceding space)
- 0 represents the exclamation point
So wording your prompt and its length can have a significant impact on how many tokens are consumed when you hit enter. And not only does your inputted prompt use tokens, the response returned by the AI tool is also measured via tokens. And the “thinking time” needed by the tool to create the response? Yep. Tokens.
So how does using tokens cost money?
Are you ready for some math? Salesforce’s “currency” for AI is the pay-as-you-go Flex Credit. Per the Agentforce Pricing page, 100,000 Flex Credits cost $500 (as of 11/11/2026), which works out to $0.005 per credit.
Tip! Reach out to your Salesforce Partner or your Salesforce Account Executive to discuss the specifics of purchasing and using Flex Credits. Prices and multipliers will vary depending on your specific scenario.
To calculate Flex Credits used, Salesforce processes tokens in “chunks” of 2,000 (2K). Each chunk of 2K counts as one prompt unit, which is another name for a unit of billing. Are you with me so far?
Request of 6,500 tokens
2K per chunk
= 3.25
prompt units
Rounded up to the nearest whole number
= 4 prompt units
Here’s an example of a prompt, provided by the Fin agent at help.salesforce.com that would probably use around 4 prompt units between the initial prompt, the “thinking,” and the response:
You are a fundraising assistant for a nonprofit. Write a full donor outreach package for a $10,000 major gift prospect. Include: a 300‑word personalized email, a 150‑word follow-up message, a 200‑word impact story about how the gift would help families in the community, and a short script for a phone call. Also suggest three ways the donor could be recognized publicly.
Note: AI tools can make mistakes. This is an illustrative example and may not be a perfectly accurate representation.
Next you factor in the model multiplier, which is the number Salesforce uses to convert prompt units into Flex Credits. The standard model multiplier is 4x, but will vary depending on the model you're using, especially when talking about large volumes of data.
With the 4x standard multiplier, the math is:
4
prompt units
x
4x
multiplier
=
16
flex credits
And once you factor in the cost per flex credit:
16
Flex Credits
x
$0.005
per credit
=
$0.08
total
Therefore, the sample prompt above, including the thinking and response will cost 8 cents. That doesn’t sound like too much, does it?
Watch out for tokenmaxxing!
Raise your hand if you have 89 tabs open on your browser. You know who you are. Please do better. You know that finding the right tab is tricky because now all of the tabs are tiny and you might have to click on several different tabs until you get the right one (if you can find the right one).
A key step in setting up any agent is training it. You don’t want your agent to have to search through the equivalent of 89 open tabs. You want your agent to look for the right information in the right places, essentially just like you’d train a new employee to do manually. Using our prompt example above, here’s what you’d want to define for your agent:
- What is the role of a fundraising assistant?
- What information needs to be evaluated and included in a donor outreach package?
- What information needs to be included in the follow-up emails and phone call?
- Where are impact stories stored and how will the agent know to select which stories fit the “helping families” criteria?
- And, just as importantly, what should the agent NOT do?
Resource: See Salesforce’s checklist for training effective AI agents here.
Now think of what happens if you let a new employee loose in your CRM and ask them to do the things you’re asking the agent to do. What are the impacts of skipping or skimping on training?
- The agent strays into non-fundraising areas (e.g., support cases or program services).
- The agent won’t understand how different giving tiers are managed. You wouldn’t have the same approach with a $10K gift as you would with a $1M gift.
- The agent won’t understand your organization’s voice. Does your organization prefer to use formal speech or are you more fun and funky?
- The agent won’t know how to interpret impact stories.
When you train an agent poorly, the agent could potentially churn through a lot of irrelevant and unnecessary data which means eating up tokens in the background as the agent tries to give you a response. And just as bad, a poorly trained agent may consume all of those tokens then simply make up an answer because it knows it needs to provide an answer.
So you just consumed a bunch of tokens and now get to pay Flex Credits for a bunch of work that returned nothing useful. Our little example above only cost $0.08, but now imagine an agent processing thousands of prompts over the course of a year. Without care, you could open yourself to being nickeled and dimed over budget. The expenses could add up quickly.
When poorly trained agents get out of hand like this, you end up consuming a lot of tokens for potentially useless or inaccurate responses. Thankfully, agent training can be updated to provide better quality responses and keep your costs down. However, some organizations prioritize quantity (volume of usage) over quality of returns to meet AI “productivity” goals. This is where tokenmaxxing comes in.
The definition of tokenmaxxing is deliberately using AI to consume as many tokens as possible to prove to your manager, your CEO, or the board that you’re using AI just to show you’re embracing the use of AI. In other words, people will actually run up their token counts to inflate their productivity and activity stats. It may look good on paper, but it’s pretty bad for your AI ROI.
Preventing Tokens to the Maxx
So how do you know how many Flex Credits you’re spending so you aren’t surprised on your next bill? Well, instead of logging into your checking or credit card account, you’ll log into Salesforce and check your Digital Wallet. Salesforce’s Digital Wallet provides:
- Real-Time Usage Tracking and Alerts: see how many Flex Credits you’re using near real-time. Built-in labels (known as tags) show which agents are consuming the most. You can set alerts to be sent via Flow that warn you before you reach a pre-defined usage limit so there are no surprises on your next Flex Credits bill. And once you set alerts, you can use those alerts to trigger Flows that pause services, such as agents using Data 360, so costs don’t get out of hand.
- Custom tags for your business: Create your own labels to sort usage by team, environment, agent, or feature. For example, tag credits as "Fundraising" or "Support." This makes it easier to split costs between departments and to see where every credit goes, even across global teams.
- Forecasting and trends: Charts built with Tableau Next (you’ll need a license) show how your usage changes over time and helps predict what you’ll use next. Instead of reacting after credits are gone, you can plan ahead and set budgets using real data.
Baby Steps
Yeah, that’s a lot of technical information to absorb. Of course you want to keep your costs down and yes you want to ensure your agents run efficiently and return valuable answers, but where the heck should you start? Actually, you can start with something relatively easy. Start by preparing the data that will be used to train your agent so the agent can run as efficiently as possible.
Step 1: Start by cleaning up your data by following the recommendations in my previous blog post, Navigating the Six Cs of Data Health.
Step 2: Clean up your metadata. Metadata is the information that lives behind your data (read more here). It’s what distinguishes an email field from a currency field from a text field. It’s your field descriptions, picklist values, and the field usage. The more information you provide in your metadata, the better performing your agent will be.
Step 3: Classify your data to indicate how sensitive the information is. For example, it may be generally acceptable for an agent to look at a person’s preferred nickname, but a U.S. Social Security Number is not.
Ready? Or Not?
OK. We know this is still a lot of information and maybe you’re not even ready to build your first agent, but you will want to build one someday. Why wait to prepare? Clean, well-defined, and documented data is important whether you want to take the next step on your AI journey next month or a year from now.
There are a lot of resources available to help guide you on your journey. Connect with an Arkus expert if you’re interested in setting off on your AI journey or if you simply want a data checkup.
This post was written by the author with copy editing support from Slackbot.
