Your AI Bill Is Bigger Than Your Model API Bill
Model tokens are only one line of an AI bill. Learn how compute, Kubernetes, storage, NAT, egress, support, and operations change the real cost.
Updated November 5, 2026 by Suraj Bangade
7 Minutes to Read

The token invoice is easy to see. The infrastructure and operating costs around a production retrieval-augmented generation (RAG) or agent system are easier to miss—and often harder to forecast.
Most AI budgets begin with prompts, completions, embeddings, and a model provider's per-token rate. Those costs matter, but they are only one layer. A production system also needs compute for APIs and ingestion, persistent storage, networking, observability, support, and people to keep it working.
The critical accounting rule is simple: model API cost and infrastructure cost are separate. If two deployments use the same model, prompts, and response volume, add the same model bill to both. Moving the surrounding application does not make token charges disappear. It changes the cost of everything around the model.
For a RAG request, the model call may be only one step. An API accepts the question, retrieval searches an index, the application assembles context, the model generates a response, and security and observability layers process the result. Infrastructure can keep billing while the model is idle.
Seven hidden meters
Hyperscalers make it possible to assemble exactly the architecture a team wants. That flexibility is valuable, but each component may have its own unit, rate, and lifecycle.
1. Compute
APIs, queues, ingestion workers, vector services, agent sandboxes, and evaluation runners all consume CPU and memory. Ingestion is especially bursty: a new corpus or parser change can turn three workers into nine for hours or days. The common mistake is pricing pilot capacity, then retaining production burst capacity longer than expected.
2. Managed Kubernetes
The managed service that runs a Kubernetes cluster is only one part of its cost. Worker nodes, disks, load balancers, public addresses, logs, and traffic between data-center zones remain separate. AWS EKS and Google GKE also publish cluster-management fees, while Azure AKS tiers have different management and support terms. Budget the complete cluster, not just the Kubernetes service.
3. Persistent storage
Indexes, databases, source documents, queues, container images, logs, and snapshots often outlive compute. Reserved storage may be billed even when it is empty. Faster storage, additional input/output operations (IOPS), snapshots, and longer retention can add charges. Deleting a worker does not necessarily delete its storage.
4. NAT gateways and data processing
Private servers still need outbound internet access for package repositories, model APIs, source systems, and web tools. A Network Address Translation (NAT) gateway provides that access, but may charge for both running time and processed data. “The worker downloaded 200 GB” is not enough information; the route those bytes took determines which charges apply.
5. Egress and cross-zone traffic
Egress means data leaving a cloud environment. Internet egress, transfers between regions, and traffic between data-center zones can have different prices. Count model-API traffic, user responses, backups, replication, exported logs, and calls among queues, databases, vector services, and workers. An included bandwidth allowance helps only when it covers the paths the application actually uses.
6. Public IP addresses
Public IPv4 addresses can be billed by the hour whether attached or idle. One forgotten address is minor; temporary environments that leave behind addresses, load balancers, and NAT resources become a pattern.
7. Support and operations
Provider support plans may be separate from infrastructure charges, and they do not operate the application for you. Patching, upgrades, capacity planning, backups, incident response, cost review, and application troubleshooting still consume engineering time. That labor may not appear on the cloud invoice, but it belongs in total cost of ownership.
A reusable total-cost formula
Do not compare one VM price with another. Compare the complete monthly system:
monthly AI cost = model and embedding APIs + worker and service compute + cluster management + persistent storage, snapshots, and logs + NAT gateway hours and data processing + load balancers and public IPs + internet, cross-zone, and inter-region transfer + provider support + internal operations labor
Keep the first line visible and separate so a model change cannot distort the infrastructure comparison.
Build three usage profiles: normal demand, a realistic ingestion or agent surge, and the extra capacity kept running afterward. The third is often missed. Scaling from three workers to nine is easy; deciding when it is safe to return to three is an operational decision, and every extra day affects a metered bill.
Reduce waste before changing providers
Optimize both sides before drawing conclusions:
- Put restartable OCR, embedding, and evaluation work on spot or interruptible capacity where retries are acceptable.
- Measure bytes at NAT gateways and across zones; use private endpoints only when their price and complexity produce a real saving.
- Place chatty services deliberately, documenting the trade-off between lower transfer cost and failure isolation.
- Delete orphaned volumes, snapshots, addresses, load balancers, log indexes, and images after tests and temporary environments.
- Record operator hours for provisioning, patching, alerts, restores, incidents, teardown, and invoice reconciliation.
These actions can materially improve a hyperscaler bill without a migration. They also make the eventual comparison fair.
Why fixed monthly infrastructure can fit production AI
InMotion Cloud takes a different approach: dedicated resources and engineering assistance are grouped into a predictable monthly environment. The current Small plan is $1,349 per month and includes 72 vCPU, 248 GB RAM, 5.1 TB block storage, 15 TB egress, 32 IP addresses, and 10 managed hours.
The resources are not unlimited. The advantage is knowing more clearly what the monthly price covers: compute, storage, transfer, addresses, and operations help. Teams can allocate VMs within the resource pool without recalculating every VM-hour. Known storage, egress, and support allowances also make surges easier to plan.
That model has its own risk: unused capacity is still paid for. It becomes compelling when the platform runs continuously, experiences recurring ingestion or agent surges, keeps spare capacity available, transfers substantial data, or requires ongoing operations work. InMotion's Flex Spend Advantage lets teams rebalance pooled resources as workloads change. Teams should still compare the plan with their actual demand rather than treating flexibility as free capacity.
When hyperscalers are better
Fixed monthly infrastructure is not automatically cheaper. Hyperscalers can be the stronger choice when:
- tiny or intermittent services benefit from scale-to-zero and free usage grants;
- short-lived batch jobs need rapid provisioning and per-second billing;
- a global edge footprint and deeply integrated traffic services are decisive;
- the application depends on a managed service that would be expensive to reproduce; or
- large training and inference jobs need specialized GPUs, accelerators, reservations, or high-speed interconnects.
Those capabilities can outweigh billing simplicity. The honest question is not which provider is universally cheapest, but which architecture meets the same performance and resilience target at the lowest complete cost.
A cross-provider RAG test
The InMotion workload is real: Surging RAG: Processing 17,000 Pages in 20 Minutes Without Breaking the Bank describes scaling from three OCR workers to nine and indexing 17,001 pages in under 20 minutes. That result demonstrates the workload and scaling pattern on InMotion Cloud. It is not a cross-provider benchmark, and no AWS, Azure, or Google Cloud result should be inferred from it.
A useful comparison would be short, controlled, and reproducible:
- Freeze the workload. Use the same code, container, document set, parser, embedding settings, queue, and external model APIs. Publish enough detail for someone else to repeat the test.
- Match resources. Give every worker 4 vCPU and 16 GiB RAM. Use comparable U.S. regions and disclose any differences in the available server sizes.
- Hold the architecture constant. Match the orchestration, storage, queue, database or vector service, networking, load balancer, backups, and availability settings.
- Run the same surge. Process the documents with three workers, repeat with nine, and keep all nine running for seven days. Record completion time, errors, resource usage, storage activity, and network traffic.
- Capture every cost. Export billing and inventory for compute, cluster management, storage, logs, NAT, load balancing, IPs, transfer, support, and operator time. Show model and embedding charges separately.
- Publish performance with price. Show public on-demand rates first, then a clearly labeled view using realistic commitments or discounts. Disclose the region, credits, support tier, and labor rate. Publish scripts and sanitized raw data.
A cheaper run that misses the deadline or availability target is not equivalent. Likewise, a fixed monthly plan should be shown both as an amortized seven-day cost and as the full cash commitment.
Budget the system, not the prompt
Token optimization still matters. Better retrieval, caching, model routing, shorter prompts, and fewer retries can reduce variable spend. But production AI also has a compute footprint, storage footprint, network path, support model, and operational burden.
For a steady, CPU- and storage-heavy RAG or agent platform, a fixed resource pool deserves a side-by-side test. Its practical advantages are a known cost boundary before the next ingestion surge and more operational help inside that boundary. A hyperscaler can still win, but its headline compute price must survive the addition of storage, networking, retained capacity, support, and engineering time.
First-party references
- InMotion Cloud: advantages, pricing, and Flex Spend Advantage
- AWS: EC2, EKS, EBS, VPC and NAT, and support
- Microsoft Azure: virtual machines, AKS, managed disks, NAT Gateway, bandwidth, and support
- Google Cloud: Compute Engine, GKE, Persistent Disk, Cloud NAT, network pricing, and support
I love to tinker with cool stuff.
Keep reading
Let’s map your infrastructure to the right plan
A free 30-minute call with our cloud team. We review your current environment and show you exactly what a move to InMotion Cloud would look like: timeline, architecture, and cost.