:00, :15, :30, :45. Within each interval, the minimum
commitment is 4 GB for 15 minutes — that is, 1 GB-hour. All
reservations must be multiples of 4 GB per interval; anything smaller
isn't a meaningful commitment unit and the API rejects it.12345678910111213curl -X POST https://app.opencomputer.dev/api/capacity/reservations \ -H "X-API-Key: $OPENCOMPUTER_API_KEY" \ -H "Idempotency-Key: demo-1" \ -H "Content-Type: application/json" \ -d '{ "intervals": [ { "startsAt": "2026-04-29T02:00:00Z", "endsAt": "2026-04-29T02:15:00Z", "capacityGb": 16 } ] }'
1234567891011{ "reservationId": "9f67b8f7-7b91-4d2d-b1cb-19d0d0a14562", "createdAt": "2026-04-28T18:00:05Z", "intervals": [ { "startsAt": "2026-04-29T02:00:00Z", "endsAt": "2026-04-29T02:15:00Z", "capacityGb": 16 } ] }
| On-demand (instant) | Reserved (pre-booked) | |
| Rate | $0.060/GB-hour | $0.012/GB-hour |
| Commitment | None | Full — you pay regardless of usage |
| Availability | Subject to platform headroom | Guaranteed for the interval you booked |
| Best for | Unpredictable or bursty workloads | Nightly batch jobs, scheduled runs, known traffic patterns |
/api/capacity/*.