Most enterprise AI cost conversations focus on model price. That's the wrong variable. Model price is only one lever of total cost of ownership (TCO), and it's often the least important one. The lever most teams overlook is how much work reaches the model in the first place.
Real usage data from Rocket Software shows what that difference looks like. About 300 daily users averaged roughly four million tokens per user per month. At frontier model pricing, that's an estimated $15–$25 per user per month. For a 50-person mainframe team, that adds up to about 200 million tokens and roughly $1,000 in monthly model costs. Under an existing enterprise AI agreement, that cost can approach zero.
In this paper, you'll learn:
Sit in on almost any boardroom discussion about enterprise AI, and you'll hear the same debate. On-premises models or frontier models? And the deciding factor is almost always price per token.
That instinct makes sense. Price is visible, easy to compare, and simple to put on a slide. But it's incomplete.
Price is just one part of AI TCO. Infrastructure, operational overhead, data governance, and model capability all shape what you actually spend. And one more lever decides whether any of those factors matter at all: how much work reaches the model.
You can choose the cheapest model on the market and still overspend if your architecture sends every mainframe log, SMF record, and system trace straight into the model's context window. Flip that around, and a thoughtful architecture can make almost any model, on-premises or frontier, run efficiently and affordably.
This paper gives mainframe organizations and IT decision-makers a practical way to evaluate AI architectures on true total cost, not sticker price. Throughout, we'll use EVA.Next, Rocket Software's agentic AI platform for mission-critical operations, as a working example of token-efficient design in practice.
Mainframe operational data has three traits that make it especially prone to driving up AI costs. It's high in volume, repetitive in structure, and deeply technical. A single z/OS® environment can generate millions of SMF records, log entries, and performance metrics every day. None of it was built with a large language model's context window in mind.
When you pass that data straight to an LLM without preprocessing, three things happen at once:
A fourth concern makes all three worse: control. Raw mainframe data can include sensitive customer records, transaction histories, and proprietary business logic. Sending it to an external model raises real governance and compliance questions, especially in banking, insurance, and healthcare.
So the key is clear. You need an architecture that processes data close to its source and refines it before it ever reaches a model.
Rocket Software didn't add token efficiency to EVA.Next as an afterthought. We built the platform around it from day one, guided by one simple principle: process data close to the mainframe, and give the model only what it needs to reason.
Two components put that principle to work:
This approach reflects Rocket Software's broader commitment to governed, deterministic agentic AI for mission-critical systems. EVA.Next uses policy-as-code to govern what actions an agent can take. It applies the same discipline to what data an agent can pass along. In EVA.Next, governance and efficiency come from the same design.
The payoff goes beyond lower cost. Every answer gets better, because the model reasons over signal instead of noise. Next, let's look at the specific techniques that make that possible.
EVA.Next uses seven distinct techniques to keep token consumption lean. Each one targets a different stage of the path from raw data to insight.
Token-Oriented Object Notation shrinks structured data before it reaches the model. It turns verbose data structures into a leaner format without losing meaning.
EVA.Next exposes only the tools and agent connections a task actually needs. Tool definitions stay compact, so they don't crowd the context window before the real work even starts.
EVA.Next's Python sandbox runs computation and data analysis outside the model's context entirely. Instead of pushing raw results through the model, EVA.Next computes first and shares only the relevant output.
Domain-specific agents for CICS, Db2®, MQ, and security narrow each query from the start. A specialist agent doesn't need the full breadth of your enterprise data. It only needs what's relevant to its domain.
Rather than pulling broad historical SMF data sets, EVA.Next uses time-aware prompts to retrieve only the window of data a question requires. That can be the difference between megabytes and gigabytes of unnecessary context.
EVA.Next loads Skills only when a task calls for them, instead of keeping them in every context by default. The model's working context stays focused on what matters right now.
EVA.Next caches previously retrieved and processed SMF data. When a question repeats, the platform doesn't spend tokens re-analyzing data it's already processed.
Routines and slash commands add one more layer. They give your system operators, security, and networking teams repeatable, pre-scoped actions that stay efficient by design. Each technique cuts cost on its own. Together, they compound into the efficiency gains you'll see in the usage data below.
Architecture principles only matter if the numbers back them up. Here's what we saw in production.
In August 2026, about 300 daily users of the EVA.Next AI Framework averaged roughly four million tokens per user per month. At typical enterprise frontier model pricing, that's approximately $15–$25 per user per month. That's less than many standalone software subscriptions, for a platform that delivers end-to-end mainframe diagnostics.
Now scale that to a 50-person mainframe team, a realistic size for many enterprise operations groups:
| Metric | Estimated monthly value |
| Tokens per user | ~4 million |
| Cost per user (frontier pricing) | ~$15–$25 |
| Total tokens (50 users) | ~200 million |
| Total model consumption cost (50 users) | ~$1,000 |
One variable can change this math entirely. If your usage falls under an existing enterprise AI agreement, marginal model cost can approach zero. For organizations that have already negotiated AI capacity as part of a broader technology agreement, token-efficient architecture doesn't just lower cost. It can effectively remove it.
The lesson is worth remembering: architecture, not model choice alone, decides whether AI stays affordable at scale. A 50-person team running AI-powered diagnostics across its mainframe estate for about $1,000 a month isn't a hypothetical. It's what efficient design looks like in production.
No single factor decides whether on-premises or frontier models fit your organization better. You only see the true cost when you weigh every dimension together.
| Dimension | On-premises models | Frontier models |
| Model consumption cost | Fixed infrastructure investment, with no per-token billing once deployed | Variable, usage-based pricing that token-efficient architecture or enterprise agreements can minimize |
| Infrastructure cost | Requires dedicated hardware, such as IBM Spyre cards or the IBM AI optimizer, plus ongoing maintenance | No infrastructure investment, since the provider absorbs that cost into the service |
| Utilization and scalability | Scaling requires more hardware and lead time | Scales elastically with demand, with no hardware ceiling |
| Operational overhead | Requires in-house expertise to maintain, update, and tune the model | Shifts overhead to the provider, so your team focuses on integration, not maintenance |
| Data control and compliance | Data stays inside your environment, giving you strong governance for regulated workloads | Requires careful governance of what data leaves your environment, and token-efficient architecture reduces that exposure |
| Model capabilities and currency | May lag behind the latest frontier capabilities unless you actively update them | Benefits from the provider's continuous improvements |
| Flexibility to change or mix models | Switching models requires significant reinvestment | Makes it easier to route workloads across multiple models based on need |
| Token optimization potential | Depends less on token efficiency, since there's no per-token billing | Token efficiency directly and significantly affects cost |
Both columns carry real advantages. On-premises models give you strong data control and predictable infrastructure costs, which matters enormously in regulated industries. Frontier models give you elasticity, steadily improving capability, and freedom from hardware upkeep.
Neither column wins outright, and that's the point. The right answer depends on how well your architecture manages everything in between.
It's tempting to assume the lowest per-token price leads to the lowest total spend. The usage data in Section 5 tells a different story.
Architecture, including the techniques in Section 4, can matter more to total cost than any model's per-token rate. A premium model fed only the context it needs can cost less in practice than a discount model fed unfiltered mainframe data.
That's where model flexibility becomes a real cost advantage. EVA.Next supports multiple models and routes each workload by its requirements. You match model capability to task complexity instead of defaulting to one model for everything.
For example, a routine question about batch job status doesn't need the same reasoning power as a complex, cross-system root cause analysis. EVA.Next's routing reflects that difference.
So the lasting cost advantage isn't finding the cheapest model. It's building an architecture flexible enough to use the right model, with the right amount of context, for each task.
Token efficiency isn't only about the monthly bill. It delivers three more benefits that build on each other.
These benefits stack on top of the cost savings. Efficiency-first architecture isn't a trade-off against quality or governance. It's what makes both possible.
You've likely spent years applying FinOps discipline to cloud spend: tracking consumption, attributing costs to teams, and building accountability into budgets. AI consumption deserves the same rigor, and most organizations aren't there yet.
EVA.Next makes token usage visible at the user, admin, and organization levels. Instead of a single aggregated bill at month's end, you see exactly which teams, use cases, and query types drive consumption.
That visibility helps you in three ways:
Measurability also sets up the framework in the next section. Without visibility into where your tokens go, you can't confidently answer any of the five questions that follow.
Whether you're evaluating on-premises, frontier, or hybrid AI, these five questions move the conversation beyond model price:
This framework shifts your evaluation from model price in isolation to architectural efficiency, the real driver of value. You can apply it right away, whether you're assessing EVA.Next or any other platform.
The real question for mainframe organizations isn't on-premises versus frontier models. It's which architecture delivers the right intelligence, governance, and flexibility at the lowest total cost.
EVA.Next puts that principle to work today by processing data close to the mainframe and giving the model only what it needs. The usage data proves it: a 50-person team runs AI-powered mainframe diagnostics for roughly $1,000 a month, and that cost can approach zero under an existing enterprise AI agreement.
We're not stopping there. Rocket Software's planned work includes enhancements to the RAG engine and framework orchestration tools, extending token optimization as EVA.Next's capabilities grow.
As you evaluate AI for your mainframe environment, you can ask a better question than "Which model costs less per token?" Ask which architecture gives you the most value for every token you spend. Rocket Software is here to help you answer it, one step at a time, so you can modernize with AI without disruption and without unnecessary cost.
L'intelligenza artificiale ha individuato ciò che gli esseri umani non avevano visto. Il tuo mainframe sarà il prossimo?
Come modernizzare un'applicazione CICS senza interrompere la produzione?
AIOps nativo per mainframe vs. APM + Copilot: qual è la differenza?
