ERC-8506 On-chain Standard for AI Inference Usage Rights (AITO) (AI Inference Token Onchain)
Draft · Tokens · created 2026-11-20
A standard that defines rights to AI inference usage in a form verifiable on-chain, including what was promised, who is responsible, and how much has been used, and that makes these rights holdable, transferable, and consumable.
Why it is needed
Today, AI inference supply can only be bought as credit within a specific provider's account, so transferring it to another agent or wallet requires that provider's cooperation. Also, a phrase like '1 million tokens' tells you nothing about the actual quantity delivered without detailed rules, since tokenizers differ, tokens used during inference may be charged without being disclosed, and cached input may be billed at a different rate. Even with the same count, quality varies depending on which model, which quantization, and which configuration processed it, and lumping all of this into a single grade hides differences buyers need to see. There is also no way to know whether a reseller actually holds the right to resell, or which model it is tied to, and the ledger does not reveal whether prepaid credits exceed what the provider can actually supply. A further problem arises when past usage records are mistaken for grounds for a new right, effectively manufacturing supply out of consumption.
What to implement
event RecordAnchored( bytes32 indexed id, RecordKind indexed kind, address indexed publisher, bytes32 supersedes, string uri );: Signals that the issuer has anchored a record id under its own address.event RecordRelocated(bytes32 indexed id, address indexed publisher, string uri);: Signals that the record content remains unchanged while only its retrievable location (uri) has changed.event BatchAnchored( bytes32 indexed root, RecordKind indexed kind, address indexed publisher, uint256 count, string uri );: Signals that multiple records have been bundled under a single Merkle root and anchored at once.function anchor(bytes32 id, RecordKind kind, bytes32 supersedes, string calldata uri) external;: Anchors a record id under the caller's address.function relocate(bytes32 id, string calldata uri) external;: Changes the lookup location of a record the caller has already anchored.function anchorBatch(bytes32 root, RecordKind kind, uint256 count, string calldata uri) external;: Bundles multiple records of one type under a Merkle root and anchors them at once.function recordOf(address publisher, bytes32 id) external view returns (RecordKind kind, uint64 anchoredAt, bytes32 supersedes, string memory uri);: Looks up information for a record anchored by a specific issuer.function batchOf(address publisher, bytes32 root) external view returns (RecordKind kind, uint64 anchoredAt, uint256 count, string memory uri);: Looks up information for a bundle anchored by a specific issuer.event SeriesCreated( uint256 indexed seriesId, address indexed issuer, address indexed responsibleParty, bytes32 termsHash, string termsURI );: Signals that a new series has been created.event ResponsibilityAccepted(uint256 indexed seriesId, address indexed responsibleParty);: Signals that the responsible party has accepted supply responsibility for the series.event FulfillerSet(uint256 indexed seriesId, address indexed fulfiller, bool allowed);: Signals that a specific fulfiller's permission status for the series has changed.event Issued(uint256 indexed seriesId, address indexed to, uint256 amount, bytes32 basisRef);: Signals that units have been issued under a specific basis of issuance (basisRef).event Retired(uint256 indexed seriesId, address indexed holder, uint256 amount);: Signals that a holder has returned its units without consuming them.event Lapsed(uint256 indexed seriesId, address indexed holder, uint256 amount);: Signals that a holder's unused units have been extinguished after expiry.function createSeries(SeriesTerms calldata terms, string calldata termsURI) external returns (uint256 seriesId);: Creates a new series by specifying its terms.function seriesIdOf(SeriesTerms calldata terms) external pure returns (uint256);: Precomputes the series identifier that a given set of terms would produce.function acceptResponsibility(uint256 seriesId) external;: The responsible party formally accepts the supply obligation for the series.function setFulfiller(uint256 seriesId, address fulfiller, bool allowed) external;: The responsible party sets whether a specific fulfiller is permitted.function issue(uint256 seriesId, address to, uint256 amount, bytes32 basisRef) external;: Issues units by specifying the basis of issuance.function retire(uint256 seriesId, uint256 amount) external;: Relinquishes the caller's own units without consuming them.function lapse(uint256 seriesId, address holder) external;: Removes a holder's unused units after the series expires.event Authorized( bytes32 indexed authorizationId, address indexed holder, address indexed consumer, uint256 seriesId, uint256 cap, uint64 validAfter, uint64 validUntil, bytes32 scope, uint256 nonce );: Signals that a holder has granted a consumption limit to a specific consumer.event Revoked(bytes32 indexed authorizationId, address indexed holder);: Signals that a holder has revoked a previously granted authorization.event Held( bytes32 indexed requestKey, bytes32 indexed authorizationId, address indexed fulfiller, address consumer, bytes32 requestId, uint256 seriesId, address holder, uint256 amount, uint64 holdUntil );: Signals that units have been held for a single request.event UsageClaimed( bytes32 indexed requestKey, address indexed fulfiller, Outcome outcome, uint256[] usage, uint256 computed, uint256 claimed, bytes32 claimHash, bytes32 evidenceRoot );: Signals that a fulfiller has claimed actual usage and results on-chain.event Objected(bytes32 indexed requestKey, address indexed by, bytes32 reason);: Signals that a consumer or holder has objected to a claim.event Accepted(bytes32 indexed requestKey, address indexed acceptedBy, AcceptanceRule rule, uint256 amount);: Signals that a claim has been finally accepted under a specific rule.event Settled( bytes32 indexed requestKey, uint256 indexed seriesId, address indexed holder, uint256 deducted, uint256 released, bytes32 receiptHash );: Signals that a request has been settled, with part deducted and the remainder returned.event Released(bytes32 indexed requestKey, uint256 indexed seriesId, address indexed holder, uint256 amount);: Signals that a request has ended by returning the entire held amount to the holder with no deduction.function authorize(Authorization calldata a) external returns (bytes32 authorizationId);: The holder registers a consumption authorization on-chain by calling directly instead of signing.function revoke(Authorization calldata a) external;: The holder revokes a previously registered authorization.
In depth
Five core objects and three optional modules
AITO consists of five core objects, Unit, Grade, Source, Instrument, and Receipt, and three optional modules, Method, Assessment, and Token Binding. Unit defines what is counted and how; Grade defines what was promised to be delivered; Source defines who issues and who is responsible for supply; Instrument is a 'series' that combines Unit, Grade, and Source with on-chain terms; and Receipt records the usage and settlement that actually occurred. Method and Assessment are optional mechanisms for recording conversions between different Units and Grades, or measurement results, and Token Binding is the module that exposes a series as an ERC-1155 or ERC-20 token. An implementation can claim that its usage rights are transferable only if it has both the Core (series, issuance, consumption, settlement) and at least one token binding.
A series is identified by the hash of its full terms
A single series uses the keccak256 hash of the entire SeriesTerms struct as its identifier. If even one item affecting the holder's rights differs, such as the issuer, the responsible party, the Unit, Grade, and Source records, the hash of the full terms document (termsHash), the total issuance cap, the validity period (validFrom to validUntil), whether it is transferable, whether the deduction schedule can change later (scheduleMutable), the rounding direction, or the acceptance rule, it becomes a different series. A series with scheduleMutable turned on means its deduction rules can change, so the amount of inference it promises must be treated as not yet fixed.
Consumption proceeds in five steps: authorize, hold, claim, accept, settle
To use a usage right, the holder first signs a cumulative limit (cap) to a consumer via an Authorization. Since this authorization is a ceiling rather than a reservation, the holder can still transfer all of its units. The consumer specifies, via a ConsumptionRequest, the maximum amount for a single request (maxAmount) and a fulfiller, and only that fulfiller can execute the hold that moves the corresponding amount from holding into escrow. After actually running the inference, the fulfiller claims per-component usage and result type on-chain (claimUsage), and the claim itself causes no deduction. The chain multiplies the claimed usage by weights to compute the computed value, and sets the claimed value within a limit that does not exceed the held amount. Once accepted, settle deducts that amount and returns the remainder to the holder; each request ends exactly once, through either settlement or release.
Three rules for accepting a claim
Each series fixes its claim acceptance method via acceptanceRule. Under CoSign, a claim is finalized only once the consumer signs it directly; if there is no signature, anyone can release the request after holdUntil has passed, so that nothing is deducted. Under Optimistic, a claim is automatically finalized once the consumer signs or once the objectionWindow passes without an objection from the consumer or the holder; if an objection is raised, a series that has a resolver moves into a dispute state. Under ProviderMetered, the fulfiller's claim is accepted immediately, within the held amount. In every case, the deduction never exceeds that request's held amount.
The Source record specifies the basis for supply responsibility
A Source record contains who has the right to issue (issuer), who owes supply to the holder (responsibleParty), who actually performs the computation (fulfillers), and the issuanceBases that ground the issuance. Each issuanceBases entry must specify the issuing rights holder, the party obligated to supply, the basis (own capacity, upstream reserved capacity, a transferable upstream quota, credit, a shared repayment pool, a protocol budget, etc.), the quantity and time range, whether upstream resale is authorized, and the method for preventing double issuance. Issuing on the basis of credit or shared capacity is permitted as long as it is explicitly stated as such, but it must not be described as reserved capacity, and merely stating that an upstream supplier exists is not treated as that supplier's consent.
Blocking double spending through an accounting invariant
The Home Ledger must expose, for every series, the total issued amount, consumed amount, retired amount, lapsed amount, the amount currently held in escrow, and the amount available to each holder, and the issued amount must always equal the sum of consumed, retired, lapsed, escrowed, and the available balances of all holders. Issued units start out available, then get transferred, escrowed, retired, or lapse into the lapsed state after expiry, and escrowed units are either consumed through settlement or returned to available through settlement or release. Consumed, retired, and lapsed are irreversible terminal states. However, this accounting balancing does not mean the ledger prevents double-spending; it only means the ledger's own bookkeeping is internally consistent, not that real physical compute capacity exists or that it has not been double-promised elsewhere.
Records are tracked via content-based identifiers and anchoring
Records such as Unit, Grade, Source, Terms, and Receipt are JSON normalized per RFC 8785, and their identifier is the keccak256 hash of the normalized bytes. Records are immutable, so any change in content produces a different record, and a new version points back to the prior record via a supersedes field. The IAITORecords registry lets an issuer or supply-responsible party anchor a record under their own address, which means that party takes responsibility for the record's content but does not prove the content is true. A party that cannot resolve a record must treat everything that record claims as unknown.
This is not yet a finalized proposal
This ERC was authored on November 20, 2026 and is currently in Draft status. Specific interface details, numeric values, and the exact rules of optional profiles may change or be discontinued during discussion, so anyone planning an implementation should check the latest discussion thread and whether the spec has changed.