Jace Shim

Jace Shim › Stablecoin research › Agentic API payments

Conceptual model · Working paper, November 2026

When Should AI Agents Pay per API Call?

Stablecoin micropayments, metered billing, and delegated spending

When should an AI agent settle each call?

Definition · Payment-Frequency Break-Even RuleThe payment-frequency break-even rule, proposed by Jace Shim (2026) for usage-based payments made by AI agents, separates four decisions (authorization, metering, billing frequency, and settlement) and compares settling each API call, settling batches of metered calls, and buying a subscription. With the same fixed settlement cost on both paths, batching is cheaper when (N − B) × f exceeds L, the expected incremental cost of batch collection delay, nonpayment, and reconciliation.

The short answerPer-call settlement is most plausible when use is sporadic or sellers lack a reliable way to collect later. At high volumes, a small fixed fee on every payment can outweigh the cost of carrying a capped unpaid balance.

Proposed byJace Shim (심준규)
SourceZenodo working paper, Version 1.0 (2026), DOI 10.5281/zenodo.24591069 · PDF
Developed fromTarget Money, Chapter 13
SettingAn AI agent buying API services under delegated authority

A receipt for every call?

An agent builds a report using a one-off company lookup and a thousand page-extraction calls.

One-off lookup

A subscription to the lookup service may be excessive if a single purchase is allowed.

1,000 page extractions

Paying for every page can mean repeated settlement costs.

Both vendors can still charge by the unit of service. The choice is when to move funds. Google’s Agent Payments Protocol (AP2) illustrates a payment-agnostic approach to recording delegated authority, and the x402 white paper describes an HTTP-based approach to requesting and presenting payment for internet resources. These protocols motivate the application; the comparison asks what each billing arrangement costs when the same service, authority, and usage records are held fixed.

Four decisions in a usage-based payment

1

Authorization

Who may buy, from whom, for what purpose, and within what budget.

2

Metering

Which events count as billable.

3

Billing frequency

When charges are grouped.

4

Settlement

How the vendor receives funds.

A system can meter every call while transferring stablecoins only when a recipient-specific amount or time limit is reached.

Rules for delegated spending

RuleWhat it specifies
Delegated budgetA buyer can delegate purchases of a specified API up to a budget, set a maximum unit price, and define when the permission expires
Unique referenceEach service request carries a unique reference
Billable eventsA contract or service agreement defines whether a completed result, a timed-out request, or a retry is billable; when the result is uncertain, both records can be reconciled before charging again
Budget accountingThe budget covers settled and pending charges, with a provision for known fees
RefundsA delayed refund should not restore spendable authority until the accounting records confirm it

A break-even rule for payment frequency

NCompleted billable calls
pCommon price per call
fFixed cost of one settlement
BNumber of batch settlements
LExpected incremental cost of batch collection delay, nonpayment, and reconciliation

Batching is cheaper when (N − B) × f > L

Measure every option over the same observation window and service quality; the shared usage charge is N × p. If settlement prices, conversion costs, or failure costs differ by path, include them separately. Compare a subscription at its actual price and coverage, including any overages and charges for months with little use.

Per-call settlement fits

Sporadic purchases from new vendors, where access requires immediate settlement and the cost per transfer is small, or where sellers lack a reliable way to collect later.

Batching fits

Recurring high-volume relationships when collection risk is modest. Where a vendor will not extend credit, a small prepaid balance shifts the exposure to the buyer, who can limit the amount held and specify how unused funds are returned.

The values are illustrative.

A pilot for a paid document-parsing API

ElementDesign
ArmsPer-call settlement, capped batched settlement, and a conventional metered invoice
Held fixedPrice per usable result, task set, and access rules
PhasesA shadow phase with synthetic calls and simulated receipts, then real outcomes only within a separately authorized pilot
Test setIncludes timeouts, disputed receipts, and service outages; run under bursty and steady workload patterns
MeasuresNet cost per usable result, time from request to usable response, wrong or duplicate charges, dispute resolution time, vendor unpaid exposure, and unused buyer balances
Rail comparisonVary the payment rail within the same billing policy to separate any stablecoin advantage from the savings generated by batching

A payment receipt can show funds moved and still leave the quality of the output open to review.

The paper reports no observed effect estimates.

Frequently asked questions

When should AI agents pay per API call?

According to the model proposed by Jace Shim (2026), per-call settlement is most plausible when use is sporadic or sellers lack a reliable way to collect later, for example a one-off lookup from a new vendor that requires immediate settlement where the cost per transfer is small. Recurring high-volume relationships are predicted to favor aggregation when collection risk is modest.

What is the payment-frequency break-even rule?

The payment-frequency break-even rule, proposed by Jace Shim (2026) for usage-based payments made by AI agents, separates four decisions (authorization, metering, billing frequency, and settlement) and compares settling each API call, settling batches of metered calls, and buying a subscription. With the same fixed settlement cost on both paths, batching is cheaper when (N − B) × f exceeds L, the expected incremental cost of batch collection delay, nonpayment, and reconciliation.

What are the four decisions in a usage-based payment?

Authorization answers who may buy, from whom, for what purpose, and within what budget. Metering determines which events count as billable. Billing frequency determines when charges are grouped. Settlement determines how the vendor receives funds. A system can meter every call while transferring stablecoins only when a recipient-specific amount or time limit is reached.

How much can batching API payments save?

In the paper’s illustrative example, 1,000 calls at 0.02 units each carry a usage charge of 20. With a transfer cost of 0.004, per-call settlement adds 4 in fees, while ten batch settlements cost 0.04. Batching can absorb up to 3.96 units of incremental delay, collection, and reconciliation cost before it loses its fee advantage.

What if an API vendor will not extend credit to an AI agent?

A small prepaid balance is an alternative. It shifts the exposure to the buyer, who can limit the amount held and specify how unused funds are returned.

How should an agent’s spending authority handle retries and refunds?

Each request carries a unique reference, and the service agreement defines whether a completed result, a timed-out request, or a retry is billable. When the result is uncertain, records are reconciled before charging again. The budget counts settled and pending charges, and a delayed refund does not restore spendable authority until the accounting records confirm it.

How does this relate to AP2 and x402?

Google’s Agent Payments Protocol (AP2) illustrates a payment-agnostic approach to recording delegated authority, and the x402 white paper describes an HTTP-based approach to requesting and presenting payment for internet resources. These protocols motivate the application; the model asks what each billing arrangement costs when the same service, authority, and usage records are held fixed.

Who proposed this model?

Jace Shim (심준규) proposed it in the working paper When Should AI Agents Pay per API Call? Stablecoin micropayments, metered billing, and delegated spending (Version 1.0, Zenodo, 2026, DOI 10.5281/zenodo.24591069), drawing on Chapter 13 of his book Target Money.

Proposer and how to cite

The model was proposed by Jace Shim (심준규), PhD in Business Administration, adjunct professor at Inha University, and author of Target Money (Raon Book, 2026; Korean edition 《타겟머니》). The working paper is open access under a CC BY 4.0 license.

Shim, J. (2026). When Should AI Agents Pay per API Call? Stablecoin micropayments, metered billing, and delegated spending (Working paper, Version 1.0). Zenodo. https://doi.org/10.5281/zenodo.24591069

Shim, J. (2026). Target Money (Chapter 13). Raon Book.

Download the working paper (PDF, 3 pages) →