In AI capex vs opex, buying GPUs, the chips that run AI models, is usually capex. You record an asset and depreciate it over its useful life. Paying per token is usually opex, expensed as you go. Per-token pricing suits uncertain demand. Owning can cost less once use is steady and high.

Is AI spending capex or opex?
It depends on how you buy it. There are three paths, and each one behaves differently. A token is a small piece of text, roughly a short word, that an AI model reads or writes. Providers that charge per token bill you for the text you send and receive.
| Buy GPUs | Rent dedicated GPUs | Pay per token | |
|---|---|---|---|
| Usual accounting treatment | Usually capex, depreciated over its useful life | Depends on the contract, see the lease section | Usually opex |
| Cash upfront | The purchase price, unless financed | Depends on the contract | Little or none |
| How the bill behaves | Mostly fixed | Fixed | Moves with use |
| Who pays for idle time | You | You | Not you |
| Who carries ageing hardware | You | The provider owns it, but you may be tied to it for the term | The provider |
| Staff you need | Engineers, or a managed support contract | Fewer, depending on how managed the service is | Developers to build on it |
| How quickly you can change course | Slowly, because you own the machines | Depends on the contract length | Quickly |
The accounting row is a guide, not advice. Ask your accountant to confirm the treatment for your organisation. The sections below explain where the usual answer can change.
What does owning GPUs cost beyond the purchase price?
GPU servers use a lot of power, and they need space and cooling. Someone has to install, run and patch them, which means engineers or a managed support contract.
If the service must not go down, you also need spare parts and a second machine. Idle hours still cost you. The purchase and support costs are the same whether the machine is busy or idle.
The cards also age. Newer models can need more memory and speed, so hardware that suits this year's model may struggle with next year's.

Owning can still be the right call. We work through the numbers in our cost comparison of self-hosting and an API.
Why start with opex for AI?
In our view, demand is hard to forecast in the first year. You do not know how many people will use the tool, or how often.
The models people want also change every few months. A pay-per-use bill shrinks if a project stops, while hardware you own keeps costing you. There is usually no capital approval cycle either, so a team can start sooner.
The trade-off is that a per-token bill grows with every new user and every longer request, so the monthly number is harder to cap. Set a budget and watch the cost per completed task rather than the cost per token. Our post on cost per task shows how.
When does buying GPUs make sense?
Buying makes sense when your use is steady and high through the whole week. At that level, owning GPUs can cost less than paying for an API, because the machines are rarely idle.
Three conditions usually need to hold together.
- Your use is steady and high, not spiky.
- An open-weight model, one whose files you can download and run yourself, is good enough for the job.
- You have a team that can run it and keep it patched.
A requirement that data stays inside your own network can also justify owning, even when the cost case is weaker. Our break-even maths shows where the lines cross.
Is renting dedicated GPUs capex or opex?
Whether renting dedicated GPUs is capex or opex depends on the contract. The test is in the leasing standard, AASB 16.
Under AASB 16, a contract is or contains a lease if it gives you the right to control the use of an identified asset. That right must last for a period of time, in exchange for payment. A lessee then recognises a right-of-use asset and a lease liability.
AASB 16 has a short-term exemption. For leases of 12 months or less, without a purchase option, an organisation may elect to expense the payments. How the lease term is measured matters, because extension options can count towards it.
So a long contract for specific machines may land on the balance sheet. AASB 16 also sets a strict test for when a provider's right to swap the hardware means there is no lease. Your accountant applies it, so ask them to read the contract before you sign. We cannot give accounting advice.
What should you ask before you commit?
Work through these six questions with your finance and technology leads.
- How many tokens will you use each month now, and how many a year from now?
- How busy would owned or rented hardware really be across the whole week?
- Who will run it, patch it and answer the call when it fails?
- How long is the contract, and what are the exit terms?
- Can you move between options without rewriting your applications?
- Where does your data have to stay, and does the option meet that requirement?
Then ask your accountant to confirm the treatment under AASB 116 for owned equipment and AASB 16 for leases.
Tax rules are separate from accounting rules. The ATO's depreciation page sets out its own approach. We do not give tax advice.
How Xinference fits
We offer three ways to deploy on one API, so you can start with one and change later.
The Model API serves open models billed per token, and it is hosted in Australia. Prices are public on our pricing page, and the Model API page lists the models. Don't see the model you need? Talk to us about adding it.
Cloud deployment gives you dedicated GPUs. Contact sales to discuss it. You can also run Xinference in your VPC, your data centre or your servers.
Every deployment option runs the same API, so moving between them is a base URL change.
Questions
Is AI capex or opex?
It depends on how you buy it. Buying GPUs is usually capex, while paying per token is usually opex. Renting dedicated GPUs depends on the contract, so ask your accountant whether it counts as a lease.
Is software capex or opex?
A cloud software subscription is usually a service, so the fees are expensed over the contract. The IFRS Interpretations Committee reached that view in a March 2019 agenda decision under IAS 38, which AASB 138 incorporates. A 2021 agenda decision says configuration and customisation costs are often expensed, but some can create an asset, so ask your accountant.
How do you know if something is capex or opex?
Under AASB 116, equipment is recognised as an asset only if future benefits are probable and the cost can be measured reliably. Other costs follow other standards.
Does capex or opex change the tax deduction?
Tax follows separate ATO rules, including depreciation over an asset's effective life and simplified rules for small business. Accounting and tax treatment can differ, so ask your accountant. This is not tax advice.