The 7 Rs of cloud migration: how to choose for each application
Retire, retain, rehost, relocate, repurchase, replatform or refactor: what each of the 7 Rs means, and a practical order for deciding which one fits each application you run.
· 5 min read · By the YLinkTech Team
FinOps for AI applies the cost discipline you already use for cloud to AI spending: model API tokens, GPU time and the AI features inside other tools. The order matters. First see the spend, then give every part of it an owner, then measure what a useful result costs, and only then optimize. Most cloud practice carries over. What changes is the unit of cost, how fast prices move and who is doing the spending.
AI cost has moved from a side topic to everyday work. In the FinOps Foundation’s State of FinOps 2026 report, 98 percent of respondents said they manage AI spend, up from 63 percent in 2025 and 31 percent in 2024. The same survey lists the top difficulties: getting visibility into AI costs, allocating them to business units and working out the return.
The Foundation’s FinOps for AI overview (updated in 2026) explains why familiar methods need adjusting:
AI spend rarely sits on one invoice. Map the channels before you try to total it.
| Channel | How it is charged | How to see it |
|---|---|---|
| Model provider APIs bought directly | Per token | Provider usage exports, one API key per team or application |
| Model services from your cloud provider | Per token, per call or per hour, on the cloud bill | Cloud billing data with tags |
| AI features in SaaS products and developer tools | Per seat, add-on or usage | Vendor invoices and license records |
| GPUs for training and self-hosted models | GPU hours, plus storage and networking | Cloud billing data and cluster metrics |
| Owned or colocated AI hardware | Capital, power and operating cost | Finance and data center records |
Tokens are also only part of the cost of an AI feature. The data stores, orchestration and observability tooling around the model call appear on other bills. A cost per query that leaves them out will understate the real figure and can point optimization at the wrong place.
You do not need a long dashboard. These five, all described in the Foundation’s overview, cover most decisions:
Model fit depends on a quality bar that engineering and product agree on through evaluations. Without that bar, every team will default to the largest model.
AI cost anomalies happen more often and carry more risk than typical cloud ones. The Foundation names the usual causes: runaway training jobs, agent loops, prompt changes that double token use and model switches that change the price. Daily spend reports catch these too late, so monitor tokens per minute at the application level.
A basic set of controls:
Agents deserve special care because one request can trigger many model calls. If you are still deciding whether a workflow needs one, the comparison of AI agents and workflow automation covers the cost side of that choice.
If nobody can say what your organization spends on AI today, begin with an inventory: every provider account, every API key, every AI add-on on a SaaS contract. Assign an owner to each. Pick one production use case and calculate its cost per successful outcome. Then set budgets and alerts on the accounts that are growing fastest. Workloads that have just moved to the cloud are a good place to build the habit, as noted in the guide to the 7 Rs of cloud migration.
Our Cloud & Modernization practice includes cloud FinOps and cost optimization, which covers tagging and allocation, rightsizing, commitment planning and cost tracking for AI workloads such as model calls, tokens and GPU time. For AI systems already in production, AI managed services include ongoing monitoring of cost alongside accuracy. If you want a clear view of where your AI budget goes and who owns it, talk to us.
It is the practice of managing the cost and value of AI spending with the same methods used for cloud: making spend visible, allocating it to owners, measuring unit costs and optimizing. It covers model API tokens, cloud AI services, AI features in SaaS tools and the GPUs used for training and self-hosted models.
The basic equation is the same: cost equals price times quantity. The differences are the units, such as tokens and provisioned throughput, prices that change often, provider bills with little tagging, and the fact that model quality is part of the cost decision. Teams outside IT also spend directly on AI.
Make the spend visible and give it owners. List every provider account, API key and AI add-on, then map each to a team, an application and a cost center. Optimization comes after that, because savings on spend that nobody owns tend not to last.
This article is general information, not professional advice. See our Disclaimer.
Retire, retain, rehost, relocate, repurchase, replatform or refactor: what each of the 7 Rs means, and a practical order for deciding which one fits each application you run.
Replace the core, replace it piece by piece, or wrap it and move functions out over time. A look at the three options, the risks of each and how to…
Getting ready for a SOC 2 examination is mostly engineering work: access, change control, logging, recovery and the evidence each one produces. Here is what to build and in what…
A 30-minute call is usually enough to know whether we are the right fit. We reply within one business day.