Live AgentPay
Give your agents a budget, not a stack of API subscriptions.
AgentPay lets AI agents pay for the APIs they use, one call at a time, from a single prepaid balance. You never pay for failed, slow or repeated calls. Spending can never exceed the balance, and the API keys are never stored inside your agent.
| Call | Charged |
|---|---|
| GET weather/forecast 200 OK in 184 ms, SLA 800 ms |
$0.03 charged |
| POST search/query Same Idempotency-Key retried |
$0.00 replayed |
| POST search/query 500 from the API |
$0.00 released |
| GET maps/route No answer within 800 ms, cut off |
$0.00 504, free |
Why teams use it
No monthly plans
Pay for each successful call instead of a subscription for every API your agent uses occasionally.
No surprise bills
Failed and timed-out calls are free, retries are never charged twice, and spending stops when the prepaid balance runs out.
No keys in your agent
API keys are stored encrypted on our side and added to each request. Even if your agent is compromised, those keys stay safe.
Real-world examples
An unreliable network connection
An agent stuck in a loop
An agent's configuration is exposed
What would you save?
Enter your own numbers. The math runs in your browser.
What it does
- Charged on success only
- The price is reserved before the call and charged only when the API answers with a 2xx status. Errors, timeouts and unreachable APIs cost nothing.
- Never charged twice
- Every call carries an
Idempotency-Key. Retrying a completed call returns the original response with no second charge, for 24 hours. - Time limits enforced
- Each route has a response time limit (SLA). If the API has not answered in time, the call is cut off, answered with 504, and not charged.
- API keys stay with us
- Destination API keys are stored encrypted and added to each request on the way out. Your agent never holds them, and its own key is never forwarded.
- Prices you can see
- Every route shows its price per call before you use it. Prices are set by us, so a client can never change what it is charged.
- Every call on record
- Each call is logged with its status, the API's response code and how long it took. Every charge also appears in the wallet history.
How it works
- Pick a route.
GET /v1/routeslists the APIs available, with their price and time limit. - Call through AgentPay. Send the request to
agentpay.myuiaf.com/v1/proxy/<route>/<path>with your key and anIdempotency-Key. - Get the API's answer. The response comes back unchanged, with headers showing what was charged and your remaining balance.
Try it
# See the routes you can call and their prices
curl https://agentpay.myuiaf.com/v1/routes \
-H "X-Agent-API-Key: fv1.acme-bot.k1.xxxxx"
# Call one. Use a new Idempotency-Key for each new call.
curl -X POST https://agentpay.myuiaf.com/v1/proxy/rt_weather/forecast \
-H "X-Agent-API-Key: fv1.acme-bot.k1.xxxxx" \
-H "Idempotency-Key: 7f3c9a1e-forecast-honolulu" \
-H "content-type: application/json" \
-d '{"city":"Honolulu","days":3}'
HTTP/2 200
x-agentpay-call-id: 001762570000000-a1b2c3
x-agentpay-charged-usd: 0.03
x-agentpay-available-usd: 4.97
x-agentpay-ttfb-ms: 171
x-agentpay-total-ms: 184
{ ...the API's own response... }
Route names above are examples. Call GET /v1/routes for the routes live today.
Pricing
| Route type | Price per successful call | Example |
|---|---|---|
| Flat | $0.01 | Any call on the route: $0.01 |
| Pass-through | The API's own price + 5%, rounded up to the cent | A $2.00 call costs $2.10; a $0.09 call costs $0.10 |
Calls are paid from the same prepaid credits as Freshness Validator. Buy a credit pack, or let your agent buy its own. Failed, timed-out and retried calls are free.
Rate limits
These are counted separately from Freshness Validator calls, so one service never slows down the other.
| Tier | AgentPay requests per minute |
|---|---|
| Early Testing | 60 |
| Growing Product | 120 |
| Scale Revenue | 300 |
| Enterprise | 1,000 |
Questions
What is AgentPay?
AgentPay is a pay-per-call gateway. An AI agent calls a paid API through agentpay.myuiaf.com with its own key; AgentPay adds the API's key on the way out, checks the wallet, and charges only for calls that succeed in time.
When am I charged?
Only when the destination API answers with a 2xx status within the route's time limit. Error responses, timeouts, unreachable APIs and retries with the same Idempotency-Key are not charged.
What does a call cost?
Each route shows its price. Flat routes cost $0.01 per successful call. Pass-through routes cost the API's own price plus 5%, rounded up to the cent.
Does my agent ever see the API's key?
No. Destination API keys are stored encrypted with AES-256-GCM and added to each request server-side. The agent's own key is never forwarded to the API.
Can I retry a call safely?
Yes. Send the same Idempotency-Key: a completed call returns its original response again with no second charge, for 24 hours.
Can I list my own API on AgentPay?
Yes. Routes are added by hand. Contact [email protected] or use the contact form with your API's details.
Have an API agents should pay for?
We add APIs to AgentPay individually. If you run an API and want agents to pay for it per call, or you need an API that isn't listed yet, tell us about it.
Works with Freshness Validator
The same key and wallet work on Freshness Validator, which tells your agent when what it knows has changed at the source.