ROI‑First AI: Turning Tokens Into Value Through Cost and Performance Optimization
Meetu Malhotra25:182026
Every token you send an LLM costs money, power and water
Even a polite please or thank you to ChatGPT has a cost: every token uses electricity and creates server heat that takes water to cool. For teams whose AI pilots must prove measurable value, Meetu Malhotra, Data Analytics Principal at S&P Global, maps where AI spend piles up, from training runs and API calls to the skills staff need. Which levers cut the bill without sacrificing accuracy?
Learn eight techniques, from pruning to KV caching, that shrink AI compute, cost and carbon
Meetu Malhotra, Data Analytics Principal at S&P Global, explains how AI costs build up across training, inference, environmental impact and people skills, and why unmanaged spend erodes the return on AI projects. She compares pay-per-token APIs with self-hosted open models in a live Ollama demo. She also outlines ways to cut cost without losing quality: pruning, distillation, quantization, fine-tuning, KV caching, token merging, green data centers and carbon tracking.
“We all have heard that AI is the future, but then the real question is whether we are getting best out of it or not.”
“In fact, in one of the news last year, Sam Altman was saying that, hey, stop using please and thank yous in your prompts because this is literally melting our servers.”
What you will learn
Map where AI costs arise across training, inference, environmental impact and people skills.
Estimate API spend as input tokens times the input price plus output tokens times the output price.
Weigh pay-per-token APIs against self-hosted open models for cost, hardware needs and data privacy.
Apply pruning, knowledge distillation, quantization and fine-tuning to shrink model size and compute.
Use KV caching, token merging, green data centers and carbon tracking to cut inference cost and emissions.
Key takeaways from the speaker
The session will cover the stages where AI consumes cost, at oversized training runs, inference, or underused infrastructure and how these costs impact project’s ROI.
Next, it will cover strategies to cut tokens, GPU, and storage costs through better prompt design, model and hardware choices without sacrificing the accuracy and other performance measures.
Session will also cover how AI also has a carbon and water cost and pick up simple ideas for green algorithms and deployments that make your systems a bit more planet‑friendly.
Details
Level
Intermediate
Format
Tech talk
Technical depth
Introductory technical
For
Early career, Mid-career, Senior individual contributor
Length
25:18
Published
July 2026
Questions this talk answers
Where do AI costs come from across the model lifecycle?
Costs arise at training and inference, and at both levels there is an environmental cost and an organizational, people cost. Training needs massive compute, electricity and water to cool data centers.
How is LLM API usage priced?
You pay per token: input tokens times the input per-token price plus output tokens times the output per-token price. It looks small for one person but becomes a large amount at organizational scale.
What do you gain and pay for when you self-host an open model?
You avoid API fees and keep your prompts private on your own device. In exchange you carry the CPU, GPU and electricity costs, and larger models may not run on a laptop.
Why is the people cost of AI so large?
Building these systems needs a very specific skill set that companies must invest in. The speaker cites a 10-20-70 rule in which 70 percent of cost goes into helping people learn those skills.
Which techniques reduce AI cost without sacrificing quality?
At the model level: pruning, knowledge distillation, quantization and fine-tuning. At inference and infrastructure level: KV caching, token merging, green data centers and carbon tracking tools.
About this talk
This presentation explores how AI costs accumulate across the lifecycle—during training, inference, and in environmental impact—and why unmanaged spend quickly erodes ROI. It then outlines practical, evidence‑based techniques to cut compute, optimize inference, and reduce carbon footprint without sacrificing model quality. By the end, participants will leave with a clear checklist they can immediately apply to design AI pipelines, benchmark their current systems, and make more informed trade‑offs between accuracy, latency, and cost.
Distillation and quantization in plain English (71 s)
Hello everyone, this is Meethu. I'm working as data analytics principal at S&P Global. Today I'm going to talk about AI, the cost related to AI. We all have heard that AI is the future, but then the real question is whether we are getting best out of it or not. like every company is talking about implementing ai solutions doing pocs around ai but then whether these projects are delivering measurable impact whether they are adding or they are adding heavy cost to the company that's the main question of today and this is what we are going to talk in this session return on investment for the ai projects meaning how we can uh distinguish meaningful business value, we can extract meaningful business value out of the tokens
that we provide to AI. Just to be clear that the views that I am sharing here, it does not represent my employer, these are just mine. So we'll be covering introduction to LLMs, then open source and closed source models, and then AI cost at different phases, strategies that we can implement to reduce the cost and final the key takeaways. So large language models as we all know that these are the generative models that can generate one token at a time and they are based on transformer architecture which was introduced in 2017 with the paper "Attention is all you need".
That was the start of all this transformer based models and then there was no going back. It started with the text data and then we moved on to now transformers today they are able to handle any kind of data that you give to them audio data video data images data time series data you name it and they are able to handle everything and in fact there are multi-model uh multi-model kind of applications of large language models where they can deal with multiple data times at a time Next, we will talk about the open source and closed source models. So open one are the models for which the weights are available in the public domain, meaning you can take the model and utilize it as per your requirement. You can tweak it, you have that config file with you, you can play around
with the weights, you can fine tune it on the basis of whatever requirement you have at hand, and there will be full data privacy. For example, metas, lama model series, lama 4, lama 3, lama 7b, these all are kind of models that you can download on your local device and you can play around with the configuration file. Closed ones are those for which the weights are not available in public domain. For example, GPT model series. Not all, but GPT-2, GPT-4, some of GPT-4 models are available for which the weights are available that you can tweak around, but most of them you cannot tweak around. You cannot play around with the model weights. You have to use it as it is. And other example is Gemini model. So this slide, sorry, this figure I have taken from a comprehensive
overview of large language models, which shows you how they have evolved over time. Starting from from 2019, the paper covered until 24, but of course we are seeing tsunami of these models coming up every other day. And the main thing is when they started, the main thing about context length was like, what? 512 tokens, and now we are talking about context length, which is 400K, 400K of token context length that these models are able to handle.
And then even the size of model was very less, but now they are trained on billions of parameters. So over the years and every subsequent year, we have seen this drastic change in the size of model, in the training parameters that they are trained on, the data, the context length of the model, and even the data which these models are able to handle.
So there has been drastic change over the years. And these are all open source ones. You can easily use them with the right tools, of course. So coming to the AI cost, which is the main theme of today's session. So we can see, while using these large language models, we see the AI cost at different stages. One is, of course, the training at training level.
Another one is at inference level. And then at both the levels, there is environment cost associated, and the organization or people cost associated, meaning nobody can, you know, build these models without having proper tools and techniques and better knowledge about it. So the skill set is required, which is very specific skill set that one needs. And companies have to invest on that in making people learn about that kind of skill set so that they can work, the people can work on that kind of domain so organization and people cost is also a big chunk of the ai cost involved it's not just it is not just the money but again the environment cost is as well which we will see in later the slides so talking about the training phase so as we all know
these models these are trained on vast amount of data and which means when they are trained it takes multiple days, sometimes months to train these models. For example, the GPT model or the Gemini model, they are trained on almost all of the internet data that you see, all the books, all the libraries, all the web pages they are trained on and Wikipedia pages they are trained on. And this kind of training at this level requires a lot of resources, massive amount of computational resources and of course the electricity consumption of course the water that requires to cool down these servers the data centers everything is vast so that is the training phase where we see that there is environmental impact there is high power usage and then
to cool down these servers there is high water requirement as well So this is from one of the papers, research papers, where I have taken from one of the research papers where the authors are trying to cover the training cost just at the training level, the cost associated with multiple large language models. So just to give you a simple idea, like how the carbon emission is connected with with the training so training a single transformer model here we are talking about the BERT model it takes around 284 tons of carbon dioxide not takes I would say release it release about 284 tons of carbon dioxide which is equivalent to like five cars emitting carbon dioxide for the entire lifetime that's the kind of carbon that is emitted that's the environmental impact of large
language model during the training phase. Inference is separate. And then it shows that this is the kind of water consumption which is associated with the data centers when these models are trained. This specific example is for GPT-3, but of course there are multiple models which are being trained every day, and this is the water consumption that is associated with this language model.
In fact, in one of the news last year, Sam Altman was saying that, hey, stop using please and thank yous in your prompts because this is literally melting our servers. It is nothing because every token that we provide in the prompt to interact with these language models, with every token, there is some cost involved. there is heavy utilization of electricity and then heat is generated and then to uh cool down the servers water is needed so yes there is a lot of cost there uh this is the uh again from the same paper i have taken um this figure which shows the carbon dioxide emission from these models as As you can see that GPT-3 training, it emits about 502 tons of carbon emission during the
training phase, which is like 175 billion parameter model. Of course, if you have small size model, which is trained on less number of tokens, in that case, the carbon emission is less. It is like if you are using a big model, that means everything is big or is in high amount, is associated with the model every parameter be it the electricity consumption water consumption carbon emission uh computational resources requirement everything is big when the model is big that's the simple thumb rule next next we will cover about the inference phase so inference means once the model is trained now it is available uh for use by general public for example the gpt-3 okay they have trained it now now they have released it to public usage
so for example people like us they are interacting with the uh this chat gpt model uh passing prompts and then getting the answers that is what we call as inference so there is again operational cost involved scalability because it is not just confined to uh few people it is like everyone on this uh globe is using those kind of models so definitely there is some scalability challenge associated with it which means a huge number a large number of computational resources heavy computational resources are associated again leading to more electricity consumption and energy consumption and of course eventually the water and carbon emission api usage so what happens is now these models are available for for the general public usage one thing is we interact with these models uh through application like chat gpt is a application gpt model is the back-end
model which is running but there is another way to interact with these models for example again for the chat gpt model let's say we have open ai um api that that one can uh go and create the api now on the google collab notebook or any even on the local uh let's say vs code um tool you can use that api to interact with this model not through a application but through the coding so what happens there is for uh in case of api1 you pay you pay for per token cost whatever input you are providing to llm that is also costing you and then the answer that is coming out of llm that is also giving you the additional cost so if let's say if there are thousand tokens
involved where you are giving the prompt and then thousand tokens involved where you are returning getting the answer from the llm that means your total cost would be input tokens into per token cost plus output token into output per token cost and that is the sum of the whole thing but at individual level it might seem less but when these kind of api connections are used by big organization in that case it is really a big amount that cost the organization another one is self-hosted where you can what you can do is you can download the model at your server cloud server or maybe the local server or maybe your local computer this laptop you can download it and then in that case you don't have to interact with the api anymore you are not paying for the api but then
you have the cost associated with the computational resources you should have that kind of cpu uh that can support the model that you are using and there is electricity bill associated with it and uh there so basically just the api cost is out but then the other uh um other cost related to the server and the computational resources is on you but the best part is data privacy is there I want to show you quickly here how it works. So if you see my screen, Hugging Face has multiple models out there. You can click on any model and you can download it on your local device according to the size of the model and your local device storage capacity, RAM capacity. You can run these models. There are thousands and thousands of models out there. You
You can pick anyone as per your requirement. This is hugging face. Another thing is I have downloaded O-Lama, which is like a platform that gives a stage where you can have multiple models. It basically gives you a stage where you can download multiple models and interact with them. For example, with O-Lama platform, I downloaded Lama 3. It is already there.
And I ran this Lama 3 here. Now I will show you if I do any query on Lama 3 here, you will see that kind of query will be limited to my system only. It is not exposed to the outside world. The thing is when you interact with ChatGPT or Gemini through their apps, whatever prompts you are giving, they are going out.
They are being used in the training data. These models, they can see your data. But here, whatever question I will ask to this model, it will be confined to my local device only. For example, I ask this model, define machine learning. Just a simple example. And if I click on this, you will see that here the CPU, this.
The memory associated, the CPU utilization, you will see it becomes really high. And once I am done with the query here, once it is done running all this, it is now thinking it will generate me the response. And once it is done with that, the CPU utilization will drop drastically. This is the thing when you run your model locally.
I can run it because LAMA 3 is smaller in size. My CPU can bear that much of size and it can give me the answer. but definitely with high model LAMA, let's say 7B or 8B, I cannot use that on my device. See, the utilization is shooting up. It is going up to 90% now. And once it will be done with generating response, it will drop down. It will take time, but I'll circle back on this part later. Back to the slide. So organization cost that we talked about, of course, there is some cost involved with the organization in training people. So there is this 10, 20, and 70 rule, which means 10% goes into implementation of algorithm, 20% into technology and data collection and all that. But 70% is the main cost, which is associated with making your people learn the
skill set. Next is, now we talked about, okay, on training phase, you have this cost involved. On inference, you have this cost involved. But how to, you know, reduce that AI cost? So there are multiple techniques there. First is the optimization algorithm. We have cost at training level and inference level. So we will look for the solution at training and inference level. So this is the solution that one can implement on training level. Pruning, which means, so at the end of the day, what these transformers are, these are interconnected nodes only, right? There is transformer block, which is at the base, I would say, kind of neural network only, which is like interconnected nodes. The point is, if you remove the connections, which are not adding much value,
it is nothing but this is called as pruning. This can reduce the AI cost associated with running the model during training and inference. Similarly, for distillation, that's the knowledge distillation, which means if you have a large model, you can train a small model from this large model. It is like student and teacher transfer learning, meaning teacher is teaching the student not through the whole book of 500 pages, but let's say just through the small set of nodes. Knowledge is still the same, but it's just that based on smaller set of data, not the big chunk of data. Next is the quantization. It is like representing the weights and activation Because, see, when we say the size of model is this big, what essentially is there?
It is the size which is taken by the weights and activation functions. If we have less weights and less activation function at the back end, that will automatically reduce the size. And even these values, if we pick to represent them in the form of smaller bits, that definitely reduces the size and eventually the cost associated. Next is the fine tuning.
so instead of using a huge model, why not to fine-tune it on your specific data set? For example, healthcare data. GPT-2, let's say it is fine-tuned on a lot of data outside on the internet, but what if we fine-tune it on the confined data, limited data, and that way we will have better results, better accuracy on the answers that we can get from these models. And then there is deployment level optimization, which means that now that we have deployed the model and we are getting the answers one token at a time, why not to save those tokens, the calculations related with those tokens in a small memory so what happens is in kvcache um your uh so when i say one token is generated at a time
which means that if i if if a large language model is generating seven token it is doing the calculation for one to six token when it is doing the when it is generating eighth token it is again recalculating uh the the calculation related to all the uh tokens before it has seen the point is if we save those calculations in a small space, that will save the time. And this is what KVCache is all about. This is the inference level optimization that one can do basically at the architecture level. Next is token merging. So a lot of time, multiple tokens are there which are not adding any value. So why not to merge them together or just skip them? For example, if there is a sentence which says, I like this meal very, very, very much. Like, why to repeat very, very,
very much three times? It is not adding any value. So we can skip that. And other one is just the sustainable infrastructure, meaning choosing green data center. So Amazon recently declared that it will go to powering its data center from coal electricity to nuclear electricity. This is the green data center. And last is the carbon tracking tool. So like I said, there are carbon emission involved with these language models. Why not to track that carbon emission using these tools that we have? So that's it. It is still generating, but yeah, once it is done, you will see that the CPU utilization and the memory utilization will drop. In fact, I can i can interrupt it and i can show you that now it will drop eventually it is not interrupting
yes so i interrupted the the rest of the answer and now we will see that the cpu utilization will start dropping 44, 43, 38, it will go down. So basically heavy is the model, that means heavier is the CPU utilization. Sorry, hello? Did you get to see the API one? I'm not sure. Okay. Did you hear the last part?
I'm sorry. I was showing the CPU utilization. I did not realize that it got disconnected, but I can show it really quickly here that this is the CPU utilization that we are seeing, like the 47 45 percent because the llama model the o llama model it is uh sorry o llama platform it is running in the back end but like if i start asking this i have downloaded llama 3 model on my local device and if i ask this llama 3 model any question through o llama platform it will give me sharp rise in the CPU utilization so basically my point was if we want to use the models locally that gives us data privacy because whatever chat I do with lama3 model here it will stay with me
it will not go to the the training pool as the chats go out there when you interact with chat gpt through apps so basically through apps you are giving away your data but if you are interacting with the model locally there is data privacy which is a good thing and of course the cost is on you like resource uh computational resource cost is on you you should have that kind of cpu and the gpu resources that support the model running in the background so that's it i covered the I mean, various stages where we can reduce these costs during training and inference phase.
I'm not sure if that was covered, but any questions here? Okay, I think since there is no question, so feel free to connect with me, Meethu Malhotra, S&P Global on LinkedIn, and would be happy to provide answer if you have any question later. Thank you very much. you
Transcribed automatically; names checked against the speaker record. Select a time to jump there.
Article based on this talk
Where does AI spend go, and how can teams cut it without losing quality?
Meetu Malhotra of S&P Global traces LLM costs across training, inference, the environment and people, then lays out the techniques that bring them down.
In short
AI projects only pay off when the value they create outweighs the tokens, compute, energy and skills they use up. Meetu Malhotra, Data Analytics Principal at S&P Global, shows where large language model costs build up, from training runs to everyday API calls. She then sets out training, inference and infrastructure techniques that shrink the bill without giving up model quality.
Key takeaways
The session covers the stages where AI consumes cost (oversized training runs, inference and underused infrastructure) and how these costs affect a project's ROI.
It covers strategies to cut token, GPU and storage costs through better prompt design and smarter model and hardware choices, without sacrificing accuracy or other performance measures.
It also shows that AI has a carbon and water cost, and offers simple ideas for green algorithms and deployments that make systems a bit more planet-friendly.
Why ROI is the real AI question
Malhotra opens with a question many organizations face as AI proofs of concept multiply: are these projects delivering measurable impact, or mostly adding heavy cost? "We all have heard that AI is the future, but then the real question is whether we are getting best out of it or not." (0:00)
She starts with how large language models work. They are transformer-based generators, built on the architecture introduced in the 2017 paper "Attention Is All You Need", that produce one token at a time and now handle text, audio, images, video and time series. She separates open models from closed ones. Open models such as Meta's Llama series have public weights that can be downloaded, adjusted and fine-tuned with full data privacy. Most closed models, such as most of the GPT series and Gemini, have to be used as they are. Context windows, she notes, have grown from 512 tokens to around 400K, and models now have billions of parameters.
Training: compute, carbon and water
Costs appear at two levels, training and inference, and both carry an environmental cost and an organizational, people cost. Training is the heaviest single event because of the data involved: "For example, the GPT model or the Gemini model, they are trained on almost all of the internet data that you see, all the books, all the libraries, all the web pages they are trained on and Wikipedia pages they are trained on." (5:52)
That scale means days or months of compute, high power use and large volumes of water to cool data centers. Citing a research paper, she says training a single BERT transformer released about 284 tons of carbon dioxide, which she compares to five cars over their whole lifetimes. By the same source, training GPT-3, a 175-billion-parameter model, emitted about 502 tons. Her rule of thumb: when the model is big, everything is big, from electricity and water to carbon and compute. Even politeness has a price: "In fact, in one of the news last year, Sam Altman was saying that, hey, stop using please and thank yous in your prompts because this is literally melting our servers." (8:07)
Inference: pay per token or host it yourself
Once a model is released, inference means people all over the world sending prompts, which brings operating and scaling costs. Malhotra compares two ways to use a model. Through an API, an organization pays for every input and output token. The total is the input tokens times the input price plus the output tokens times the output price. That looks small for one person but becomes a large sum across an organization.
Self-hosting removes the API bill but moves the cost to servers, CPUs, GPUs and electricity. In return, data stays private. In a live demo she browses Hugging Face and runs Llama 3 locally through Ollama. CPU use climbs to about 90 percent while the model answers and drops once it stops. "The thing is when you interact with ChatGPT or Gemini through their apps, whatever prompts you are giving, they are going out." (13:55) Running locally changes that: "But here, whatever question I will ask to this model, it will be confined to my local device only." (14:16)
The people cost
The third cost is easy to overlook. Building and running these systems takes specialized knowledge that companies have to pay to develop. "So the skill set is required, which is very specific skill set that one needs." (4:55) She cites a 10-20-70 rule: about 10 percent of AI cost goes into implementing algorithms, 20 percent into technology and data collection, and 70 percent into helping people learn the skills.
Techniques that cut cost without cutting quality
Malhotra then matches solutions to the places where costs arise. At the model level:
Pruning removes connections between nodes that add little value.
Knowledge distillation trains a small student model from a large teacher model. "Knowledge is still the same, but it's just that based on smaller set of data, not the big chunk of data." (17:01)
Quantization stores weights and activations in fewer bits, which shrinks the model.
Fine-tuning adapts a model to a specific domain, such as healthcare data, instead of relying on a huge general model.
At deployment and inference level, a KV cache stores the calculations for tokens already generated so the model does not recompute them for every new token. Token merging skips or combines tokens that add nothing; her example is the repeated "very" in "very, very, very much". At the infrastructure level she points to green data centers, citing Amazon's announcement that it will move its data centers from coal power to nuclear power. She also recommends carbon tracking tools to measure emissions. Her closing demo sums up the main rule: "So basically heavy is the model, that means heavier is the CPU utilization." (21:03)
Watch the talk
ROI-First AI: Turning Tokens Into Value Through Cost and Performance Optimization, by Meetu Malhotra (25 minutes): https://www.womentech.net/video/roi-first-ai-turning-tokens-value-through-cost-and-performance-optimization
About the speaker
Meetu Malhotra is Data Analytics Principal at S&P Global, with more than 17 years of experience. She is pursuing a PhD in Data Science at Harrisburg University of Science and Technology, is an IEEE Senior Member and chairs the IEEE Women in Engineering Charlotte Affinity Group.
Questions this talk answers
Where do AI costs come from across the model lifecycle?
How is LLM API usage priced?
What do you gain and pay for when you self-host an open model?
Why is the people cost of AI so large?
Which techniques reduce AI cost without sacrificing quality?
Drafted with AI from the talk transcript. Editor review pending.
Frameworks and ideas mentioned
Transformer architecture
10-20-70 rule
Pruning
Knowledge distillation
Quantization
Fine-tuning
KV cache
Token merging
Resources mentioned
Attention Is All You Need (2017 paper)
A Comprehensive Overview of Large Language Models (paper)
Hugging Face
Ollama
Cite this talk
Meetu Malhotra. "ROI‑First AI: Turning Tokens Into Value Through Cost and Performance Optimization." WomenTech Network, 2026. https://www.womentech.net/en-es/video/roi-first-ai-turning-tokens-value-through-cost-and-performance-optimization