Cost Guide
On-Chain Monitoring Costs
CORTX runs real payments through your x402 endpoint — that means real USDC on Base mainnet leaves your wallet on every check. This guide explains exactly what costs money, how to calculate your expected spend, and how to keep it under control.
What Costs Money
Only one stage in the 7-stage pipeline triggers an actual payment: payment. All other stages are free HTTP calls or local computation.
availabilityHTTP GET — freeFREEpayment_termsReads 402 response header — freeFREEprice_checkLocal comparison — freeFREEpaymentSigns & submits EIP-3009 USDC transfer — costs the endpoint priceCOSTSdeliveryHTTP GET with X-Payment header — free (payment already sent)FREEjson_parseLocal parse — freeFREEschema_validationLocal AJV validation — freeFREEpayment) or earlier, no payment is sent. If it fails at stages 5–7 after a successful payment, the USDC has already left your wallet — the endpoint received it.Cost Matrix
Your total cost = endpoint price × checks per day. Use this table to plan your wallet balance before enabling a service.
| Price / call | Interval | Calls/day | Daily cost | Monthly cost |
|---|---|---|---|---|
| $0.01 | 5 min | 288 | $2.88 | $86.40 |
| $0.01 | 10 min | 144 | $1.44 | $43.20 |
| $0.01 | 15 min | 96 | $0.96 | $28.80 |
| $0.01 | 30 min | 48 | $0.48 | $14.40 |
| $0.05 | 5 min | 288 | $14.40 | $432.00 |
| $0.05 | 15 min | 96 | $4.80 | $144.00 |
| $0.05 | 30 min | 48 | $2.40 | $72.00 |
| $0.10 | 5 min | 288 | $28.80 | $864.00 |
| $0.10 | 15 min | 96 | $9.60 | $288.00 |
| $0.10 | 60 min | 24 | $2.40 | $72.00 |
| $1.00 | 60 min | 24 | $24.00 | $720.00 |
| $5.00 | 60 min | 24 | $120.00 | $3.6k |
Spend Caps
CORTX enforces cumulative caps across all your services. When a cap is hit, checks are skipped silently — no incident opens — and resume automatically when the cap resets.
CORTX_DAILY_SPEND_CAP_USDCCORTX_MONTHLY_SPEND_CAP_USDCOverride caps by setting the env vars in your Vercel project settings. For example, to allow $5/day and $50/month:
CORTX_DAILY_SPEND_CAP_USDC=5.00 CORTX_MONTHLY_SPEND_CAP_USDC=50.00
Wallet Planning
Your CORTX test wallet should hold enough USDC to cover at least a few days of checks — ideally a full month if you want zero interruptions.