Proposal for review: Artificial Intelligence Billing Delegation Standard for user-authorized API usage
I would value technical critique from OpenAI API developers, platform engineers, billing/security specialists, and anyone building consumer-facing artificial intelligence applications.
I have published an open-source draft proposal called the Artificial Intelligence Billing Delegation Standard (ABDS):
The problem I am trying to address is this:
Consumer artificial intelligence applications currently face a difficult billing model:
- The developer absorbs unpredictable inference/API costs.
- The user is forced into Bring Your Own Key flows, which ordinary consumers do not understand.
- Every application rebuilds its own credit system, quota tracking, usage limits, and abuse controls.
This creates friction for consumer artificial intelligence applications, especially small developers who want to build useful apps without taking on open-ended API cost exposure.
The proposal is an OAuth-style authorization model for user-authorized, provider-enforced artificial intelligence resource consumption.
At a high level:
User Subscription Entitlement
↓
Delegated Artificial Intelligence Grant
↓
Short-lived Execution Token
↓
Provider-side Usage Ledger
The core technical principle is:
Mutable quota state does not belong in token claims.
The execution token should reference the delegation. The provider-side grant and usage ledger should remain authoritative for quota, revocation, model scope, and abuse controls.
This is not intended as:
-
a Bring Your Own Key wrapper,
-
a request for unlimited user quota,
-
a bypass around provider billing,
-
a blockchain or credit-token proposal,
-
or a claim that OpenAI, Anthropic, Google, or any other provider is involved.
It is an open technical draft intended for review.
The current repository includes:
-
technical specification,
-
provider discovery proposal,
-
implementation profiles,
-
threat model,
-
roadmap,
-
executive/technical PDF brief,
-
AI-assisted review contributions.
The areas where I would most value feedback are:
-
Is this better framed as an OAuth-style profile, a token-exchange profile, or something else?
-
Is the four-object model technically sound?
-
Should delegated usage be enforced entirely through provider-side grants and ledgers?
-
What abuse cases would make this unsafe for a provider?
-
How should streaming, long-running, and agentic workloads reserve and settle quota?
-
Would this solve a real pain point for developers building consumer artificial intelligence applications?
I am not asking for support with a bug or billing issue. I am asking whether this kind of delegated billing model is technically realistic, useful, or flawed.
Github Repository name again for anyone interested in the full specifications and detail:
MJohnstonAI / ai-billing-delegation
Any critique is welcome, especially from people with experience in API platform design, OAuth, billing infrastructure, usage metering, security, or consumer AI app development.
