On-premises AI
GPU Chargeback and Quotas for Shared On-Prem AI Platforms
How to allocate shared on-premises AI costs: showback or chargeback, GPU-hour and token metering, quotas, budgets and the controls that enforce them.
In short
Allocate shared on-premises AI cost by metering what each team consumes, GPU-hours by hardware class for jobs that hold GPUs and tokens for shared model endpoints, and pricing it with an internal rate card. Start with showback, enforce quotas in the scheduler and budgets at the AI gateway, and move to chargeback only where accounting requires it.
Key takeaways
- Showback reports each team's consumption and cost without moving money; chargeback books those costs to team budgets. The FinOps Foundation sees the difference as formality, not maturity.
- Meter GPU-hours by hardware class from the scheduler's allocation records, because an allocated GPU is unavailable to other teams whether or not it is busy.
- Meter tokens at the AI gateway, which knows who sent each request, using the inference engine's own counts, and convert them to cost with a rate per model.
- Give each team a guaranteed quota, a burst allowance it can borrow when others are idle and a hard ceiling, and keep the sum of guarantees within real capacity.
- Enforce quotas in the scheduler and budgets at the gateway, review them quarterly, and keep a fast, time-boxed exception path.
Why does a shared AI platform need cost allocation?
Because capacity that looks free gets overused. Without a visible cost per team, demand grows faster than the platform, queues lengthen, and finance has no evidence for the next hardware decision.
Centralising GPU capacity is usually the right technical choice: one platform shared by many teams uses expensive hardware better than a dozen team-owned servers. The trouble starts when the platform becomes popular. Queue times rise, every team describes its work as urgent, and the loudest teams win while quieter but business-critical workloads wait. That is an economics problem as much as a scheduling problem.
Cloud services solve part of it with an invoice: every GPU-hour and every token has a price. On-premises, the hardware is bought up front, so an individual job or request appears to cost nothing. Cost allocation restores the missing signal by answering three questions:
- Who used what? Consumption per team, project and use case, measured the same way every month.
- What did it cost? Consumption priced with an internal rate card that the platform team and finance both accept.
- Who decides when demand exceeds capacity? Quotas, priorities and an exception path agreed in advance, not negotiated during an incident.
Cost allocation belongs in the platform design, next to the gateway, the scheduler and the monitoring that make up an on-premises AI implementation. Built in from the start, it also produces the demand data that capacity planning needs.
Should you use showback or chargeback?
Start with showback, which reports each team’s consumption and cost without moving money. Move to chargeback, which books those costs to the teams’ budgets, only when your accounting policies call for it.
The FinOps Foundation, which maintains the FinOps Framework, describes the difference between the two as one of formality: chargeback sends costs to official accounting budgets, showback does not. It states that neither is more mature than the other, that showback is always required, and that chargeback depends on the organisation’s accounting policies.
For a shared AI platform, that suggests a sequence rather than a ladder every organisation must climb:
- Showback first. Publish consumption and cost by team every month, with a weekly view for engineering. Teams check the numbers, find forgotten experiments and idle endpoints, and dispute errors while nothing is at stake.
- Budgets next. Give each team a budget or quota based on the showback data, and discuss overruns in a quarterly review.
- Chargeback where it fits. If business units carry their own profit and loss and finance wants internal transfers, book the costs. This needs metering that teams trust, an agreed rate card and a way to settle disputes.
Moving to chargeback before teams trust the measurement invites disputes and gaming, because teams start optimising the billing metric instead of the work.
What goes into the cost of an on-premises AI platform?
Everything needed to provide the capacity: hardware depreciation, data-centre space, power and cooling, software and support, storage and networking, and the platform team. Separate the costs that are fixed from those that vary with use before you choose units.
- Hardware depreciation. GPU servers, networking and storage, depreciated over the useful life your finance team sets. This cost exists whether or not the hardware is busy, so allocate it by reservation or allocation.
- Facilities. Rack space, power and cooling. Power varies with load; measure it per rack where your facility can, or fold it into the hourly rate.
- Software and support. Licences for platform components and any commercial serving or monitoring software, plus hardware support contracts.
- Platform operations. The time the platform team spends on upgrades, monitoring, incidents and onboarding. Spread it as a share of consumption or as a flat platform fee.
- Storage and data movement. Model artefacts, checkpoints, datasets and retrieval indexes. Large checkpoints accumulate quickly when every experiment keeps every version.
Some capacity will sit idle, and its cost has to land somewhere: as shared platform overhead, or with the team that reserved it and did not use it. Decide which, and write it down. To see how these cost pools compare with paying per token for a cloud API, the on-prem vs cloud AI cost calculator takes your own volumes and hardware assumptions.
Which units should you meter and price?
GPU-hours by hardware class for work that holds GPUs, such as training, fine-tuning, batch jobs and dedicated endpoints, and tokens for shared model endpoints that many teams call. Add other units only where the cost is material and the consuming team controls it.
| Unit | Measured at | Suits | Watch out for |
|---|---|---|---|
| GPU-hours per GPU class | Scheduler allocation records | Training, fine-tuning, batch jobs, dedicated endpoints | Bill allocated time; report utilisation separately |
| GPU-hours per GPU partition | Scheduler, for MIG instances or other slices | Notebooks, small models, development | Price slices consistently with whole GPUs |
| Input and output tokens per model | AI gateway, using the engine’s token counts | Shared model endpoints | A separate rate for each model |
| Requests | AI gateway | Embedding and reranking services | Requests vary in size |
| Storage per month | Model registry, object store, indexes | Checkpoints, datasets, indexes | Retention rules |
Keep the rate card short: a price per GPU-hour for each hardware class, a monthly price for reserved capacity, a token price for each shared model, and storage. Per-TFLOP pricing or time-of-day multipliers add precision at the cost of confusion; add them only when the simple model visibly fails. Even if finance never bills against it, the rate card gives teams a common language. A large model endpoint that runs all month becomes a budget choice to weigh against a smaller model, a scheduled batch window, or routing only the hard requests to the large model.
How do you meter GPU-hours?
From the scheduler’s allocation records, because an allocated GPU is unavailable to anyone else whether or not it is busy. Label every job with its team, project and cost centre, and reject unlabelled work at admission.
The scheduler already knows who held which GPUs and for how long:
- Slurm accounts for consumable resources as trackable resources (TRES). GPUs are added to accounting through the
AccountingStorageTRESsetting, for examplegres/gpu, andTRESBillingWeightssets how much each resource counts towards a job’s billing value. By default Slurm bills allocated CPUs only, so GPU weights have to be configured. The billing value is the weighted sum of the resources, unless theMAX_TRESpriority flag tells Slurm to take the largest weighted per-node resource instead.sacctshows the resources of each job, andsreportproduces usage reports. - Kubernetes does not bill, but namespaces map naturally to teams. With Kueue, which manages quotas for jobs on Kubernetes, a ClusterQueue governs a pool of resources such as accelerators, with a quota for each resource flavour, for example each GPU model, and a namespace selector that decides which teams’ namespaces may use it. Record when each workload is admitted and when it finishes, and you have GPU-hours per team and GPU class.
Report utilisation next to allocation, as an efficiency signal rather than a billing unit. GPU telemetry shows when an allocated GPU sits idle, and that is the conversation you want: a team that reserves four GPUs and keeps two idle should see it. If the platform cannot reclaim idle reservations, the reserving team should pay for them. If it can preempt and backfill, idle capacity becomes shared overhead.
How do you meter tokens on shared model endpoints?
At the AI gateway, which knows who sent each request, using the token counts reported by the inference engine rather than estimates. Then convert tokens into cost with a rate per model.
When several teams call the same model, GPU-hours cannot be split by job, because the engine batches requests from different teams together. Tokens are the natural unit instead, counted with the model’s own tokenizer, which the inference engine already does. vLLM, for example, exposes counters of prompt (prefill) tokens and generated tokens on its Prometheus-compatible metrics endpoint. Those counters are labelled with the model name, not the calling team, which is why attribution belongs in the gateway. For each request, the gateway should record:
- the caller’s identity: team, application and API key;
- the model and its version;
- input and output token counts, as reported by the engine;
- the timestamp, latency and outcome.
Gateways can then enforce budgets directly. The LiteLLM proxy, for example, tracks spend per virtual key, supports budgets for keys, users and teams with an optional reset period, sets tokens-per-minute and requests-per-minute limits, and fails requests once a key has exceeded its budget. The on-premises AI reference architecture places metering in the gateway for the same reason.
To turn tokens into money, take the monthly cost of the GPU pool that serves a model and divide it by the tokens that model processed in the month. Calculate a rate for each model: a large model spread over several GPUs usually costs more per token than a small model on one, and teams that choose the smaller model should see the saving. Decide whether to price input and output tokens separately, based on measurements on your own hardware, and recalculate when hardware, models or traffic change.
Two further practices prevent disputes. First, reserve budget for long requests before they run: estimate the input plus the maximum output and hold it against the team’s remaining budget, so that many large requests submitted at once cannot together overshoot it. Second, give developers cost visibility before they send requests, through client libraries or dashboards that show the remaining budget and the cost of the largest recent requests. Seeing their most expensive requests helps teams spot whole documents sent as context where retrieving the relevant passages would do.
How should quotas and budgets be structured?
Give each team a guaranteed share it can always use, a burst allowance it can borrow when others are idle, and a hard ceiling. Keep the sum of guarantees within the capacity you can actually deliver, or the guarantees mean nothing.
Define service classes before prices. A practical set has three:
- Interactive: notebooks, experiments and development endpoints, with short runtime limits and smaller GPUs or GPU partitions.
- Batch: fine-tuning, embedding generation, evaluation and overnight processing, queued and preemptible.
- Critical: production inference and agreed business windows, with reserved capacity and explicit service levels.
Each class has its own limits on runtime, queue priority, preemption and eligible hardware. Within each, separate reserved capacity, which a team can plan on, from burst capacity, which is opportunistic and can be reclaimed. Mixing the two creates conflict, because teams plan against capacity that was never guaranteed.
Enforce the policy where work is admitted, not in a spreadsheet:
- Kubernetes with Kueue. A ClusterQueue’s nominal quota is the team’s guaranteed share of each resource flavour. ClusterQueues in the same cohort can borrow each other’s unused quota, bounded by a borrowing limit on how much a queue may take and a lending limit on how much it gives. With the
reclaimWithinCohortpreemption policy, a team can take back its nominal quota by preempting workloads from queues that are using more than theirs. - The AI gateway. Token budgets per period, plus tokens-per-minute and requests-per-minute limits per key or team. When a request is refused, return HTTP status 429, Too Many Requests, which can carry a Retry-After header telling the client when to try again, and make client libraries back off instead of retrying immediately.
- Admission rules. Reject jobs that request GPU classes the team is not entitled to, unlimited runtimes or no ownership labels, and scale down notebooks and endpoints that sit idle beyond an agreed threshold.
Two budget rules avoid perverse incentives. Do not let unused quota roll over, or teams will send unnecessary work to protect their allocation. And give experimentation its own small, time-boxed budget, separate from production accounting, so that testing an idea is not priced out.
How do you keep the allocation model fair over time?
Review consumption, queue contention and idle reservations every quarter, publish the rate card, and keep a fast, time-boxed exception path for real business needs.
Each audience needs its own view of the same data:
- Engineering teams: consumption against budget with a trend line, the most expensive jobs and requests, and anomalies such as a training run that took far longer than similar runs.
- Engineering managers: cost by project and by workload type, such as training, inference and experimentation, and allocated versus used capacity.
- Finance and leadership: total platform cost allocated to business units, and the growth trends that feed the next capacity decision.
When a team’s cost jumps, show what changed: a new model deployed, a job scaled up, an endpoint left running. That context turns showback from surveillance into a tool teams actually use.
The quarterly review asks which teams repeatedly exceed their baseline, where queues build up by service class, which reservations sit idle, and whether the guarantees still fit the capacity. The answers tell you whether you have a policy problem, a forecasting problem or a capacity problem. Use them to adjust guaranteed quotas, reducing them for teams that consistently under-use them, and to resize the platform when contention persists. The LLM GPU sizing calculator helps translate growth in a model’s traffic into GPU memory.
Exceptions should be formal but fast. A production incident, an audit deadline or a plant roll-out may justify temporary priority, but write the criteria down and time-box them, or every request becomes urgent. A simple exception record covers the business reason, the GPU class and duration requested, the date capacity returns to normal and the approving owner. Keep quotas, rate limits and exceptions in version control so every change is reviewable, and give the forum that owns them a defined place in your AI operating model.
SysArt designs metering, quotas and cost reporting as part of the AI platforms it implements, on the client’s infrastructure or in a dedicated environment in EU data centres through private AI hosting.
Featured image by Elimende Inagella on Unsplash.
Frequently asked questions
What is the difference between showback and chargeback for AI infrastructure?
Showback reports what each team consumed and what it cost, without moving money. Chargeback books those costs to the teams' budgets in the finance system. The FinOps Foundation describes the difference as one of formality and does not treat chargeback as more mature: showback is always needed, while chargeback depends on the organisation's accounting policies. Most shared AI platforms start with showback to build trust in the numbers.
Should GPU chargeback be based on allocation or utilisation?
Base it on allocation. A GPU allocated to a job or endpoint is unavailable to other teams whether or not it is busy, so allocated GPU-hours reflect the capacity a team took. Report utilisation alongside it as an efficiency signal: a team that reserves four GPUs and keeps two idle should see that, and pay for it unless the platform can reclaim idle capacity for others.
How do you calculate a cost per token for an on-premises LLM?
Take the monthly cost of the GPU pool that serves the model, including depreciation, facilities, software and the platform team's time, and divide it by the tokens that model processed in the same month. Calculate a separate rate for each model, so that teams choosing a smaller model see the saving, and recalculate when hardware, models or traffic change.
How do you stop one team from using all the GPUs?
Encode quotas where work is admitted. Give each team a guaranteed quota it can always use, let it borrow idle capacity from others up to a limit, and let the owners reclaim borrowed capacity when they need it. On Kubernetes, Kueue provides this with ClusterQueue quotas, cohorts, borrowing and lending limits and preemption. At the AI gateway, token budgets and rate limits per key or team do the same for shared models.
What happens when a team exceeds its token budget?
Decide in advance. Common options are to serve further requests at a lower priority while spare capacity exists, or to reject them until the budget resets. A rejection should be explicit: HTTP status 429, Too Many Requests, can carry a Retry-After header telling the client when to try again. Urgent business needs go through a documented, time-boxed exception rather than an informal override.
Sources
- FinOps Foundation: Invoicing and Chargeback capability (showback and chargeback) · checked 27 October 2026
- SchedMD: Slurm Trackable RESources (TRES) and billing weights · checked 27 October 2026
- Kueue documentation: Cluster Queue (quotas, cohorts, borrowing and preemption) · checked 27 October 2026
- vLLM documentation: Production metrics · checked 27 October 2026
- LiteLLM documentation: Budgets and rate limits · checked 27 October 2026
- IETF RFC 6585: Additional HTTP Status Codes (429 Too Many Requests) · checked 27 October 2026