Billing
Calls and prices
What a call is, the price list with its ids, and when a call is charged.
The prices, with a Subscribe button on each plan, are on the price page.
In short
- One solve of one street is one call: 1 credit, whatever the street, the iterations or the accuracy mode. The API counts calls in fields named
credits. - Buy calls with a monthly plan, or pay per call in packs. What you buy works at once with a live key: see Go live.
- A solve that fails is not charged. A refused request, a test key and every read cost nothing.
- The API is for businesses: an account needs a company name, and the payment page asks for the company's address and tax number.
The price list
There are two ways to buy calls. A monthly plan includes calls at the lowest price. Pay per call needs no plan: you buy calls in packs at a higher price for each call.
Calls that are not used stay on the account. This list is live from GET /v1/pricing.
The fields of GET /v1/pricing
In GET /v1/pricing, amount is in cents, and overage_cents is the price of one call above the plan in cents (it can be 2.5). The route takes no key and shows the pack prices without a plan. The console shows the prices your account pays.
On the price page
What will it cost?
Three worked examples for a service that studies 1,500 flop spots a month are on the price page: What will it cost?
When the calls of a plan are used
Calls above the plan are not billed automatically: you buy a pack at your plan's price for a call above the plan. The price page says how: When the calls of a plan are used.
Look it up
Is this call charged?
every case, in one table
| What happens | Charged | Note |
|---|---|---|
| A solve is sent to the solver | Yes, 1 call | At the moment it is sent (queued), one solve at a time. A request with expand is not charged in advance. |
| A solve fails | No | The call is returned, as a refund line in the ledger. |
| A request is refused (any 4xx or 5xx answer) | No | Nothing ran. |
A solve waits (pending) | No | It is charged when it is sent. |
| You cancel while a solve waits | No | The solve becomes cancelled. |
| You cancel while a solve runs | Yes | The solve finishes and its result can be read. |
| The request stops at its budget or at the end of your calls | Only what ran | The other solves are skipped. |
| The same spot again | Yes | Each send is a new solve. Keep the results you need. |
A repeat with the same Idempotency-Key and body | No | You get the first answer again, for 24 hours. |
| A test key | No | Never. |
| Estimate, tree preview, warm-up | No | POST /v1/estimates, POST /v1/trees, POST /v1/warmup. |
| Reading: status, result, nodes, exits, children, account, ledger | No | Every GET is free. |
| A cold start | No extra | The solve costs 1 call, as always. |