Billing, holds and settlement
You pay per use, with no monthly fee. The maximum cost of a job is held when you submit it, each answer is settled on its own, and the hold on anything not collected is released. X-Max-Price lets you cap a single request.
How money moves
- Quote. See the maximum before you submit. A quote creates no job and holds nothing.
- Hold. Submitting holds the maximum cost. Held money cannot be spent elsewhere, but it has not been charged.
- Settle. Each answer is settled as soon as it has a result. Charged answers are taken from the hold; the rest goes back to your balance.
- Done. When every answer has a result, nothing remains on hold. The total charged never exceeds the maximum.
On a job, max_charge is the maximum, held is what is still on hold and charged is what has been charged. A submitted job cannot be cancelled, so read the quote first.
Which results are charged
| Result | status | Charged? |
|---|---|---|
| There is an answer | answered | Charged |
| No AI answer appeared | no_answer | Charged; this is a result too |
| The AI declined to answer | refused | Charged |
| Not collected | failed | Not charged; the held amount is released |
| In progress | pending | The cost is on hold, not charged yet |
no_answer and refused are results that were collected, so they are charged. Only an answer that was not collected (failed) is free.
Screenshots and thinking mode cost extra, and only when a screenshot was actually captured or thinking mode was actually used. The maximum cost already includes them.
Set a maximum price
X-Max-Price is the most you are willing to spend on this request, in US dollars. If the request could cost more, it is refused: nothing runs, nothing is held and nothing is charged.
curl https://api.askcrawl.com/v1/answers \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: my-first-job" \
-H "X-Max-Price: 0.02" \
-d '{
"prompts": ["best crm for small business"],
"engines": ["chatgpt.web", "perplexity.web"],
"samples": 3
}'This job can cost at most $0.015, which is within $0.02, so it is submitted. Above the limit you get max_price_exceeded, and its required field says how much the request needs.
- Write the amount as a decimal number of dollars, such as
0.50. - It works when creating a collection job and on every data endpoint. Free endpoints do not accept it.
- Over MCP, the
max_priceargument of theaskandcalltools does the same job. - To cap what a key can spend over time, give it a daily, monthly or total limit in the console. See Authentication.
How data endpoints are charged
Data endpoints such as search results and web page content have a fixed price per call. The price is held when the call starts, charged only if data comes back, and released otherwise.
Whether an empty result is charged differs by endpoint and is stated in the API reference. What a call actually cost is in meta.billing in the response.
Trial credit
New accounts get $0.20 of trial credit, enough for a small test on common platforms. While you are only using trial credit, these limits apply:
| Limit | Trial | After a top-up |
|---|---|---|
| Price per answer | Only platforms at $0.03 or less | Any |
| Unfinished answers | Up to 25 | Up to 2,000 |
| Total on hold | Up to $1 | Up to $500 |
| Data endpoint requests per minute | 60 | 300 |
If trial credit cannot be used on a platform, you get trial_not_available. The limits rise automatically once your first top-up arrives.
Top-ups and balance
- A single top-up is between $10 and $10,000.
- When the balance is too low you get
insufficient_balance; nothing runs and nothing is charged. In the response,requiredis what the request needs,availableis what you have andtop_up_urlis where to add funds. Top up, then send the same request again. - When unfinished answers or the total on hold reach their limit, you get
job_limit_exceeded. Submit again once some answers have finished.
Checking your balance and limits is free:
curl https://api.askcrawl.com/v1/account \ -H "Authorization: Bearer $API_KEY"
balance is what you can spend now, not counting holds, and held is the amount on hold.
When you get an error
An error means nothing was charged. The one exception is settlement_unknown: billing is not known yet, so ask again with the same Idempotency-Key and never a new one. See Idempotency and Errors and charges.