All AI Data API - Prorate a charge by days
https://allai-api.allaihq.workers.dev/v1/tools/proration_calcOverview
Prorates a charge by days. Give the billing period, the date a plan starts, ends or changes, and the amount; choose actual days or a 30-day month. Returns the fraction, the prorated amount, and for an upgrade or downgrade the credit for the unused part of the old plan, the charge for the new plan and the net due. Counts both the start and end dates of the period. Arithmetic onl $0.005 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.
Health
x402 Payment Validation
Recent Health Checks
| Time | Status | HTTP | Latency | Error |
|---|---|---|---|---|
| 2026-12-05 18:38:18 | healthy | 402 | 372ms | |
| 2026-12-05 17:41:35 | healthy | 402 | 375ms | |
| 2026-12-05 16:40:29 | healthy | 402 | 437ms | |
| 2026-12-05 15:39:10 | healthy | 402 | 394ms | |
| 2026-12-05 14:39:45 | healthy | 402 | 358ms | |
| 2026-12-05 13:38:52 | healthy | 402 | 442ms | |
| 2026-12-05 12:38:41 | healthy | 402 | 361ms | |
| 2026-12-05 11:43:31 | healthy | 402 | 350ms | |
| 2026-12-05 10:39:43 | healthy | 402 | 365ms | |
| 2026-12-05 09:38:14 | healthy | 402 | 404ms | |
| 2026-12-05 08:41:47 | healthy | 402 | 356ms | |
| 2026-12-05 07:38:06 | healthy | 402 | 350ms | |
| 2026-12-05 06:35:37 | healthy | 402 | 1480ms | |
| 2026-12-05 05:36:07 | healthy | 402 | 391ms | |
| 2026-12-05 03:47:38 | healthy | 402 | 344ms | |
| 2026-12-05 02:38:17 | healthy | 402 | 1363ms | |
| 2026-12-05 01:37:13 | healthy | 402 | 361ms | |
| 2026-12-04 22:12:53 | healthy | 402 | 3372ms | |
| 2026-12-03 15:55:42 | healthy | 402 | 4702ms |