| What | Price |
|---|---|
| A knowledge call: one request that names the booster, or one search | $0.001 |
| Indexing, per million new tokens of your documents | $0.10 |
| Storage, per passage and month | $0.00002 |
- In short: $0.001 per knowledge call, $0.10 per million embedded tokens for indexing, and $0.00002 per passage (chunk) a month for storage, billed on the monthly storage bill; the free tier includes 200 passages and 250,000 indexing tokens a day.
- A call is billed once per request, whatever it reads, a request with
top_k: 0(pinned documents only) included. A booster that timed out, failed or found no ready document is not billed, nor is a request the safety check refused. The passages' tokens are input tokens at the model's price. - Indexing is billed for the tokens of new text only: re-sending the same text, changing a pin, a reference or metadata, and a
PUTback to a text already indexed cost nothing. - Storage is a monthly fee per passage: every document stored at any time in a month pays for the passages it last held that month, with no proration, a document deleted during the month included. It is charged on the 1st of the next month on the same storage bill as your face collections, from your balance or on a dedicated workspace's invoice.
- The free tier includes 200 stored passages and 250,000 indexed tokens a day, renewed at 00:00 UTC, so you can try knowledge with a real policy at no cost. A new document version is free when it fits both; otherwise it is billed whole. Knowledge calls count against the free tier's daily booster calls like any booster. Past the allowance, a write the balance cannot pay is
402insufficient_creditwithdetails.reasonfree_text_chunksorfree_text_tokensandresets_at. - An unpaid storage bill follows the same rule as for face collections: the charge is retried and the workspace's owner and admins are emailed, and after the last retry every stored item of the workspace's collections, your documents included, is marked for deletion 30 days later and then deleted.
- The console's Usage page shows knowledge storage, indexing and calls with their cost, and each folder shows its passages and this month's storage.
Exporting#
- Every document's text: list the documents with
GET .../items, then read each withGET .../: the stored text, exactly what the citations' offsets point into. For a file, that is the text read from it; the file itself is not kept, so keep your own copy of the originals.items/ {item_id}?include=text - Its passages:
GET .../lists them with their headings, offsets and text.items/ {item_id}/ chunks - Always open. Reading and exporting work whatever your balance, and even when knowledge is turned off for your workspace.
Deleting#
- A document:
DELETE .../items/{item_id}deletes its text and its passages at once, and its file if one is still kept. - A knowledge base:
DELETE https://api.decisionnode.com/deletes it and everything in it. A small one is gone within 10 seconds and answersv1/ collections/ {id} {"id", "deleted": true}; a large one answers202with"status": "purging"and finishes in the background, no longer readable from that moment. - Always allowed, whatever your balance or settings, and never undone: there is no recycle bin.
- Storage already used is billed: a document stored at any time in a month pays that month.