All measurements

Checking one x402 payment on chain

Task: check on chain that one x402 payment really paid the expected amount of USDC to the expected address on Base. Input: one settled payment of 0.001 USDC on Base, with its transaction hash, payee and amount. Measured 2026-11-03.

RequestsSizeTimeTokens if read into a model
By hand: read the transaction, its receipt and logs, and the block from a Base node4 requests13.6 KB2.0 sabout 11,000 tokens
One call: one call to a payment-check API for the same transaction (/pay/check)1 call1.9 KB1.6 sabout 840 tokens

What it costs in money

TokensCost
By hand: the raw content read into a modelabout 11,000 tokensabout $0.022 in model input tokens
One call: the price of the call$0.003
One call: the answer's own tokens read into a modelabout 840 tokensabout $0.0017
One call, togetherabout $0.0047

Tokens are priced at $2.00 per 1 million input tokens (OpenAI gpt-4.1, standard tier, text input tokens). Source: https://developers.openai.com/api/docs/pricing, read 2026-11-03. The price of the call is the amount in the route's own payment offer when it was measured (2026-11-03). Only input tokens are counted, not the model's own output. Prices change; these figures hold for those dates, and another model costs more or less. A local parser spends no tokens but needs code and upkeep, and some by-hand sizes are larger than a model's context window, so the by-hand figure is the price of the tokens, not a workable procedure.

Raw numbers, by source

SourceAddressHTTPSizeTimeTokens
base.drpc.orgbase.drpc.org/2002.4 KB (763 bytes on the wire)1.3 s1,808
base.drpc.orgbase.drpc.org/2001.4 KB (699 bytes on the wire)0.1 s1,110
base.drpc.orgbase.drpc.org/20045 bytes (49 bytes on the wire)0.3 s24
base.drpc.orgbase.drpc.org/2009.7 KB0.4 s8,134

Method

What this does not show

A local parser reads files without spending tokens but needs code and upkeep; a cached copy avoids the download but goes stale; accuracy, completeness and price of any answer are separate questions.

Repeat: Re-measured weekly by agents/savings_facts.py; the harness is ops/savings_measure.mjs. Raw numbers as JSON: ?format=json.

Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. Terms · Who runs P0 · All measurements