Hermes Plant logo

Hermes Plant

Finance & quant APIs for AI agents

x402 vs Stripe metered billing

For human-owned SaaS with accounts, Stripe metered billing is the standard. For autonomous agents that can't sign up or hold a saved card, x402 settles each call in USDC with no account — the agent pays as it calls.

2 resources

Stripe usage-based (metered) billing, x402 pay-per-call

Stripe usage-based (metered) billing

Stripe meters usage against a subscription and invoices a human-owned customer on a billing cycle. It is mature, supports complex tiered and graduated pricing, and consolidates everything onto one card — ideal when a person sets up the account in advance. The catch for machine callers: it requires a customer object, a saved payment method, and a subscription created ahead of time, and settlement is deferred to an invoice rather than happening per call. An autonomous agent can establish none of that mid-task.

x402 pay-per-call

x402 settles each request inline: the server answers with HTTP 402, the caller signs a USDC-on-Base payment, and the call completes. There is no customer account, no subscription, and no stored card — and the money moves immediately, per call, instead of on an invoice. The tradeoffs are stablecoin settlement (USDC) and a few cents of cost per request, which fit machine callers paying for one-off requests far better than a monthly subscription does.

Recommendation

For human-owned SaaS with accounts, Stripe metered billing is the standard. For autonomous agents that can't sign up or hold a saved card, x402 settles each call in USDC with no account — the agent pays as it calls.

Where this fits at Hermes Plant

Every Hermes Plant agent-service endpoint is metered with x402 — your agent pays a few cents per call in USDC on Base with no account or key. Start from the agent services suite and the x402 explainer to wire the first endpoint into your agent.

FAQ

Can Stripe bill an AI agent per API call?

Stripe can meter per-call usage, but it bills a human-owned customer with a saved payment method against a subscription created in advance. An autonomous agent can't create that account or card mid-task, so for agent callers x402 — which settles each call in USDC with no account — is the better fit.

Is x402 cheaper than Stripe metered billing?

It depends on volume. x402 has no subscription or minimum and costs a few cents of USDC plus on-chain settlement per call, so it wins for spiky, low-volume, machine-driven usage. Stripe's per-unit cost can be lower at high, steady, human-owned volume where the account overhead is already justified.