How much to charge AI agents: pricing an API call, a page or a dataset
Price an AI agent call from two numbers: what one answer is worth to the agent, and what one call costs you to serve. Set the price between them, in cents or fractions of a cent, and keep it small enough that an agent can pay without a second thought. As an illustration only, not market data, many small API routes might sit somewhere between $0.001 and $0.05 per call. Keep the AI search assistants that send you visitors free, charge the callers that take value and send nothing back, and start low, because a price is easier to raise later than to lower.
How much should I charge per API call?
Start with your cost. If a call runs a database query, a third-party API or a model, add up what that one call costs you. That is your floor. A price below it loses money on every request.
Then ask what the answer is worth to the agent. An agent that needs one fresh price, one verified fact or one finished check to complete a task will pay more than one that is browsing. If you cannot say what the answer saves the agent, price near your floor and learn from real usage.
x402 handles very small USDC amounts, so you are not forced to round up to a whole dollar. These ranges are examples to think with, not benchmarks:
- Around $0.001: a cheap lookup that costs you almost nothing to serve.
- Around $0.01: a call that does some real work, such as a small calculation or a filtered query.
- Around $0.05 or more: a call that is expensive for you or very valuable to the agent, such as a full report.
Should AI search crawlers pay?
Not the ones that send you visitors. If you sell something, being read and quoted by AI search assistants is part of how people find you, and a paywall in front of them can remove you from the answers. Our note on which AI bots do what shows how to tell search crawlers from training crawlers.
The better candidates to charge are bulk crawlers and autonomous agents that take your content or data at volume and send no traffic back. Decide bot by bot, and keep health checks and webhook routes free so your own monitoring keeps working. For how the three ways of getting paid fit together, see charging AI agents: pay per crawl, x402 and paid MCP tools.
Per call, per page or per dataset?
The unit you charge for should match what the agent is actually buying.
- Per call suits APIs and tools. The agent pays for exactly what it uses, with no account and no minimum.
- Per page suits original articles, listings or research that an agent fetches one at a time. Pricing every page the same is simple. Pricing long or rare pages higher is fair.
- Per dataset suits a bulk file or an export. One larger price for the whole file is easier for an agent to budget than thousands of tiny ones.
- Metered pricing suits calls where the cost depends on the work. x402 payments on Base settle a fixed amount per call today, so price the typical call and split very large jobs into separate calls, each with its own price.
Whatever you pick, publish the prices on a free page. An agent that cannot see the price cannot decide to pay.
Free tiers, test networks and changing prices
Run the whole flow on a test network first. Test payments use tokens with no real value, so you can check the 402 response, the signed payment and the receipt without risking money. Our step-by-step guide to charging AI agents per API call on Cloudflare Workers with x402 walks through it.
A free tier is worth considering for routes where you want agents to try before they depend on you: a free sample route, or a cheap first version of a paid one.
Start lower than you think you need to. Raising a price later is routine. Cutting one after agents have built a budget around it is awkward, and a sudden jump can break an agent that has a hard spending limit. Change prices on a schedule you publish, not without notice.
What does a payment cost to process?
This is what makes tiny prices possible. A card payment usually carries a fixed fee plus a percentage, which swallows a one-cent charge. x402 payments are in USDC, a stablecoin, and settle on Base with no card fees. The payment goes from the agent's wallet to yours, and the facilitator that verifies and settles it does not hold the funds (x402 docs).
With the Agent Tollbooth hosted facilitator, the developer pays nothing per payment. The Pro Pass ($39 USD once, one project) and the Agency Pass ($79 USD once, several projects) each include up to 10,000 hosted settlements a month. Red Center Studio takes 0% of payments and never holds the money. If you would rather not use the hosted facilitator, you can run your own x402 facilitator for free.
Mistakes to avoid
- Pricing below your own cost per call.
- Charging the search assistants that send you visitors.
- Hiding the price, so an agent cannot decide whether to pay.
- Starting high with no evidence anyone will pay, then having to cut.
- Expecting large income straight away. Pick one useful route, price it small and watch what happens.
Frequently asked questions
How much should an AI agent pay per API call?
Between your cost to serve the call and the value of the answer to the agent. As examples only, small routes might use $0.001 to $0.05 per call. Start low and raise it once you see real usage.
Can I charge fractions of a cent?
Yes. x402 payments are in USDC and can be very small, and with the hosted facilitator there is no per-payment fee for the developer within the pass allowance of up to 10,000 hosted settlements a month.
Should I charge AI search crawlers?
Generally no, if they send you visitors. Charge bulk crawlers and agents that take value and send no traffic back.
Is it free to test my pricing?
Yes. The plugin and testing on a test network are free. You pay for a pass only if you choose the hosted facilitator to go live.
Does Red Center Studio take a share of what I earn?
No. Red Center Studio takes 0% of payments and never holds the money. Payments go straight to your wallet.
Try it
Free testing and the plugin are at tollbooth.redcenterstudio.com/pay, where the passes for going live are also listed. The step-by-step guide shows how to wrap a route and test it. If you would rather have it done for you, AI Tollbooth Setup is from $499 USD.
Sources
- x402: an open standard for internet payments, x402.org
- x402 facilitator, x402 documentation