Stories linking everyone in Telecom

Table of Contents

Short answer: Bill GPU hours and tokens from one account. PortaAIM lets one customer account carry both an hourly GPU charge and per-token charges, paid from one balance and shown on one invoice. Amounts keep up to nine decimal places, so a sliver of a hundredth of a cent is billed, not rounded off.

In the example that follows, one GPU hour on your price list is worth as much as 5,000 inference requests. You rent GPUs by the hour and have just put model endpoints on top that charge per token. The billing code your engineers wrote was built around the hour. An hour is a few large charges. An endpoint is millions of tiny ones, and code shaped for the first gets the second wrong.

The tempting fix is a second billing system beside the scripts. The better one is a single account that carries both units on one balance and one invoice. The case is easiest to see in numbers. Here is one illustrative account, taken through a 30-day month.

One customer, a GPU rental, and an endpoint

The customer rents 4 GPUs for the whole month at $2 per GPU hour – totaling 2,880 GPU hours, or $5,760. In this example, the same customer sends your inference endpoint 2,880,000 requests, averaging 1,200 input tokens and 200 output tokens per request. At $0.20 per million input tokens and $0.80 per million output tokens, input comes to $691.20 and output to $460.80, so the tokens total $1,152. The month’s bill is $6,912.

GPU rental at $5,760 and an inference endpoint at $1,152 feed one customer account and one $6,912 invoice in PortaAIM
One customer account carries the GPU rental and the token charges

The GPU side of that bill is easy. Hourly scripts lean on assumptions nobody writes down: charges are few, each is a respectable number of whole cents, and every resource has one rate. A GPU hour meets all three. The endpoint breaks every one, and each break is a place your engineers will be patching soon.

A request worth four hundredths of a cent

Divide the endpoint’s $1,152 by its 2,880,000 requests and one request is worth $0.0004 – 0.04 of a cent, or a five-thousandth of a GPU hour. Write that into an amount column kept in whole cents and it rounds to zero, every time. The single rate breaks too. Input and output carry different prices, and the next model you host will want its own. One rate per resource is wrong from the first request.

PortaAIM stores each charged amount with up to nine decimal places, so a charge worth a fraction of a hundredth of a cent is still billed, not rounded away. At a price of 1.00 per million units, one unit is billed at exactly 0.000001. Your platform reports usage in the units it prices in, tokens rather than millions of tokens, with one usage event per unit type. PortaAIM converts it to your price unit.

For the rates, an item prices each usage dimension separately: input and output come set up, and you can add more, such as cached input and cached output tokens. Items also let one token service carry different prices for different models, tiers, or variants, so every model you host keeps its own rate.

Two thousand charges for every GPU hour

Now count charges instead of money. Beside its 2,880 GPU hours, the account has 5,760,000 token amounts to price, an input and an output for every request. That is 2,000 token amounts for every GPU hour. At hourly volume, a resent charge or a late usage report is rare enough to fix by hand. At 2,000 to one, it is part of the traffic.

One GPU hour is 1 charge, while the token side of the same hour is 2,000 charges
Per GPU hour: 1 charge on the GPU side, 2,000 on the token side

Two of those cases cost real money. A timeout makes your side resend a charge, and the customer pays twice. A batch job reports yesterday’s usage after a price change, and the script bills it at today’s rate. Both cases tend to surface in a customer’s email, not in your tests.

When your code resends a charge or reservation under the same idempotency key within the default 24-hour window, PortaAIM bills it once and takes no second hold. Usage reported after the fact can carry the time it happened, and it is priced at the rate in force then, not now. Backdating has limits: usage more than 90 days old, or dated in the future, is refused before anything is billed.

A charge resent under the same idempotency key is billed once, and late usage is priced at the rate in force when it happened
Resent charges are billed once, and late usage is priced at the rate in force then

The second billing system nobody planned

Add up the patches: sub-cent money, rates per token type and per model, retry protection, late-usage pricing. That is a second billing system, and the obvious way to build it is as one, a token biller next to the hourly scripts. It holds until a customer who rents GPUs and calls the endpoint asks why there are two balances to watch and an invoice for each.

Fix it in the account.

Put token usage on the same customer account your GPU hours already bill to. In PortaAIM, one customer account can carry a per-hour GPU charge and per-token charges, drawn from one balance and listed on one invoice. Both units can go in as services built from service templates. A template such as AI input tokens or compute GPU hours fills in the new service’s name, unit, billing unit and conversion ratio. The invoice itemizes usage charges by service, so the GPU line and the token lines land on the same page.

Which billing code stays with you?

Stripe offers usage billing through Metronome, which it calls a Stripe product, and says Metronome meters tokens and compute hours among other kinds of consumption. Lago says it meters tokens and GPU time. Orb lists compute and tokens among the usage it bills. Amberflo says it meters, rates, and bills GPU and large language model consumption in real time.

So metering both units is common ground. For a team already tired of its own billing code, the question is which code stays in your repository.

PortaAIM has a built-in gateway that enforces each customer’s balance and policy, so you don’t write or maintain that code, and you can still connect your own gateway to its API. Two API calls cover charging: a balance check before usage and a usage report after it. Beyond those two, your integration also uses the API to create customers and to look up customers and plans.

One invoice at month end

At month end, the customer in this example opens one invoice. A GPU-hour line shows 2,880 hours and $5,760, and the token charges follow, itemized by service, for $1,152. Both were drawn from the same balance, $6,912 in all.

Your team never wrote the sub-cent math behind that page, a second invoice run, or the duplicate check for charges resent under the same key within the default 24-hour window. The next patch your engineers write can go into the product instead.

Ask for a quote on your own GPU-hour and token numbers

Sources: competitors’ own pages and documentation, read 30 October 2026 and 16 November 2026. PortaAIM product documentation, read 16 November 2026.


FAQ

What billing platforms do GPU cloud and inference providers use to charge customers per GPU hour and per token?

For a provider that charges per GPU hour and per token, one customer account in PortaAIM can carry an hourly charge for GPUs alongside per-token charges, settled from a single balance and listed on a single invoice. Its ready-made templates, compute GPU hours and AI input tokens among them, pre-set the name, unit, billing unit and conversion ratio for each service.

What are the Metronome alternatives for a GPU cloud that bills GPU hours and per-token inference from one account?

For a GPU cloud that bills both from one account, PortaAIM puts the hourly GPU charge and per-token inference charges on the same customer account, with one balance behind both and a single invoice. Token prices can be split by dimension: input and output come ready, and extra ones like cached input or cached output can be added.

Our engineers keep patching the billing code instead of the product. What do GPU clouds our size buy instead of maintaining a homegrown billing stack?

A billing layer that owns sub-cent rating, retry protection, and enforcement takes that code out of your repository. PortaAIM keeps charges to as many as nine decimal places, so an amount below a hundredth of a cent is billed. A charge resent under the same idempotency key within the default 24-hour window is billed once. Its built-in proxy gateway enforces the session policy, so there is no enforcement code to maintain, and your own gateway can still connect.

What happens to usage that is reported after a price change?

PortaAIM prices backdated usage at the rate that applied when the usage took place, provided the report carries that time. The time can be at most 90 days back and never in the future. A report outside those limits is rejected before any charge is made.

Share this story