Pricing
Pay for CPU, not for waiting.
Every plan starts with 600 free CPU-seconds a month. After that, you pay only for the CPU time your programs use.
Free
For trying the API and small projects.
$0forever
- 600 CPU-seconds a month
- Timeouts up to 5 s
- 64 MB memory, 60M steps
- 60 requests a minute
- 4 evaluations in flight
Pay as you go
Price coming soonFor production traffic. Same 600 free CPU-seconds, then billed by use.
Meteredper CPU-second
- 600 CPU-seconds included each month
- Then billed per CPU-millisecond
- Timeouts up to 10 s
- 128 MB memory, 120M steps
- 300 requests a minute
- 8 evaluations in flight
- Hard cap at 10 CPU-hours a month
01Metering
Rounded up to the millisecond.
Each response reports stats.cpu_ms. That's the number you're billed on, rounded up, with a 1 ms minimum.
charged_ms = max(1, ceil(cpu_ms))
| cpu_ms | charged |
|---|---|
| 0.04 | 1 ms |
| 1.00 | 1 ms |
| 12.3 | 13 ms |
| 840.7 | 841 ms |
02Limits
Every limit, per plan.
The playground in the app and the try-it box on this site run with their own, tighter limits.
| Limit | Free | Pay as you go | Playground | Try-it demo |
|---|---|---|---|---|
| Wall-clock timeout | 1 s default, 5 s max | 1 s default, 10 s max | 1 s | 500 ms |
| Steps | 60M | 120M | 2M | 1M |
| Memory | 64 MB | 128 MB | 32 MB | 16 MB |
| Integer size | 100k bits | 100k bits | 20k bits | 10k bits |
| Compound expressions | No cap | No cap | 200 | 50 |
| Source size | 64 KB | 64 KB | 16 KB | 4 KB |
| Output (stdout) | 64 KB | 64 KB | 16 KB | 4 KB |
| Printed value, per result | 16 KB | 16 KB | 8 KB | 2 KB |
| Rate limit | 60 / min per key | 300 / min per key | 20 runs / min | 10 / min, 100 / day per IP |
| Concurrent requests | 4 per account | 8 per account | – | – |
| Monthly CPU | 600 s | 600 s included, 10 h cap | Not metered | Not metered |
03Questions
Billing, answered.
- What counts as CPU time?
- The CPU time of the process that runs your program. Time spent waiting for a free slot, or anything else that isn't your program running, isn't counted.
- Do failed programs cost anything?
- They're charged the CPU time they used before they failed, the same as a program that finished. Requests turned away before running, like a 401 or a 429, cost nothing.
- What happens when the free allowance runs out?
- On the free plan, API calls get 429 cpu_quota_exceeded until the start of the next UTC month. On pay as you go, usage keeps going and is billed, up to 10 CPU-hours a month.
- Is the playground metered?
- No. Runs in the app's playground and the try-it box on this site have their own, tighter limits and aren't billed.
- When is pay as you go billed?
- Usage is reported to Stripe daily and invoiced monthly, on a cycle that starts on the 1st, so invoices line up with the monthly allowance.