XPod Functions pricing

Pay per call, once the free allowance runs out.

Each month includes a free allowance of 1,000,000 calls and 10,000 GB-seconds. Beyond it, two rates apply independently: one for calls, one for memory times duration.

Rates

Two rates, two free allowances

Calls and memory times duration are counted separately, each with its own free allowance.

  • Per call

    Rp0.27/call

    Applies to calls beyond the allowance of 1,000,000 per month.

  • Per GB-second

    Rp0.0432/GB-second

    The function's memory (in GB) times how long it runs (in seconds). Applies beyond the allowance of 10,000 GB-seconds per month.

  • Free allowance each month

    Rp0

    Two allowances that are separate and don't reduce each other.

    • 1,000,000 calls
    • 10,000 GB-seconds

Worked examples

Three scenarios in one month

Calculated with the rates above. Notice that the calls allowance and the memory allowance are used separately.

  • 41,000 calls · 120 ms · 128 MB

    Calls part
    Rp0
    Memory part
    Rp0
    Total
    Rp0
  • 500,000 calls · 1,000 ms · 1,024 MB

    Calls part
    Rp0
    Memory part
    Rp21,168
    Total
    Rp21,168
  • 3,000,000 calls · 200 ms · 256 MB

    Calls part
    Rp540,000
    Memory part
    Rp6,048
    Total
    Rp546,048

Calculator

Work out your own function

Change the numbers and the result is recalculated with the same rates as above.

An estimate of one function's bill for a month, without warm instances.

Total calls in a month.

Average milliseconds until the function finishes.

The memory you set for the function. 1 GB counts as 1,024 MB.

Estimated bill this month

Rp273,888/month

Calls: 1,000,000 over the 1,000,000 free allowance
Rp270,000
Memory × time: 100,000 GB-seconds, 90,000 over the 10,000 allowance
Rp3,888

Rounded up to a whole Rupiah. Warm instances (optional) are not included.

Good to know

How Functions billing is calculated

What a GB-second is
One GB-second is one GB of memory used for one second (1 GB counts as 1,024 MB). A 256 MB function that runs for 200 ms uses 0.05 GB-seconds per call.
Two allowances, counted separately
The calls allowance and the GB-second allowance stand alone. You can go over one while still inside the other.
Warm instances (optional)
Keeping instances warm avoids a slow first call. It is the only charge that runs even with no calls: Rp7,000 per 128 MB of function memory, per warm instance, per month, with no free allowance.
Rounded up
The month's total is rounded up to a whole Rupiah.
Balance
Charges are taken from your XPod balance. To start, the balance must be at least Rp10,000.
Tax and payment fees
The price you see is the price you pay. There is no VAT, and XPod covers payment-method fees.

Get started with XPod Functions

Signing up is free. Top up your balance as needed by virtual account transfer, QRIS, e-wallet, or at a convenience store, then run.

Questions? Write to [email protected]