How AI agents pay for tools
An agent that searches the web, renders a PDF or creates a form spends money on someone's behalf. Two ways work today: the agent pays each call itself with x402, or a person funds an account the agent draws from. Munition supports both, at the same fixed prices.
curl -sS -i https://api.munition.io/v1/serper/search \
-H 'Content-Type: application/json' \
--data '{"q":"x402 protocol","gl":"us","hl":"en","num":10}'The two ways, side by side
Pick x402 when the agent holds its own wallet. Pick an account when a person is behind the agent.
HTTP, paid with x402
- Call the route without paying. It answers
402 Payment Required, with the price in thePAYMENT-REQUIREDheader. - Sign the USDC payment from the agent's wallet with any x402 client.
- Send the same request again with the
PAYMENT-SIGNATUREheader and get the result.
curl -sS -i https://api.munition.io/v1/serper/search \
-H 'Content-Type: application/json' \
--data '{"q":"x402 protocol","gl":"us","hl":"en","num":10}'Remote connector
Recommended- Add the URL below as a remote MCP server in Claude, ChatGPT, Codex or Cursor.
- Approve the Munition consent page. One click creates the account.
- The person adds funds when a tool asks; the agent never holds a key.
https://api.munition.io/mcpWhat an agent can pay for with Munition
One fixed price per call, the same over MCP and HTTP. The free tools cost nothing.
Web search and page reading
$0.002 to $0.03 per call
Connector · Local server · HTTP + x402
ReferenceGoogle results, news, images and shopping; Exa search and cited answers; a page or a set of search results read as clean text.
- web_contents$0.002
- google_search$0.004
- google_news$0.004
- google_images$0.004
- google_shopping$0.004
- web_search$0.01
- web_find_similar$0.01
- web_answer$0.01
- web_scrape$0.015
- web_search_scrape$0.03
HTML to PDF
$0.02 per call
Connector · Local server · HTTP + x402
ReferenceSelf-contained HTML in, an A4 PDF at a public link out. For reports, invoices and source lists the agent writes.
- render_pdf$0.02
Flight search
$0.001 to $0.05 per call
Connector · Local server · HTTP + x402
ReferenceLive offers from Duffel, the details of one offer, airport lookup, and free links that open the same search on KAYAK or Kiwi.com. Munition never books or sells a ticket.
- airports_search$0.001
- flight_offer_details$0.01
- search_flights$0.05
- flight_booking_linksFree
Forms
$0.01 per call
Connector · Local server · HTTP + x402
ReferenceA web form with up to 20 questions and a public link. People answer without an account; the agent reads the answers as JSON, up to 100 per form.
- create_form$0.01
- form_responsesFree
- close_formFree
File upload
$0.005 per call
Local server · HTTP + x402
ReferenceOne local file, up to 10 MiB, at a public URL for 7 days. Renew it, list recent uploads or delete one. Needs the local package: the connector cannot read your disk.
- upload$0.005
- renew_upload$0.005
- recent_uploadsFree
- delete_uploadFree
Try it
Once Munition is connected, ask in plain words. The agent picks the tool.
- Web search and page reading
“Search the web with Munition for three recent reviews of this product and summarize them with links.”
- Flight search
“Find the cheapest flight from London to Rome next Friday with Munition. Do not book anything.”
- Forms
“Create a Munition form asking the team for their lunch order, and collect the answers by noon.”
Good to know
- Price before payment
- The
402states the exact price before anything is signed, and each tool has one fixed price, so an agent can budget a task. - Limits on the account path
- A connector connection can spend at most $1 per call and $5 per 24 hours, and the balance only holds what the person added.
- x402 and AP2
- x402 pays for one HTTP request at a time. AP2, the Agent Payments Protocol, is about mandates: proof that a person authorized a purchase. They answer different questions.
FAQ
Only if it pays per call with x402. With the connector, the money sits in a Munition account and the agent never sees a key.
The paid tool returns a top-up link valid for 15 minutes instead of failing. The person adds funds, then the agent tries again.
Subscriptions are coming with billing: the same tools from one account, without topping up. Early access is on the Pricing page.
Next step
Pay for the calls your agent makes, nothing else
Every tool has a fixed price per call. The docs list them all, and explain how agents pay over x402 without an account.